Learn more about these different git repos.
Other Git URLs
Could you plese mass change all the Fedora dist git integrations from master to rawhide?
I think this would be useful to all projects, but my primary motivation is @python/python3.10.
Some of our packages are scm, some are distgit. Majority have "master" as committish, but a few have something else. I'd like to change the ones that have "master" to have "rawhide".
I'll see what I can script.
This does what I needed it to do:
import json import subprocess packages = json.loads(subprocess.check_output("copr list-packages @python/python3.10", text=True, shell=True)) for package in packages: branch = package["source_dict"].get("committish", "master") if branch == "master": name = package["name"] print(name) subprocess.run(f"copr edit-package-distgit --commit rawhide --name {name} @python/python3.10", text=True, shell=True, check=True)
It also converts scm packages to dist-git, but that's OK for us.
Thanks for the headsup, and for howto. Would it be enough if we merged #1688 and released new copr-rpmbuild package? Those who don't explicitly specify the committish field would automatically get the project-default branch (no matter if that is main, rawhide or master).
I think that #1688 together with an announcement would work.
The #1688 is out in production, and we should mention this in new release notes this week or the week after.
Metadata Update from @praiskup: - Issue tagged with: bug, doc
Metadata Update from @praiskup: - Issue assigned to praiskup
Going to mention this in 2021-03-17 release notes.
2021-03-17
Metadata Update from @praiskup: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.