~brian-murray/ubuntu-archive-tools/sort-series

« back to all changes in this revision

Viewing changes to sru-release

  • Committer: Steve Langasek
  • Date: 2017-10-19 03:17:10 UTC
  • mfrom: (1114.2.1 ubuntu-archive-tools)
  • Revision ID: steve.langasek@canonical.com-20171019031710-npro9rqf5voqo65k
MergeĀ lp:~apw/ubuntu-archive-tools/esm-dest-archive-security

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
            if pocket in pub.pocket:
123
123
                versions[pub.source_package_name]['changesfile'] = (
124
124
                    pub.changesFileUrl())
 
125
        # When the destination archive differs from the source scan that too.
 
126
        if dst_archive != src_archive:
 
127
            for pub in dst_archive.getPublishedSources(
 
128
                    source_name=match.source_package_name, exact_match=True,
 
129
                    status='Published', distro_series=series):
 
130
                key = 'security' # pub.pocket.lower()
 
131
                versions[pub.source_package_name][key] = (
 
132
                    pub.source_package_version)
 
133
                if pocket in pub.pocket:
 
134
                    versions[pub.source_package_name]['changesfile'] = (
 
135
                        pub.changesFileUrl())
 
136
            
125
137
        # devel version
126
138
        if devel_series:
127
139
            for pub in src_archive.getPublishedSources(