bolt icon indicating copy to clipboard operation
bolt copied to clipboard

Add a simple packit config

Open ochosi opened this issue 3 years ago • 5 comments

Before this can be merged this repo needs to be updated and there needs to be an actual sync between this repo and the original repo (see these docs: https://docs.gitlab.com/ee/user/project/repository/mirror/).

For the moment, this config only proposes downstream PRs in all active Fedora releases (maybe this needs to be adjusted, not sure which releases you actually want to support). In a later stage, the create_pr setting can be switched to false, then packit will just push to dist-git (could also do that straight away if you feel comfortable with it).

Finally, to make packit work you ofc need to configure the as-a-service thingy in the repository's settings.

ochosi avatar Feb 26 '22 23:02 ochosi

Freedesktop's GitLab is not a GitLab EE instance, so you can't do that, IIRC.

Conan-Kudo avatar Feb 27 '22 22:02 Conan-Kudo

Freedesktop's GitLab is not a GitLab EE instance, so you can't do that, IIRC.

The idea is only to keep the .packit.yml file upstream and then sync it down to GitHub, where releases/tags will be picked up automatically by packit-as-a-service and pushed to Fedora. So GitLab doesn't have to have any support for packit.

ochosi avatar Feb 28 '22 07:02 ochosi

Yes, but GitLab CE doesn't support most mirroring functions, as I recall.

Conan-Kudo avatar Feb 28 '22 11:02 Conan-Kudo

The docs I linked to above actually say "All tiers", more specifically the "push" sync (which is probably what one would want here) should be covered: https://docs.gitlab.com/ee/user/project/repository/mirror/push.html

But yeah, I have no rights in the gitlab.fd.o instance so I can't say/see.

ochosi avatar Feb 28 '22 15:02 ochosi

It seems I don't have the rights either. I guess I poke Daniel Stone.

Screenshot 2022-02-28 at 20 08 49

gicmo avatar Feb 28 '22 19:02 gicmo