#9737 Please delete various accidental branches in dist-git
Closed: Fixed 3 years ago by mohanboddu. Opened 3 years ago by churchyard.

I see @pingou is deleting accidental branches, so here is my (rather long) list :)

  • rpms/fedora-obsolete-packages python2-pillow-devel
  • rpms/marshalparser ci
  • rpms/python-pip nightly
  • rpms/python-setuptools nightly
  • rpms/python-wheel nightly
  • rpms/python3 nightly, platform_python_srpm, private-torsava-master, rpmlint-issues-cleanup, sudo_pip_install_prefix
  • rpms/Cython bundled-tempita, classmethod-fixes, classmethod-workaround

Thank you.


Cannot delete nightly branches of python-pip, python-setuptools, python-wheel, python3

$ ./scripts/distgit-branch-unused.py --repo ~/fedpkg/python-pip/ nightly                      917ms  Fri 04 Sep 2020 10:00:16 PM UTC
Checking package python-pip in /home/mboddu/fedpkg/python-pip
Branch nightly not found in bodhi, checking if branch matches pattern...
...no match, seems OK to remove
Branch has commits not found anywhere else. Looking for builds.
0: f61b997 dgroc bump
Sorry, f61b997d2f21b976e1d5457ca4ad342f0cd41d5e has Name:%{?scl_prefix}python-%{srcname}, refusing to continue.

$ ./scripts/distgit-branch-unused.py --repo ~/fedpkg/python-setuptools/ nightly              2039ms  Fri 04 Sep 2020 10:00:50 PM UTC
Checking package python-setuptools in /home/mboddu/fedpkg/python-setuptools
Branch nightly not found in bodhi, checking if branch matches pattern...
...no match, seems OK to remove
Branch has commits not found anywhere else. Looking for builds.
Warning: build python-setuptools-0.6c5-1.fc7 from 2007-05-02 18:51:34.998645+00:00 has no source, ignoring.
Warning: build python-setuptools-0.6c6-1.el4 from 2009-06-20 05:23:32.907282+00:00 has no source, ignoring.
Warning: build python-setuptools-0.6c7-1.el4 from 2009-06-20 05:23:35.432223+00:00 has no source, ignoring.
Warning: build python-setuptools-0.6c7-1.el5 from 2009-06-20 09:43:21.079577+00:00 has no source, ignoring.
0: 20e1a94 dgroc bump
Sorry, 20e1a94070b09a15acd94c75c661a44c88f451e3 has Name:%{?scl_prefix}python-setuptools, refusing to continue.

$ ./scripts/distgit-branch-unused.py --repo ~/fedpkg/python-wheel/ nightly                   3157ms  Fri 04 Sep 2020 10:01:19 PM UTC
Checking package python-wheel in /home/mboddu/fedpkg/python-wheel
Branch nightly not found in bodhi, checking if branch matches pattern...
...no match, seems OK to remove
Branch has commits not found anywhere else. Looking for builds.
0: 295805a SCL
Sorry, 295805ab8bb1ec95d200acd74802e9ccadbc7fa7 has Name:%{?scl_prefix}python-%{pypi_name}, refusing to continue.

$ ./scripts/distgit-branch-unused.py --repo ~/fedpkg/python3/ nightly                         983ms  Fri 04 Sep 2020 10:05:30 PM UTC
Checking package python3 in /home/mboddu/fedpkg/python3
Branch nightly not found in bodhi, checking if branch matches pattern...
...no match, seems OK to remove
Branch has commits not found anywhere else. Looking for builds.
0: d9f0c43 Merge branch 'master' into nightly
Sorry, d9f0c430ff5c37bf2aaeee8e572e51879b15f99c has Name:%{?scl_prefix}python3, refusing to continue.

@pingou I cant see the refs for

rpms/fedora-obsolete-packages python2-pillow-devel
rpms/python3 platform_python_srpm, private-torsava-master, rpmlint-issues-cleanup, sudo_pip_install_prefix

Metadata Update from @pingou:
- Assignee reset

3 years ago

@mohanboddu since you've started on it, I'm leaving the ticket to you :)

Metadata Update from @mohanboddu:
- Issue tagged with: medium-gain, medium-trouble, ops

3 years ago

rpms/fedora-obsolete-packages python2-pillow-devel

It's in the packed-refs file, somehow the repo/refs has been packed

I've done:

$ grep pillow packed-refs 
90e3eabb110ce9fa4e80e250dbb509d76a7a6275 refs/heads/python2-pillow-devel
$ grep pillow packed-refs > heads_python2-pillow-devel
$ vim heads_python2-pillow-devel  # keep only the hash to be consistent with the other heads_* files
$ vim packed-refs  # delete the line with the heads to python2-pillow-devel

@churchyard Still not allowing me to delete the nightly branches for python-wheel, python-setuptools and python-wheel

$ ./scripts/distgit-branch-unused.py --repo ~/fedpkg/python-wheel/ nightly                   1931ms  Tue 08 Sep 2020 07:17:03 PM UTC
Checking package python-wheel in /home/mboddu/fedpkg/python-wheel
Branch nightly not found in bodhi, checking if branch matches pattern...
...no match, seems OK to remove
Branch has commits not found anywhere else. Looking for builds.
0: 295805a SCL
1: 1c30dd3 Do not copy non existing sources
Sorry, 1c30dd36f6f1f8514778e6edddad96dfd42d5e6d has Name: python35-wheel, refusing to continue.

$ ./scripts/distgit-branch-unused.py --repo ~/fedpkg/python-setuptools/ nightly               281ms  Tue 08 Sep 2020 07:17:32 PM UTC
Checking package python-setuptools in /home/mboddu/fedpkg/python-setuptools
Branch nightly not found in bodhi, checking if branch matches pattern...
...no match, seems OK to remove
Branch has commits not found anywhere else. Looking for builds.
Warning: build python-setuptools-0.6c5-1.fc7 from 2007-05-02 18:51:34.998645+00:00 has no source, ignoring.
Warning: build python-setuptools-0.6c6-1.el4 from 2009-06-20 05:23:32.907282+00:00 has no source, ignoring.
Warning: build python-setuptools-0.6c7-1.el4 from 2009-06-20 05:23:35.432223+00:00 has no source, ignoring.
Warning: build python-setuptools-0.6c7-1.el5 from 2009-06-20 09:43:21.079577+00:00 has no source, ignoring.
0: 20e1a94 dgroc bump
1: 4ba5cd6 dgroc bump
2: c3b8960 Boostrapping
3: 14219a6 zero prefixed relese
4: 1997fb6 Working SCL
5: ab66e79 SCL
6: d6301e5 Be less sctrict in the version used when wheeling
Sorry, d6301e566886f53f95471b9d4155ff7b39b20258 has Name: python35-setuptools, refusing to continue.

$ ./scripts/distgit-branch-unused.py --repo ~/fedpkg/python-pip/ nightly                     2097ms  Tue 08 Sep 2020 07:17:42 PM UTC
Checking package python-pip in /home/mboddu/fedpkg/python-pip
Branch nightly not found in bodhi, checking if branch matches pattern...
...no match, seems OK to remove
Branch has commits not found anywhere else. Looking for builds.
0: f61b997 dgroc bump
1: 90a19b9 dgroc bump
2: 6aae47b Bootstrapping
3: 5e67d56 SCL
4: 4425f8d Be less sctrict in wheel version in filename
Sorry, 4425f8db4acd9beedbc716746c33d24fd225eb98 has Name: python35-pip, refusing to continue.

Closing the ticket, please reopen if it still needs some fixes.

Thanks.

Metadata Update from @mohanboddu:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

3 years ago

Thanks for deleting the branches! My OCD is happy :beers:

Still not allowing me to delete the nightly branches for python-wheel, python-setuptools and python-wheel

I see the problem and I will see if this is a fixable problem or if we need to keep the branches forever due to my previous poor judgement :)

Login to comment on this ticket.

Metadata
Boards 1
Ops Status: Done