Learn more about these different git repos.
Other Git URLs
Per the discussion on devel@ on changing our Git repository default branch from master to main, it was asked that we implement support for configuring symbolic references in projects.
devel@
master
main
This should be configurable via the UI and API.
This should be able to be done with pygit2 using the Repository.create_reference() method.
Repository.create_reference()
For example, for renaming master to main while not breaking backwards compatibility:
repo.create_reference("refs/heads/master", "refs/heads/main")
For Dist-Git repositories, we'd do something like this for master to rawhide aliasing:
rawhide
repo.create_reference("refs/heads/master", "refs/heads/rawhide")
Metadata Update from @ngompa: - Issue tagged with: pagure.io
I'm a bit on the fence about this one. I wonder if we want pagure to support this (vs just have a script doing it server side once for all the project and be done with it)
I think we want this to be something projects can choose to set up, unless we want hardcoded ones...
Metadata Update from @pingou: - Issue assigned to pingou
Metadata Update from @pingou: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.