tadd missing Release headers that don't force backports - amprolla - devuan's apt repo merger HTML git clone git://parazyd.org/amprolla.git DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit 22ec2a3634b8eee640a335e8d9f28754509e7024 DIR parent 94cbcd4db7b57cd0ce3d6ceab7b9c804ee2489c1 HTML Author: parazyd <parazyd@dyne.org> Date: Sun, 22 Oct 2017 12:59:09 +0200 add missing Release headers that don't force backports also make the Release header splitter a separate variable - this can be useful when debian decides to drop md5 Diffstat: M lib/config.def.py | 4 +++- M lib/parse.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/config.def.py b/lib/config.def.py t@@ -186,7 +186,9 @@ release_keys = [ 'Valid-Until', 'Architectures', 'Components', - 'Description' + 'Description', + 'NotAutomatic', + 'ButAutomaticUpgrades', ] packages_keys = [ DIR diff --git a/lib/parse.py b/lib/parse.py t@@ -56,11 +56,13 @@ def parse_release_head(reltext): contents = reltext.split('\n') + splitter = 'MD5Sum:' + md5sum = False for line in contents: if md5sum is True: break - elif line.startswith('MD5Sum:'): + elif line.startswith(splitter): md5sum = True else: k = line.split(': ')[0]