#9644 rpms/python3 weird branch situation
Closed: Fixed 4 years ago by pingou. Opened 4 years ago by churchyard.

I've noticed several things about https://src.fedoraproject.org/rpms/python3

The package is retired on Fedora 33+ and was retired before the master to rawhide switch.

Other retired packages suffer from similar problems:

  • python2
  • python-epel-rpm-macros

But others don't:

  • python27
  • python26

Could it be that this package/these packages had no master branch?

Ok, I think I found it, the issue was that the master branch had been removed from the packed-refs file but the rawhide branch seems to not have been created from that ref. Since we backed up the ref that the master branch was at. I've simply created the rawhide branch pointing to that ref.

Going to look at the other two (python2 and python-epel-rpm-macros)

For python-epel-rpm-macros, possibly. But for python2/python3 I am certain it had a master branch.

[python3 (f32 %)]$ git rev-parse origin/master
61c85eaadc7543a706be2f5e24dccc77166b5a24
[python2 (f30 %)]$ git rev-parse origin/master
26e49df9a02e6147f827c76bd45324fcb1024329

The python2 repo was in the same state as the python3 one, so easyfix and done.

python-epel-rpm-macros is more weird. It doesn't seem to have a backup master reference, so not rawhide branch either. Main and HEAD thus both point to nothing.

Should I make the epel7 branch the default one for python-epel-rpm-macros?

Metadata Update from @pingou:
- Issue assigned to pingou

4 years ago

Metadata Update from @pingou:
- Issue tagged with: low-gain, low-trouble, ops

4 years ago

Should I make the epel7 branch the default one for python-epel-rpm-macros?

I've just did. But the main symbolic ref to rawhide is not deletable.

Should I make the epel7 branch the default one for python-epel-rpm-macros?

I've just did. But the main symbolic ref to rawhide is not deletable.

No idea what makes you think so, rm worked perfectly fine :stuck_out_tongue_winking_eye: :angel:

That's cheating :)

Thanks!

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

4 years ago

Thanks for letting us know!

Metadata Update from @churchyard:
- Issue status updated to: Open (was: Closed)

4 years ago

I wanted to push the branch myself, but I cannot:

$ git push -u origin rawhide 
Enumerating objects: 4, done.
Counting objects: 100% (4/4), done.
Delta compression using up to 8 threads
Compressing objects: 100% (1/1), done.
Writing objects: 100% (3/3), 279 bytes | 279.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
remote: warning: ignoring broken ref refs/heads/main
remote: Branch refs/heads/rawhide is unsupported
remote: Denied push for ref 'refs/heads/rawhide' for user 'churchyard'
remote: All changes have been rejected
To ssh://pkgs.fedoraproject.org/rpms/python37
 ! [remote rejected] rawhide -> rawhide (pre-receive hook declined)
error: failed to push some refs to 'ssh://pkgs.fedoraproject.org/rpms/python37'

It is d1a1167011865bb2fa68da875df592a1d7263b9d if it helps.

It is d1a1167011865bb2fa68da875df592a1d7263b9d if it helps.

Confirmed, fixed as well :)

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

4 years ago

Log in to comment on this ticket.

Metadata
Boards 1
ops Status: Done