summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-12-04 18:23:29 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-12-04 18:23:29 +0000
commit7e5b03bd30bda30487fa2b69affff84da83d6f90 (patch)
tree7a47e66075d23f0eed5ae7a909245d85d064de03
parent780ed3b1fd2900ec62e58ab88e6db7e7fce69b3a (diff)
downloadimport-7e5b03bd30bda30487fa2b69affff84da83d6f90.tar.gz
Add TODO item and update README
-rw-r--r--README4
-rw-r--r--TODO5
2 files changed, 9 insertions, 0 deletions
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.