decaporg / decap-cms

A Git-based CMS for Static Site Generators
https://decapcms.org
MIT License
17.66k stars 3.02k forks source link

Implement editorial workflow for Gitea / Forgejo backend #7115

Open privatemaker opened 4 months ago

privatemaker commented 4 months ago

Now that there is a Gitea / Forgejo Backend supported, I open this issue proposal to request adding publish_mode: editorial_workflow support to it.

Maybe @denyskon who's fantastic work contributed Gitea support 👍🏻 😄 can comment on the viability of this task? Did you notice anything quirks that might make it not feasible?

denyskon commented 4 months ago

I think a few API endpoints are missing in Gitea to achieve that. In general, the Gitea API is pretty compatible with the GitHub API, so if we find out the missing endpoints and implement them in Gitea (I could maybe help there), it should be feasible.

(also see https://github.com/StaticJsCMS/static-cms/issues/1047)

privatemaker commented 4 months ago

Thanks for the quick reply 🌟 Since you know the Decap code (and I do not), if you make a list of those endpoints, I'm happy to open isses on Gitea tracker and perhaps even bug some of my Go developer friends to nudge this forward...