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

Implement GitProject.get_commits() #857

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

nforro
Copy link
Member

@nforro nforro commented Sep 6, 2024

Copy link
Contributor

@@ -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` | ✔ | ✔ | ✘ |
Copy link
Member

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)
Copy link
Member

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.

@nforro nforro added the mergeit When set, zuul wil gate and merge the PR. label Sep 9, 2024
Copy link
Contributor

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

✔️ pre-commit SUCCESS in 3m 08s

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit 358fd86 into packit:main Sep 9, 2024
30 checks passed
@nforro nforro deleted the commits branch September 9, 2024 07:49
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.

3 participants