Bug#751808: ‘merge’ should not care about the order of blocking bugs

Ben Finney <[email protected]> Fri, 23 Feb 2018 13:00:30 +1100
Newsgroups gmane.linux.debian.devel.debbugs
Message-ID <[email protected]>
Control: retitle -1 ‘merge’ should not care about the order of blocking bugs

On 16-Jun-2014, Mattia Rizzolo wrote:
> […]
> <mapreri> In my opinion both: forcemerge shouldn't care of order and
> the bugs should be ordered, but that's up to you, from my point of
> view the important bit is: "it must work" :)
> <dondelelcaro> mapreri: yeah; that's how it should work. Please file
> a bug against debbugs so I have a record of it
> <mapreri> dondelelcaro: ok.

This applies to ‘merge’ primarily (and ‘forcemerge’ has the problem
just because it uses ‘merge’). Re-titling this bug report.

An example of an error report from a ‘merge’ command:

> Bug #843021 [wnpp] ITP: node-yarnpkg -- a fast, reliable and secure npm
> Unable to merge bugs because:
> blockedby of #863704 is '886873 886844 886849 886866 886843' not '886849 886866 886843 886844 886873'
> Failed to merge 843021: Did not alter merged bugs.

The ‘blockedby’ and ‘block’ sets are the same, ignoring order. The
‘merge’ command should ignore the order of items in those sets, when
comparing the sets.

-- 
 \      “He that would make his own liberty secure must guard even his |
  `\                             enemy from oppression.” —Thomas Paine |
_o__)                                                                  |
Ben Finney <[email protected]>
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEoaELxsJFHaxC07KLDqWsb2XR8fcFAlqPdbIACgkQDqWsb2XR
8fdcug/+PNW6/nWK/OF+0GG5XfsaQVEyPSE19h6SalvEnO40m8S66RqBg98OXIXR
D29ffbPHDFFz7JZnZAKvBmy8GTkNw/LhUjSw/y3MJziBEw22mx3y0lvF2VS9iYYS
PW8/ZnbUgZWhO0CwzSZgP1WXlHotYnCZtYolKKt+Ggptlh5ULReg6O87NwhG5ap+
N6+ww84QXa19MUC0pSqbc/VC+rWCLmx2HZ5o5wySCsIa3CgWnU775nIlITlcVtR/
GOhr0srGY7kRmd9i0TCy1Dk5/k4AMtQGKxhpW5JFRabbi6hVmlRUIlv1LykdXCcS
uOdp99Oz5jV4RC1kDQMXuGPqEPwAFvvFxy9nG08J6AQnhu++btKgDEwEsAM6mVvT
W6JzklEWqmqSWUMsv1ItIn16V0SXWV9HH996lZfLjESlIJKL7fcuKH8iURD2VQSQ
s4TmrDbd91KxMxBUlkzdkH5TA2rTslZVpAifJIBF5j2XdVgw+7Lu5JB6MjBE4IMH
pV5e5iXM/IFOTw1Ei340NffzEio5GC4eoWZAr3OIkPgH/G+iJvr2IWEQDsJ4gnVU
4GSL7n+DkAxctQc4diIqb83q1gtjIHsGwKtqMz5GbSBb6iJUsr++5QjIy5ZP65YD
MkNS7ss7i68bvYbY4iOUHsbMotZVNXksZKa2qU2kGu5IozRPQyQ=
=UYDg
-----END PGP SIGNATURE-----