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

Document the branching strategy for docs #909

Open
Oglopf opened this issue Dec 11, 2023 · 2 comments
Open

Document the branching strategy for docs #909

Oglopf opened this issue Dec 11, 2023 · 2 comments

Comments

@Oglopf
Copy link
Contributor

Oglopf commented Dec 11, 2023

Right now I perceive the flow to look like this:

your_branch -> latest -> develop -> gh_pages

I believe the idea is to merge any changes from your_branch into the latest on the initial work. Then it looks like there's some automation to put those changes and any others desired into the develop branch. Then, when we are ready we push the develop branch changes to the gh_pages branch to publish.

I stress that I'm not sure this is the current flow but that's my impression from GitLens.

Maybe we could update the README.md to include some of this and describe the workflow to save time for people in the future and make outside contributing more simple

@Oglopf Oglopf changed the title Document the branching strateg for docs Document the branching strategy for docs Dec 11, 2023
@Oglopf
Copy link
Contributor Author

Oglopf commented Dec 12, 2023

Spoke in our stand-up and it looks like we are using latest to have the current branch which is used for the docs which gh-pages then uses to generate docs.

The develop branch will be used for docs that are not published, but are being worked but will be pulled into latest at some future date.

So the flow actually should be this for a new piece of docs:

develop -> your_branch -> develop -> latest -> gh_pages

But, it sounds like we will have situations, like if you are just updating a typo maybe, where you would do:

latest -> your_branch -> latest -> gh_pages

@johrstrom Does this flow look right based on the two possible incoming change cases?

@johrstrom
Copy link
Contributor

Yea give or take. Of course the -> are actually different mechanisms. For example -> gh-pages isn't a user action - it just happens as a part of our automation.

While we'll accept changes into develop the step develop -> latest may not happen for some time and may be misleading if it's put together in one single flow like that.

The develop branch will be used for docs that are not published,

All these branches (latest, develop and release_*) are always published once they're updated. You can see develop here - https://osc.github.io/ood-documentation/develop/ that just got updated this morning.

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

No branches or pull requests

2 participants