-
Notifications
You must be signed in to change notification settings - Fork 55
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
Implement GitProject.get_commits()
#857
Conversation
Signed-off-by: Nikola Forró <[email protected]>
Build succeeded. ✔️ pre-commit SUCCESS in 2m 32s |
@@ -54,6 +54,7 @@ In case you find any error, please [create a new issue](https://github.com/packi | |||
| ----------------------------- | :----: | :----: | :---------------------: | | |||
| `change_token` | ✘ | ✔ | ✔ | | |||
| `get_release` | ✔ | ✔ | ✘ | | |||
| `get_commits` | ✔ | ✔ | ✘ | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there something that works on Pagure? (not even push counts, cause even that can yield 500…)
ref = ref or self.default_branch | ||
return [ | ||
commit.id | ||
for commit in self.gitlab_repo.commits.list(ref_name=ref, all=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a feeling that the list
was a not the best decision waaaay back in the old days.
Build succeeded (gate pipeline). ✔️ pre-commit SUCCESS in 3m 08s |
358fd86
into
packit:main
Related to packit/packit-service#2495.