From 7e5b03bd30bda30487fa2b69affff84da83d6f90 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Thu, 4 Dec 2014 18:23:29 +0000 Subject: Add TODO item and update README --- README | 4 ++++ TODO | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/README b/README index 64af567..9c4fca0 100644 --- a/README +++ b/README @@ -113,3 +113,7 @@ This means that 'Lorry' has tried to pull an invalid Github URL. The .lorry entry for the current package lists the wrong URL. This may be due to bad metadata, an error in the .to_lorry program (check the log file), or a wrong URL in a .lorry file because someone wrote it wrong. + +The TODO file notes that if the .to_lorry program tried fetching the URL first +and detecting if it returns a 404 'not found' error then we wouldn't hit this +problem. diff --git a/TODO b/TODO index 03049b1..b2a4601 100644 --- a/TODO +++ b/TODO @@ -17,3 +17,8 @@ the version number'. It'd be nice if this were possible. Doing this on the commandline would get overly verbose, but it'd be possible to add a section in the config file such as [ref-overrides] and allow the user to list them there. + +If the .to_lorry program tried fetching the URL first and detecting if it +returns a 404 'not found' error then we wouldn't hit the problem of seeing a +'Username for 'https://github.com':' prompt for invalid URLs in .lorry files +as much. -- cgit v1.2.1