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(codeberg): add Gitea support #680

Merged
merged 9 commits into from
Jun 15, 2024
Merged

feat(codeberg): add Gitea support #680

merged 9 commits into from
Jun 15, 2024

Conversation

Theta-Dev
Copy link
Contributor

@Theta-Dev Theta-Dev commented Jun 6, 2024

Description

Add Gitea/Forgejo integration, similar to #663

Motivation and Context

How Has This Been Tested?

Tested manually as well as using a test fixture.

Test repo on Codeberg: https://codeberg.org/ThetaDev/git-cliff-readme-example

Screenshots / Logs (if applicable)

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (no code change)
  • Refactor (refactoring production code)
  • Other

Checklist:

  • My code follows the code style of this project.
  • I have updated the documentation accordingly.
  • I have formatted the code with rustfmt.
  • I checked the lints with clippy.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@Theta-Dev Theta-Dev requested a review from orhun as a code owner June 6, 2024 20:10
Copy link

welcome bot commented Jun 6, 2024

Thanks for opening this pull request! Please check out our contributing guidelines! ⛰️

@Theta-Dev Theta-Dev marked this pull request as draft June 6, 2024 20:22
@Theta-Dev Theta-Dev marked this pull request as ready for review June 7, 2024 10:36
@codecov-commenter
Copy link

codecov-commenter commented Jun 7, 2024

Codecov Report

Attention: Patch coverage is 24.46809% with 71 lines in your changes missing coverage. Please review.

Project coverage is 36.36%. Comparing base (5b58a37) to head (e0bb0cc).

Files Patch % Lines
git-cliff-core/src/changelog.rs 27.78% 26 Missing ⚠️
git-cliff-core/src/remote/gitea.rs 32.44% 25 Missing ⚠️
git-cliff/src/lib.rs 0.00% 10 Missing ⚠️
git-cliff/src/logger.rs 0.00% 9 Missing ⚠️
git-cliff-core/src/commit.rs 50.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #680      +/-   ##
==========================================
- Coverage   37.08%   36.36%   -0.72%     
==========================================
  Files          18       19       +1     
  Lines        1354     1447      +93     
==========================================
+ Hits          502      526      +24     
- Misses        852      921      +69     
Flag Coverage Δ
unit-tests 36.36% <24.47%> (-0.72%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

git-cliff-core/Cargo.toml Outdated Show resolved Hide resolved
@dark0dave
Copy link
Contributor

This looks great! Thank you for doing this!

@Theta-Dev Theta-Dev mentioned this pull request Jun 10, 2024
12 tasks
Copy link
Owner

@orhun orhun left a comment

Choose a reason for hiding this comment

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

so fire

@orhun orhun changed the title feat: add gitea integration feat(codeberg): add Gitea support Jun 15, 2024
@orhun orhun merged commit 403d3dc into orhun:main Jun 15, 2024
47 checks passed
Copy link

welcome bot commented Jun 15, 2024

Congrats on merging your first pull request! ⛰️

@orhun orhun mentioned this pull request Jun 15, 2024
1 task
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.

4 participants