Add commit privilege for https://pagure.io/fedora-comps/ to proven packagers #9927

Closed
opened 2021-01-02 16:45:21 +00:00 by zbyszek · 26 comments
Contributor

A few years ago comps were writable by any packager. With a move to pagure, the list of people who can make changes was severely curtailed, currently just a few people + releng. This was done without any discussion, implicitly as part of the move.

As with other similar setups, this creates a choke point whenever @releng is swamped with other things. Pull requests to comps are not being reviewed and merged in time (https://pagure.io/fedora-comps/pull-request/509, https://pagure.io/fedora-comps/pull-request/543, https://pagure.io/fedora-comps/pull-request/567, others).

I'm sure plenty of people would like to help with this, but are blocked by the centralization of write privileges. I think allowing all proven packagers to write to the repo would help resolve the issue. There is really no need to restrict this to @releng, since @releng doesn't really know too much about KDE spin or i3 desktop. Groups should be managed by people who work on those groups. Restricting this to proven packagers is a reasonable compromise IMHO.

  • When do you need this? (YYYY/MM/DD)

Weeks rather than months.

  • When is this no longer needed or useful? (YYYY/MM/DD)

Never.

  • If we cannot complete your request, what is the impact?

See description.

A few years ago comps were writable by any packager. With a move to pagure, the list of people who can make changes was severely curtailed, currently just a few people + releng. This was done without any discussion, implicitly as part of the move. As with other similar setups, this creates a choke point whenever @releng is swamped with other things. Pull requests to comps are not being reviewed and merged in time (https://pagure.io/fedora-comps/pull-request/509, https://pagure.io/fedora-comps/pull-request/543, https://pagure.io/fedora-comps/pull-request/567, others). I'm sure plenty of people would like to help with this, but are blocked by the centralization of write privileges. I think allowing all proven packagers to write to the repo would help resolve the issue. There is really no need to restrict this to @releng, since @releng doesn't really know too much about KDE spin or i3 desktop. Groups should be managed by people who work on those groups. Restricting this to proven packagers is a reasonable compromise IMHO. * When do you need this? (YYYY/MM/DD) Weeks rather than months. * When is this no longer needed or useful? (YYYY/MM/DD) Never. * If we cannot complete your request, what is the impact? See description.
Member

The provenpackager and packager groups do not exist on pagure.io. That said, virtually all major SIGs have corresponding pagure.io groups, so we could request to grant those write permissions.

At least offhand, all working groups and the KDE SIG have membership managed through Pagure groups on pagure.io.

The provenpackager and packager groups do not exist on pagure.io. That said, virtually all major SIGs have corresponding pagure.io groups, so we could request to grant those write permissions. At least offhand, all working groups and the KDE SIG have membership managed through Pagure groups on pagure.io.
Contributor

+1 to the idea. If this is technically not possible, we could make a "comps sig" group and populate it with any provenpackager and/or package group maintainer who expresses interest.

+1 to the idea. If this is technically not possible, we could make a "comps sig" group and populate it with any provenpackager and/or package group maintainer who expresses interest.
Owner

I'm gonna dispute your premise...

As with other similar setups, this creates a choke point whenever @releng is swamped with other things. Pull requests to comps are not being reviewed and merged in time (https://pagure.io/fedora-comps/pull-request/509, https://pagure.io/fedora-comps/pull-request/543, https://pagure.io/fedora-comps/pull-request/567, others).

509 -> as you asked in comments, the status is unknown. Really to merge this we need input from the kde sig... and the pull request isn't something they are pushing, just something someone else decided to do.

543 -> was just missed, a ping anytime would have gotten someone to merge it. It's merged now.

567 -> filed the day after xmas... I didn't expect anyone to see it until after holidays, but it's simple enough, so I just merged it.

Everything else is still under discussion/deveopment...

I don't think the problem is lack of people to merge things, I think it's more a lack of subject matter experts/sigs/working groups providing timely review.

Or perhaps it's that we don't close PR's very well. IMHO 509 and 488 could be dropped with "please figure it out in kde land and resubmit when everyone is happy with it"

Anyhow, I have no objection to adding more people to merge things, but I don't think thats the problem.

I'm gonna dispute your premise... > As with other similar setups, this creates a choke point whenever @releng is swamped with other things. Pull requests to comps are not being reviewed and merged in time (https://pagure.io/fedora-comps/pull-request/509, https://pagure.io/fedora-comps/pull-request/543, https://pagure.io/fedora-comps/pull-request/567, others). 509 -> as you asked in comments, the status is unknown. Really to merge this we need input from the kde sig... and the pull request isn't something they are pushing, just something someone else decided to do. 543 -> was just missed, a ping anytime would have gotten someone to merge it. It's merged now. 567 -> filed the day after xmas... I didn't expect anyone to see it until after holidays, but it's simple enough, so I just merged it. Everything else is still under discussion/deveopment... I don't think the problem is lack of people to merge things, I think it's more a lack of subject matter experts/sigs/working groups providing timely review. Or perhaps it's that we don't close PR's very well. IMHO 509 and 488 could be dropped with "please figure it out in kde land and resubmit when everyone is happy with it" Anyhow, I have no objection to adding more people to merge things, but I don't think thats the problem.
Author
Contributor

was just missed, a ping anytime would have gotten someone to merge it
filed the day after xmas... I

Yeah, but I don't want to ping you (or other releng members) during the holidays. That's essentially the whole point: I (and I assume others) want to help, without interrupting your well-deserved time off, but we're blocked by overly restrictive policy.

Anyhow, I have no objection to adding more people to merge things

Cool.

> was just missed, a ping anytime would have gotten someone to merge it > filed the day after xmas... I Yeah, but I don't want to ping you (or other releng members) during the holidays. That's essentially the whole point: I (and I assume others) want to help, without interrupting your well-deserved time off, but we're blocked by overly restrictive policy. > Anyhow, I have no objection to adding more people to merge things Cool.
Contributor

We need to look at how to sync fas groups into pagure.io, pinging @pingou for more insight.

We need to look at how to sync fas groups into pagure.io, pinging @pingou for more insight.
Contributor

Metadata Update from @mohanboddu:

  • Issue tagged with: high-trouble, medium-gain, ops
**Metadata Update from @mohanboddu**: - Issue tagged with: high-trouble, medium-gain, ops
Contributor

From the releng meeting today

[11:14:12] <mboddu> #info pingou is going to look at how we can sync the fas groups into pagure.io
From the releng meeting today ``` [11:14:12] <mboddu> #info pingou is going to look at how we can sync the fas groups into pagure.io ```
Contributor

Metadata Update from @mohanboddu:

  • Issue untagged with: high-trouble, ops
  • Issue tagged with: dev, medium-trouble
**Metadata Update from @mohanboddu**: - Issue **un**tagged with: high-trouble, ops - Issue tagged with: dev, medium-trouble
Author
Contributor

@pingou: any progress on this?

@pingou: any progress on this?

This would be useful to package-maintainer-docs as well,
that repo it a good candidate to be managed by the fas packager group.

This would be useful to [package-maintainer-docs][link] as well, that repo it a good candidate to be managed by the fas `packager` group. [link]: https://pagure.io/fedora-docs/package-maintainer-docs
Owner

I wonder... could we make a fedora-comps rpm package (thats just comps files) on src.fedoraproject.org and then point pungi/etc to use that instead of the pagure.io one?

Then it would still be open for pr's and it would also be open to provenpackagers to make changes?

But then we have the overhead of making the rpm from time to time...

I wonder... could we make a fedora-comps rpm package (thats just comps files) on src.fedoraproject.org and then point pungi/etc to use that instead of the pagure.io one? Then it would still be open for pr's and it would also be open to provenpackagers to make changes? But then we have the overhead of making the rpm from time to time...
Author
Contributor

could we make a fedora-comps rpm package (thats just comps files) on src.fedoraproject.org

If people find this idea acceptable, I'd be happy to provide a spec file and take it through review.

But then we have the overhead of making the rpm from time to time...

Would we want to actually ever build the package? We could just have it in dist-git and point pungi/etc directly to the dist-git repo. This would solve the access issues without changing the workflow.

> could we make a fedora-comps rpm package (thats just comps files) on src.fedoraproject.org If people find this idea acceptable, I'd be happy to provide a spec file and take it through review. > But then we have the overhead of making the rpm from time to time... Would we want to actually ever build the package? We could just have it in dist-git and point pungi/etc directly to the dist-git repo. This would solve the access issues without changing the workflow.
Owner

One possible monkey wrench in this plan: translations. We have weblate pushing to the pagure repo. I am not sure it can do that to src.fedoraproject.org.

One possible monkey wrench in this plan: translations. We have weblate pushing to the pagure repo. I am not sure it can do that to src.fedoraproject.org.
Author
Contributor

It'd need to be pointed at a different address, but in principle it could work. You can submit pull requests on src.fp.o without a packager account.

It'd need to be pointed at a different address, but in principle it could work. You can submit pull requests on src.fp.o without a packager account.

Is this still needed work?

Is this still needed work?
Author
Contributor

I think that at this point, it doesn't make sense to work on new functionality for pagure. When we move to the new forge, we should revisit the topic.

I think that at this point, it doesn't make sense to work on new functionality for pagure. When we move to the new forge, we should revisit the topic.
jnsamyak added this to the Backlog project 2026-03-19 12:00:27 +00:00
Owner

Reviving this now that we've moved to Forgejo.

There were two directions discussed:

  • Expand commit access on the comps repo to provenpackagers / a dedicated comps-sig group (the original ask)
  • Migrate fedora-comps to be a proper dist-git package, sidestepping the ACL question entirely by relying on the existing provenpackager workflow (favored more in later comments)

Before I put time into either, I want to confirm: is the dist-git approach still the preferred direction? If so, I can start on the spec file and figure out the Weblate-to-dist-git translation push question that was left open. If the group access route is preferred instead, I can look at what it'd take to sync FAS groups for repo permissions on the new forge.

Reviving this now that we've moved to Forgejo. There were two directions discussed: - Expand commit access on the comps repo to provenpackagers / a dedicated comps-sig group (the original ask) - Migrate fedora-comps to be a proper dist-git package, sidestepping the ACL question entirely by relying on the existing provenpackager workflow (favored more in later comments) Before I put time into either, I want to confirm: is the dist-git approach still the preferred direction? If so, I can start on the spec file and figure out the Weblate-to-dist-git translation push question that was left open. If the group access route is preferred instead, I can look at what it'd take to sync FAS groups for repo permissions on the new forge.
Author
Contributor

Moving to dist-git was motivated by not being able to use the FAS groups on pagure.io. But IIUC, we can use FAS groups on forge.fp.o, so we don't need to do that. Can we just move it to the forge? Oh, I see it already is at https://forge.fedoraproject.org/releng/fedora-comps.

Expand commit access on the comps repo to provenpackagers / a dedicated comps-sig group (the original ask)

Yes, please.

Moving to dist-git was motivated by not being able to use the FAS groups on pagure.io. But IIUC, we *can* use FAS groups on forge.fp.o, so we don't need to do that. Can we just move it to the forge? Oh, I see it already is at https://forge.fedoraproject.org/releng/fedora-comps. > Expand commit access on the comps repo to provenpackagers / a dedicated comps-sig group (the original ask) Yes, please.
Owner

Yeah, I don't think we should move it to dist-git anymore, just add a mapping that allows all provenpackagers to be maintainers
I think this is doable just via a mapping in ansible for forge, @ryanlerch ?

Yeah, I don't think we should move it to dist-git anymore, just add a mapping that allows all provenpackagers to be maintainers I think this is doable just via a mapping in ansible for forge, @ryanlerch ?
Owner

Yes, I'll take care of that here: https://forge.fedoraproject.org/org/releng/teams/proven-packagers-team; Need to make some ansible and ipa group tweaks.

Yes, I'll take care of that here: https://forge.fedoraproject.org/org/releng/teams/proven-packagers-team; Need to make some ansible and ipa group tweaks.
Owner

created a group in ipa named with forge-releng-proven-packagers which has a provenpackagers group inherited.

created a group in ipa named with forge-releng-proven-packagers which has a provenpackagers group inherited.
Owner

ansible pr: infra/ansible#3460
Once the CI is 🟢, I'll run the playbook

ansible pr: https://forge.fedoraproject.org/infra/ansible/pulls/3460 Once the CI is 🟢, I'll run the playbook
Owner

Hum. This seems to have added them as admin/owners? I am not sure we want that... although I guess it's not the end of the world. Ideally I think they should just be members/maintainers.

Hum. This seems to have added them as admin/owners? I am not sure we want that... although I guess it's not the end of the world. Ideally I think they should just be members/maintainers.
Owner

I can change that in team settings with ACLs required; it should not be a biggie.

I can change that in team settings with ACLs required; it should not be a biggie.
Owner

Okay the playbook is merged, and ran! It should reflect soon, happy forge.

Okay the playbook is merged, and ran! It should reflect soon, happy forge.
Owner

If there are any more issues, please let me know. Also make sure to re-login I guess to reflect in the team group.

If there are any more issues, please let me know. Also make sure to re-login I guess to reflect in the team group.
Sign in to join this conversation.
No milestone
No assignees
8 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
releng/tickets#9927
No description provided.