#8692 Cleanup development branches KDSoap
Closed: Fixed 3 years ago by pingou. Opened 4 years ago by caspermeijn.

Describe what you would like us to do:

Remove branches kdsoap-1.9.0 and kdsoap-1.9 from https://src.fedoraproject.org/rpms/kdsoap

These were development branches, but I am not able to delete them. Apparently this is not the correct workflow ;-)


When do you need this to be done by? (YYYY/MM/DD)

No hurry, this is just cleanup.



Metadata Update from @cverna:
- Issue priority set to: Waiting on Assignee (was: Needs Review)

4 years ago

Metadata Update from @cverna:
- Issue assigned to churchyard

4 years ago

I don't have any rights to do so yet. Will need to figure that out first.

That was my problem as well ;-)

Metadata Update from @cverna:
- Assignee reset

3 years ago

Checking these branches using the releng's script:

$ python ~/repos/gitrepo/releng/scripts/distgit-branch-unused.py kdsoap-1.9.0 --repository .
Checking package kdsoap in .../kdsoap
Branch kdsoap-1.9.0 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: 5f19a2d Update to KDSoap 1.9.0
1: 226efd1 Remove RPath patch
2: ae5e438 Disable building examples
3: b81dc99 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_
Commit b81dc99aa75fb71880966a0d77645eb13ec889fe referenced from refs/heads/master. Stopping iteration.
No builds found, seems OK to delete.
$ python ~/repos/gitrepo/releng/scripts/distgit-branch-unused.py kdsoap-1.9 --repository .
Checking package kdsoap in .../kdsoap
Branch kdsoap-1.9 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: 447ac7c SNAPSHOT: Update to 1.8.50.20191113git2e2cf6e
1: 6d41ca4 Remove RPath patch
2: ae5e438 Disable building examples
Commit ae5e43863412efa841ef6ff090a928f863550b92 referenced from refs/heads/kdsoap-1.9.0. Stopping iteration.
No builds found, seems OK to delete.

So it looks like we can go ahead and remove these branches

Seeing that kdsoap-1.9 refers to kdsoap-1.9.0, we may need to start with -1.9.0 and re-run the script before deleting -1.9.

If I locally delete the -1.9.0 branch and re-run the script, I get:

$ python ~/repos/gitrepo/releng/scripts/distgit-branch-unused.py kdsoap-1.9 --repository .
Checking package kdsoap in .../kdsoap
Branch kdsoap-1.9 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: 447ac7c SNAPSHOT: Update to 1.8.50.20191113git2e2cf6e
1: 6d41ca4 Remove RPath patch
2: ae5e438 Disable building examples
3: b81dc99 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_
Commit b81dc99aa75fb71880966a0d77645eb13ec889fe referenced from refs/heads/master. Stopping iteration.
No builds found, seems OK to delete.

So looks good

Done server side:

mv refs/heads/kdsoap-1.9 heads_kdsoap-1.9
mv refs/heads/kdsoap-1.9.0 heads_kdsoap-1.9.0

Checked locally:

$ git fetch -p
From ssh://pkgs.fedoraproject.org/rpms/kdsoap
 - [deleted]         (none)     -> origin/kdsoap-1.9
 - [deleted]         (none)     -> origin/kdsoap-1.9.0

I think we can close :)

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

3 years ago

Login to comment on this ticket.

Metadata