~xnox/britney/ignore-udebs

Viewing all changes in revision 336.

  • Committer: Iain Lane
  • Date: 2020-07-30 08:37:36 UTC
  • Revision ID: iain.lane@canonical.com-20200730083736-g374gvigcbr04fq6
Revert r333

The partial source suite idea doesn't work, and without this we're considering
release ONLY when dealing with stables.

This might need a bit more work, I'm not sure if proposed-migration will do the
right thing in all cases, let's see for a bit. If necessary we might need a
proper merge here:

  sources = read_sources_into_dict(release)
  update_sources = read_sources_into_dict(updates)
  for source in update_sources:
    sources[source] = update_sources[source]

  binaries = read_binaries(release)
  update_binaries = read_binaries(updates)

  for source, source_bins in group_binaries_by_source(update_binaries):
    # filter out binaries from this source
    binaries = {k:v for k, v in binaries if v.source != source}
    binaries |= source_bins

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: