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(backend): add gitea backend #6808

Merged
merged 12 commits into from
Oct 19, 2023
Merged

Conversation

denyskon
Copy link
Contributor

@denyskon denyskon commented Jun 13, 2023

Summary

Introduces Gitea as new backend for Decap CMS. Fixes #1109

Checklist

  • added backend
  • added unit tests
  • added docs
  • tested creating/updating/deleting entries, upload/delete media

A picture of a cute animal (not mandatory but encouraged)

@netlify
Copy link

netlify bot commented Jun 13, 2023

Deploy Preview for decap-www ready!

Name Link
🔨 Latest commit 1097d11
🔍 Latest deploy log https://app.netlify.com/sites/decap-www/deploys/648a1261ee3f7e0008938b50
😎 Deploy Preview https://deploy-preview-6808--decap-www.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@denyskon
Copy link
Contributor Author

This is very WIP, I neither tested it enough nor did I ensure I did not break tests. I will notify when the PR is ready, for now it's just for the ones who're curious if there's something happening.

@denyskon denyskon changed the title WIP: feat(backend): add gitea backend feat(backend): add gitea backend Jun 14, 2023
@denyskon denyskon marked this pull request as ready for review June 14, 2023 19:05
@denyskon

This comment was marked as outdated.

@denyskon
Copy link
Contributor Author

@martinjagodic I resolved the conflicts and changed the naming to match the recent changes. One question, as this is my first time working with such a monorepo: do I have to bump the version number for the decap-cms-lib-auth package as I changed it too?
Besides from that, this PR should be ready again.

@martinjagodic
Copy link
Member

Thanks, @denyskon. Versions are bumped automatically when we create a release, so you don't need to do that.

@netlify
Copy link

netlify bot commented Sep 20, 2023

Deploy Preview for cms-demo ready!

Name Link
🔨 Latest commit 3b99150
🔍 Latest deploy log https://app.netlify.com/sites/cms-demo/deploys/6530e67dd0771300080778bb
😎 Deploy Preview https://deploy-preview-6808--cms-demo.netlify.app/backends/gitea
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@martinjagodic
Copy link
Member

Hi @denyskon I know it's been a while... Are you willing to dive into why tests are failing?

@denyskon
Copy link
Contributor Author

@martinjagodic Sorry, I didn't notice the lint failure, and build failed because of a dependency update on master. It should all pass now :)

Copy link
Member

@demshy demshy left a comment

Choose a reason for hiding this comment

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

Great! We could add some e2e tests, but since they are probably awaiting a huge overhaul I think we can add that later.

@demshy demshy merged commit 0d89a58 into decaporg:master Oct 19, 2023
17 checks passed
@denyskon denyskon deleted the feat/gitea-backend branch October 19, 2023 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for Gitea
3 participants