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

feat: add codeberg provider #175

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

joaopalmeiro
Copy link

@joaopalmeiro joaopalmeiro commented Jul 17, 2024

Resolves #174

TODO

  • Check how to prepare the authorization header.
  • Test with a private Codeberg repository.
  • Validate that the ref type (branch, commit, or tag) can be omitted from the url.

References

Commands

subdir

rm -rf unjs-template && pnpm giget codeberg:unjs/template/test
rm -rf unjs-template && pnpm giget codeberg:unjs/template/test#e24616c743fe6ee33c9e4d4712ba30e34cf4091d

@pi0 pi0 changed the title feat: add Codeberg as a provider feat: add codeberg provider Jul 17, 2024
test/getgit.test.ts Outdated Show resolved Hide resolved
@joaopalmeiro joaopalmeiro marked this pull request as ready for review July 17, 2024 11:30
@joaopalmeiro joaopalmeiro requested a review from pi0 July 17, 2024 11:30
@pi0
Copy link
Member

pi0 commented Jul 17, 2024

Thanks for the work dear @joaopalmeiro. I might take longer for me to test and release but your work seems nice 👍🏼

Copy link

codecov bot commented Jul 17, 2024

Codecov Report

Attention: Patch coverage is 25.00000% with 12 lines in your changes missing coverage. Please review.

Project coverage is 53.80%. Comparing base (743c9ae) to head (4e7f085).
Report is 21 commits behind head on main.

Files Patch % Lines
src/providers.ts 20.00% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #175      +/-   ##
==========================================
- Coverage   54.63%   53.80%   -0.83%     
==========================================
  Files           7        7              
  Lines         615      630      +15     
  Branches       47       47              
==========================================
+ Hits          336      339       +3     
- Misses        278      290      +12     
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@joaopalmeiro
Copy link
Author

joaopalmeiro commented Jul 17, 2024

Thanks for the work dear @joaopalmeiro. I might take longer for me to test and release but your work seems nice 👍🏼

Sure, take your time! Thank you for the opportunity! Let me know if anything is needed.

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.

Add Codeberg as a provider
2 participants