diff options
-rw-r--r-- | Command/ImportFeed.hs | 3 | ||||
-rw-r--r-- | debian/changelog | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Command/ImportFeed.hs b/Command/ImportFeed.hs index 5afbb192a..46e1b6dbe 100644 --- a/Command/ImportFeed.hs +++ b/Command/ImportFeed.hs @@ -219,8 +219,7 @@ performDownload opts cache todownload = case location todownload of | otherwise = a knownitemid = case getItemId (item todownload) of - -- only when it's a permalink - Just (True, itemid) -> S.member itemid (knownitems cache) + Just (_, itemid) -> S.member itemid (knownitems cache) _ -> False rundownload url extension getter = do diff --git a/debian/changelog b/debian/changelog index e8064900b..4ffbf1151 100644 --- a/debian/changelog +++ b/debian/changelog @@ -20,6 +20,11 @@ git-annex (5.20150714) UNRELEASED; urgency=medium * sync --content: Fix bug that caused files to be uploaded to eg, more archive remotes than wanted copies, only to later be dropped to satisfy the preferred content settings. + * importfeed: Improve detection of known items whose url has changed, + and avoid adding redundant files. Where before this only looked at + permalinks in rss feeds, it now also looks at guids. + * importfeed: Look at not only permalinks, but now also guids + to identify previously downloaded files. -- Joey Hess <id@joeyh.name> Fri, 10 Jul 2015 16:36:42 -0400 |