Thanks, James MacMahon.
* upgrade: Handle upgrade to v6 when the repository already contains
v6 unlocked files whose content is already present.
* Improve style of offline html build of website.
+ * importfeed: Drop URL parameters from file extension.
+ Thanks, James MacMahon.
-- Joey Hess <id@joeyh.name> Mon, 17 Oct 2016 12:46:54 -0400
performDownload :: ImportFeedOptions -> Cache -> ToDownload -> Annex Bool
performDownload opts cache todownload = case location todownload of
Enclosure url -> checkknown url $
- rundownload url (takeExtension url) $ \f -> do
+ rundownload url (takeWhile (/= '?') $ takeExtension url) $ \f -> do
r <- Remote.claimingUrl url
if Remote.uuid r == webUUID || rawOption opts
then do
if Remote.uuid r == webUUID || rawOption opts
then do
+> Hmm, didn't cleanly apply for some reason. And, `takeWhile (/= '?')` is a
+> simpler way to do that. Thank you for the bug report and patch; [[done]] --[[Joey]]