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

Add how-to document for applying Pantheon updates #137

Merged
merged 2 commits into from
Jul 14, 2023
Merged

Conversation

matt-bernhardt
Copy link
Member

@matt-bernhardt matt-bernhardt commented Jul 12, 2023

This writes out the steps I've been following, particularly for the last two rounds of updates. This is the starting point for this work, as I'm not certain that I've found a reasonably simple workflow.

The ticket for the last round of updates, which helped define this process, was https://mitlibraries.atlassian.net/browse/pw-49

Developer

Stylesheets

  • Any theme or plugin whose stylesheets have changed has had its version
    string incremented.

Secrets

  • All new secrets have been added to Pantheon tiers
  • Relevant secrets have been updated in Github Actions
  • All new secrets documented in README
  • No secrets are implicated by this change

Documentation

  • Project documentation has been updated
  • No documentation changes are needed

Accessibility

  • ANDI or Wave has been run in accordance to
    our guide and
    all issues introduced by these changes have been resolved or opened as new
    issues (link to those issues in the Pull Request details above)

Stakeholder approval

  • Stakeholder approval has been confirmed
  • Stakeholder approval is not needed

Dependencies

NO dependencies are updated

Code Reviewer

  • The commit message is clear and follows our guidelines
    (not just this pull request message)
  • The changes have been verified
  • The documentation has been updated or is unnecessary
  • New dependencies are appropriate or there were no changes

** Why are these changes being introduced:

* The process of applying upstream changes made by Pantheon to their
  platform has proven to be somewhat complex through the first three
  rounds of updates. We need a how-to document to help us follow a
  consistent workflow.

** Relevant ticket(s):

* https://mitlibraries.atlassian.net/browse/pw-49

** How does this address that need:

* This writes out the steps I've been following, particularly for the
  last two rounds of updates. This is the starting point for this work,
  as I'm not certain that I've found a reasonably simple workflow.

** Document any side effects to this change:

* None - this is a documentation-only change.
@jazairi jazairi self-assigned this Jul 12, 2023
Copy link

@jazairi jazairi left a comment

Choose a reason for hiding this comment

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

This is so clearly written that it makes sense even to me, someone who doesn't understand WP or Pantheon. Well done, and thank you! :) These instructions make sense, and I think I could deploy dependency updates using them. (Incidentally, I see now why we use the default# convention, since we retain the default branch in our repo.)

I have two comments, both non-blocking:

  • Step 8 says to merge catchup into master "after any needed signoffs and review." Could we clarify what this means? Do we want code review before that merge, or QA from stakeholders? Maybe it's a case-by-case thing?
  • I'd prefer to use backticks for branch names throughout, for consistency's sake (they are sometimes enclosed in double quotes).

@matt-bernhardt
Copy link
Member Author

Thanks for that feedback - I think the document looks a bit better now that I've tweaked those aspects. Hopefully I've caught all the backticks this time...

@jazairi
Copy link

jazairi commented Jul 14, 2023

@matt-bernhardt Yep, looks great. Thanks for addressing both comments!

@matt-bernhardt matt-bernhardt merged commit abc2c5e into master Jul 14, 2023
@matt-bernhardt matt-bernhardt deleted the add-howto branch July 14, 2023 19:14
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

Successfully merging this pull request may close these issues.

2 participants