Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add Editorial Workflow support for GitLab and BitBucket backends #568
referenced this issue
Jul 11, 2018
In a nutshell, the editorial workflow uses pull requests instead of just committing to a Git repository's main branch, and "publishes" entries by merging the PR, all of which happens via API. Things are complicated by our use of a separate metadata branch in the GitHub backend, and #1669 outlines a way forward. But that aside, automating the mechanics of pull requests (including rebasing logic) is all that's needed to add workflow support to a backend.
We'd like to contribute, and implement Editorial Workflows for GitLab, as it'd help us a lot to manage our documentation.
We'll see how far I get in a couple of days, then we'll figure out everything else.
I managed to get Editorial Workflows for GitLab working (with
I noticed that deleting a published entry doesn't use workflow which might be confusing to users.
I ended up implementing metadata storage in a separate branch.
We'll review and test the changes internally next week.