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 codeberg support #42

Merged
merged 3 commits into from
Apr 27, 2021
Merged

Add codeberg support #42

merged 3 commits into from
Apr 27, 2021

Conversation

jugendhacker
Copy link
Contributor

This commit adds support for the gitea API used by codeberg. This is
more or less inspired by the github release api scraper, because the API
of gitea aims to be very similar to the one github has.

This commit adds support for the gitea API used by codeberg. This is
more or less inspired by the github release api scraper, because the API
of gitea aims to be very similar to the one github has.
@simon04
Copy link
Owner

simon04 commented Apr 25, 2021

Great. Would you please add a unit test (similar to gitlab_test). Thank you.

@jugendhacker
Copy link
Contributor Author

@simon04 done. It's based on one package I maintain myself which uses codeberg: https://aur.archlinux.org/packages/xmppc/

Just modified the mock API response a bit, compared to the original project, to actually also test if drafts and prereleases get ignored.

Copy link
Owner

@simon04 simon04 left a comment

Choose a reason for hiding this comment

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

Great, thank you!

@simon04 simon04 merged commit 6b2c463 into simon04:master Apr 27, 2021
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.

2 participants