-
Notifications
You must be signed in to change notification settings - Fork 66
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 Gitea / Forgejo support #98
Conversation
This adds support for gitea and Forgejo, a friendly fork of Gitea.
This is a direct copy of the gitlab backend, with some small changes for Gitea. |
Thanks! This looks good to me. Were you able to confirm it works against a gitea and forgejo server? I don't have one I can test against myself |
Yes, I tested it against my own Gitea instance. I have not tested it against Forgejo, but that is a very recent friendly fork of Gitea, so there is no reason why it would not work. Here is the integrating code: https://code.kiers.eu/newsletter-to-web/newsletter-to-web/commit/7c5e97157149b5bda1f5f05241470614ffac3584#diff-1f171367c06a25802278385619fa0a352f08ca77 Some sample outputs:
I just flipped the private project flag for this test. Public project, no authentication (succeeds):
Private project, no authentication (fails as expected):
Private project, with auth token (works as expected):
|
Thanks! |
released in |
Thanks you as well for releasing a new version so quickly! |
This adds support for gitea and Forgejo, a friendly fork of Gitea.