• bug wrangling: strict ordering of 'affects' during merges?

    From James Addison@21:1/5 to All on Fri Feb 17 16:00:01 2023
    Hi folks,

    I'm learning the Debian BTS and control operations, and am trying to
    merge three RC bugs that relate to a common cause (#1031293, #1031443, #1031449).

    It seems difficult to get the order of the 'affects' list to match in
    each of the bugs, seemingly a requirement for them to merge
    successfully - I've spent a little over an hour attempting various
    combinations of +, - and = operations using "Control: affects" headers
    to try to get a match.

    The latest error from BTS was:

    Unable to merge bugs because:
    affects of #1031293 is 'src:python-scrapy,src:python-zstandard,src:rpmlint,src:libzstd' not 'src:rpmlint,src:python-scrapy,src:python-zstandard,src:libzstd'

    Is it necessary to use a strict ordering check for the 'affects'
    field? And/or am I doing something stupid? (other than trying to
    help with bugs that aren't marked 'help', which I admit may be causing nuisance)

    Thanks,
    James

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Russ Allbery@21:1/5 to James Addison on Fri Feb 17 18:20:01 2023
    James Addison <jay@jp-hosting.net> writes:

    I'm learning the Debian BTS and control operations, and am trying to
    merge three RC bugs that relate to a common cause (#1031293, #1031443, #1031449).

    It seems difficult to get the order of the 'affects' list to match in
    each of the bugs, seemingly a requirement for them to merge
    successfully - I've spent a little over an hour attempting various combinations of +, - and = operations using "Control: affects" headers
    to try to get a match.

    Generally for stuff like this just use forcemerge, which sets the metadata
    of all of the other bugs to match the first one. I usually only try one
    round of merge fixing before resorting to forcemerge for fiddly little disagreements like this.

    --
    Russ Allbery (rra@debian.org) <https://www.eyrie.org/~eagle/>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From James Addison@21:1/5 to Russ Allbery on Fri Feb 17 19:10:01 2023
    On Fri, 17 Feb 2023 at 17:17, Russ Allbery <rra@debian.org> wrote:
    Generally for stuff like this just use forcemerge, which sets the metadata
    of all of the other bugs to match the first one.

    Thank you, Russ - forcemerge worked, and the bugs are now merged.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)