Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for removing users/groups from a project and allow to check for groups with permissions to modify a PR #815

Merged
merged 3 commits into from
Oct 10, 2023

Conversation

nforro
Copy link
Member

@nforro nforro commented Oct 9, 2023

Related to packit/packit#2078.

Merge before packit/packit#2112.

RELEASE NOTES BEGIN
Add support for removing users/groups from a project and allow to check for groups with permissions to modify a PR.
RELEASE NOTES END

@nforro
Copy link
Member Author

nforro commented Oct 9, 2023

/packit-stg rebuild-failed

@nforro
Copy link
Member Author

nforro commented Oct 9, 2023

/packit rebuild-failed

@softwarefactory-project-zuul
Copy link
Contributor

@nforro
Copy link
Member Author

nforro commented Oct 9, 2023

/packit retest-failed

@nforro
Copy link
Member Author

nforro commented Oct 10, 2023

/packit upstream-koji-build

Copy link
Member

@lbarcziova lbarcziova left a comment

Choose a reason for hiding this comment

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

LGTM

ogr/abstract.py Outdated Show resolved Hide resolved
@lbarcziova
Copy link
Member

could you please also update COMPATIBILITY.md?

Signed-off-by: Nikola Forró <nforro@redhat.com>
Signed-off-by: Nikola Forró <nforro@redhat.com>
@nforro
Copy link
Member Author

nforro commented Oct 10, 2023

could you please also update COMPATIBILITY.md?

It looks like add_group is also missing from the document (not supported on GitHub and GitLab), I'll add it as well.

Signed-off-by: Nikola Forró <nforro@redhat.com>
Comment on lines +54 to 64
| | GitHub | GitLab | Pagure |
| --------------------------- | :----: | :----: | :---------------------: |
| `change_token` | ✘ | ✔ | ✔ |
| `get_release` | ✔ | ✔ | ✘ |
| `get_latest_release` | ✔ | ✔ | ✘ |
| `is_private` | ✔ | ✔ | ✘ (may not be accurate) |
| `remove_user` | ✘ | ✘ | ✔ |
| `add_group` | ✘ | ✘ | ✔ |
| `remove_group` | ✘ | ✘ | ✔ |
| `which_groups_can_merge_pr` | ✘ | ✘ | ✔ |

Copy link
Member

Choose a reason for hiding this comment

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

thanks!

@nforro
Copy link
Member Author

nforro commented Oct 10, 2023

/packit upstream-koji-build

@softwarefactory-project-zuul
Copy link
Contributor

@nforro nforro added the mergeit When set, zuul wil gate and merge the PR. label Oct 10, 2023
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded (gate pipeline).
https://softwarefactory-project.io/zuul/t/packit-service/buildset/aff036ee61924bafb2800fa09169adfe

✔️ pre-commit SUCCESS in 1m 55s

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit 5ad36b6 into packit:main Oct 10, 2023
24 checks passed
@nforro nforro deleted the fork-force-push branch October 10, 2023 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mergeit When set, zuul wil gate and merge the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants