Skip to content

Conversation

@infinisil
Copy link
Member

@infinisil infinisil commented Sep 22, 2025

Changes the nomination process to individual PRs and as such requires approval from the entire @NixOS/commit-bit-delegation team. This is effectively an alternative to #23.

New process

Feel free to try it out (no worries, this is using a test org, and nobody gets pinged):

Nominations

To nominate yourself or somebody else:

  1. Check open nominations to make sure the user hasn't been nominated already.
  2. Click this link to create a new file in the members directory.
  3. Leave the file contents empty and replace <GITHUB_HANDLE> with the handle (without @) of the user you'd like to nominate .
  4. Click on "Commit changes..." and follow the steps to create a PR.
  5. State your motivation for the nomination in the PR description.

Such nominations are also automatically announced in this issue, which you can subscribe to for updates.

When such a PR is opened, an automatic comment is posted in #35, allowing people to easily subscribe to new nominations without other noise.

To do after merging

Notes

There is no PR template for now. While this could be done (though there's only a single default PR template per repo), this PR is kept as minimal as possible, focusing only on the process switch from a single issue to multiple PRs.

Furthermore, we could also add instructions for the contributions script or even run it directly. I'd like to defer that to a later PR though, as it's not essential to have for the PR workflow.

@infinisil infinisil requested a review from a team as a code owner September 22, 2025 19:52
@infinisil infinisil changed the title PR-based workflow Switch to PR-based process Sep 22, 2025
Copy link
Contributor

@wolfgangwalther wolfgangwalther left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this. I didn't check the implementation in detail, but approve on the change to a PR-based workflow!

Copy link
Contributor

@MattSturgeon MattSturgeon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to read through the diff in a bit more detail. I can't see any issues beyond the minor discussion points below, most of which are ideas for future improvements or observations of potential (minor) pain points that may not be easily solved.

(I also tried testing on your test org, but ran into the issues we discussed before, as your test issue is still locked.)

It may be worth addressing the regex, validating that the created file is empty and named for a "real" user, and/or tweaking the nomination instructions. But only if that is low effort and doesn't increase this PR's scope.

LGTM, approving. Thanks for working on this, I'm convinced it'll be a much better experience for all involved!

Copy link
Member

@jtojnar jtojnar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. This looks good.

Regarding #23 (comment):

A PR can easily be approved by individual commit delegators (if they wish to use such a process), which gives more transparency and accountability. It also means that the team doesn't need its own internal synchronisation.

We will still probably want to keep an internal log with notes but it is cleaner to have single PR per nomination rather than issue + PR.

Slight downside is that GitHub requires having a fork in order to send PR but I guess that is acceptable price to pay.

@infinisil
Copy link
Member Author

PR is now updated with all suggestions addressed :)

I also tried testing on your test org, but ran into the issues we discussed before, as your test issue is still locked.

I unlocked the issue, so that should work now if you wanna try again

Copy link
Contributor

@MattSturgeon MattSturgeon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR is now updated with all suggestions addressed :)

LGTM 🚀

I also tried testing on your test org, but ran into the issues we discussed before, as your test issue is still locked.

I unlocked the issue, so that should work now if you wanna try again

Tested here: infinisil-test-org/nixpkgs-committers#49 (CI run)

@infinisil
Copy link
Member Author

Resolved conflict after #45

@niklaskorz
Copy link

Do I understand correctly that this is only pending approval by @winterqt? Thanks for the preparation, looking forward to the improved process!

@Pandapip1
Copy link
Member

Bump! It would be a shame for this to stall now, so close to the finish line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants