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

Update release workflow to reflect use of 'version' branches #257

Merged

Conversation

bourque
Copy link
Collaborator

@bourque bourque commented Oct 11, 2023

Change Summary

Overview

This PR updates the release workflow documentation to reflect our new workflow -- one that doesn't use a main branch but instead uses 'version' branches (e.g. v0.1.x).

New Files

  • docs/source/_static/git-workflow.png
    • A diagram that I created to reflect this workflow. I couldn't find anything like it online, so I just created something with a draw tool. This replaces the diagram that was previously used in git-and-github-workflow.rst

Updated Files

  • docs/source/development/release-workflow.rst
    • Updated description of the release workflow
  • docs/source/development/style-guide/git-and-github-workflow.rst
    • Updated workflow diagram

Testing

For reviewers, it would be good to know if this workflow makes sense as i've described it? What needs to be tweaked?

@bourque bourque added the Repo: Documentation Improvements or additions to documentation label Oct 11, 2023
@bourque bourque requested a review from a team October 11, 2023 22:04
@bourque bourque self-assigned this Oct 11, 2023
@bourque bourque requested review from sdhoyt, greglucas, tech3371, bryan-harter, laspsandoval, GFMoraga and maxinelasp and removed request for a team October 11, 2023 22:04
Copy link
Contributor

@maxinelasp maxinelasp left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for updating this!

@bourque
Copy link
Collaborator Author

bourque commented Oct 12, 2023

Thanks @maxinelasp!

@greglucas Since you introduced the concept of the version branches, it would be good to get your opinion here and make sure I got this down right, if you have time!

Copy link
Collaborator

@greglucas greglucas left a comment

Choose a reason for hiding this comment

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

I find these diagrams confusing to follow unless you already sort of know what you're doing. I've tried explaining them to people new to git before and it was just blank stares. So, I guess I'd recommend just linking out to someone else's so we don't have to maintain/explain it? I think the Atlassian gitflow diagram you had before is awfully close to our process, we just aren't using the "master" branch anymore and keeping the "release" branch only. So sort of just reducing one of the steps.

I am fine with this new diagram as well, but it'd be nice if you could put it through an image shrinker as well so it isn't 161KB.

@bourque
Copy link
Collaborator Author

bourque commented Oct 12, 2023

I find these diagrams confusing to follow unless you already sort of know what you're doing. I've tried explaining them to people new to git before and it was just blank stares. So, I guess I'd recommend just linking out to someone else's so we don't have to maintain/explain it? I think the Atlassian gitflow diagram you had before is awfully close to our process, we just aren't using the "master" branch anymore and keeping the "release" branch only. So sort of just reducing one of the steps.

I am fine with this new diagram as well, but it'd be nice if you could put it through an image shrinker as well so it isn't 161KB.

Thanks for the feedback Greg. I'm hesitant to switch out the diagram in favor of Atlassian's, because this new diagram is (accurately, I think) reflecting our actual workflow (and I designed it to look as similar to Atlassian's diagram as possible). I agree that this stuff is inherently confusing and hard to learn, but I'm not sure that showing Atlassian's diagram and then saying "well actually this part is different" would be less confusing. And I don't agree that our new method is close enough to the Atlassian release-driven workflow, because we are not just using a release branch instead of a master branch -- we are keeping every release branch, and a new release branch needs to be created when certain conditions are met.

Would it suffice to keep this diagram and then add a note somewhere along the lines of "for more information about release-driven workflows see [this Atlassian page]"?

Good catch on the file size, I can definitely make that smaller!

@greglucas
Copy link
Collaborator

@bourque , I should have pinged you yesterday I only thumbs-upped your message which probably didn't notify you, sorry for that.

Would it suffice to keep this diagram and then add a note somewhere along the lines of "for more information about release-driven workflows see [this Atlassian page]"?

I think that would be fine, but I am also totally fine with what you wrote and keeping it like this. So, this is good with me once you shrink the image down.

Copy link
Contributor

@laspsandoval laspsandoval left a comment

Choose a reason for hiding this comment

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

Nicely done.

@bourque bourque merged commit b6bb0b9 into IMAP-Science-Operations-Center:dev Oct 16, 2023
12 checks passed
@bourque bourque deleted the update-release-workflow branch October 16, 2023 19:54
laspsandoval pushed a commit to laspsandoval/imap_processing that referenced this pull request Nov 15, 2023
…date-release-workflow

Update release workflow to reflect use of 'version' branches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Repo: Documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants