fedora-infra / bodhi

Bodhi is a web-system that facilitates the process of publishing updates for a Fedora-based software distribution.
https://bodhi.fedoraproject.org
GNU General Public License v2.0
155 stars 196 forks source link

bodhi-push's --builds flag selects all builds from the given build's release #2737

Closed bowlofeggs closed 5 years ago

bowlofeggs commented 5 years ago

It seems that the --builds flag got broken by recent changes to bodhi-push:

$ sudo -u apache bodhi-push --username bowlofeggs --builds python-rpdb-0.1.6-11.fc28                                                                                                 

===== <Compose: F28 testing> =====

imaptest-20170719-4.fc28
libxcrypt-4.3.3-1.fc28
python-slugify-1.2.6-1.fc28
kde-connect-1.3.3-1.fc28
libgpiod-1.1.2-1.fc28
babl-0.1.60-1.fc28 gegl04-0.4.12-1.fc28
python-regex-2018.11.07-1.fc28
CheMPS2-1.8.9-1.fc28
python-deepdiff-3.3.0-3.fc28
psi4-1.2.1-2.b167f47.fc28
jupp-38-1.fc28
nordugrid-arc-5.4.3-1.fc28 nordugrid-arc-doc-2.0.20-1.fc28
python-rpdb-0.1.6-11.fc28

Push these 13 updates? [y/N]: N
Aborted!

Only the python-rpdb-0.1.6-11.fc28 update should have been selected.

bowlofeggs commented 5 years ago

False alarm: In order to test, I had to delete existing Compose objects that came over from a production sync, and I forgot to mark the associated Update objects as unlocked, so they were just matching the query.