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

Third round of Pantheon updates #136

Merged
merged 22 commits into from
Jul 11, 2023
Merged

Third round of Pantheon updates #136

merged 22 commits into from
Jul 11, 2023

Conversation

matt-bernhardt
Copy link
Member

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

This is merging without code review, under the approach that this is like dependency updates.

The linked Jira ticket has a more complete accounting for these commits, but the high level summary is:

  • Removes the symlinks we created during migration for the sites on our network (no longer needed)
  • Adds the Composer Patches package to maintain parity with Pantheon's Drupal offering (no actual patches are yet called for in our setup)
  • Adds a script to enable installing the Sage theme (another part of the Roots initiative, and something we may consider if we ever start a theme from scratch)

A number of other included changes don't really apply to us:

  • Removing a Dependabot configuration file
  • Updates to devops scripts that Pantheon uses internally
  • Updates to the CircleCI workflow, which we don't use
  • Updates to the codeowners file
  • Various updates to the changelog

Ticket

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

YES dependencies are updated

John Spellman and others added 20 commits December 5, 2022 16:05
#60)

CMS-1112: Resolves issue where updates to commit choosing logic were causing a merge conflict.
This update to the WordPress (Composer Managed) upstream disables
Dependabot dependency management notifications (we do not want to change
the versions of dependencies in our composer.json file for risk of merge
conflicts).

This update also resolves an issue that was causing releases to not
deploy to the Decoupled WordPress (Composer Managed) upstream.
* add final-ish sage install script

* make the script executable

* add the install sage script

* document how to install sage
this just gives the script and links to the installing sage doc

* add base install doc

* set process timeout to 0 so our script can complete

* remove sort packages
that might change things and cause merge conflicts

* update docs

* add final note about multiple sage themes

* also add note about symlinks

* fix link to screenshot

* Capitalize Composer

Co-authored-by: John Spellman <john.spellman@pantheon.io>

Co-authored-by: John Spellman <john.spellman@pantheon.io>
This update adds an install script (located in /private/scripts and
accessible via Composer) that can assist in installing the Roots Sage
theme on new WordPress (Composer Managed) sites. Documentation can be
found in the README.md file and in the Installing Sage doc in /docs.

This update also disables the Dependabot dependency management
notifications (we do not want to change the versions of dependencies in
our composer.json file for risk of merge
conflicts).

Finally, this update resolves an issue that was causing releases to not
deploy to the Decoupled WordPress (Composer Managed) upstream.
This update adds an install script (located in /private/scripts and accessible via Composer) that can assist in installing the Roots Sage theme on new WordPress (Composer Managed) sites. Documentation can be found in the README.md file and in the Installing Sage doc in /docs.  This update also disables the Dependabot dependency management notifications (we do not want to change the versions of dependencies in our composer.json file for risk of merge conflicts).  Finally, this update resolves an issue that was causing releases to not deploy to the Decoupled WordPress (Composer Managed) upstream.
 This update adds an install script (located in /private/scripts and accessible via Composer) that can assist in installing the Roots Sage theme on new WordPress (Composer Managed) sites. Documentation can be found in the README.md file and in the Installing Sage doc in /docs.  This update also disables the Dependabot dependency management notifications (we do not want to change the versions of dependencies in our composer.json file for risk of merge conflicts).  Finally, this update resolves an issue that was causing releases to not deploy to the Decoupled WordPress (Composer Managed) upstream.
* DB-5248: add composer patches plugin

* DB-5248: exit on patch failure
The Composer Patches plugin provides a way to patch any required Composer package from a local or remote file. This brings the WordPress (Composer Managed) upstream in line with the existing Drupal (Composer Managed) upstream which also supports Composer Patches. You can learn more about Composer Patches here: https://github.com/cweagans/composer-patches
The Composer Patches plugin provides a way to patch any required Composer package from a local or remote file. This brings the WordPress (Composer Managed) upstream in line with the existing Drupal (Composer Managed) upstream which also supports Composer Patches. You can learn more about Composer Patches here: https://github.com/cweagans/composer-patches
* break out the conditional to be more explicit
this if statement was failing when it was all on one line. Breaking it
out has the result of actually accomplishing what is intended in the
code

* fix skip check
previously we were skipping everything

* fixes an unbound variable error

* accept incoming code from cherry pick

* Be explicit in our check vs $skip

Co-authored-by: Phil Tyler <philip@tylerdigital.com>

---------

Co-authored-by: Phil Tyler <philip@tylerdigital.com>
* break out the conditional to be more explicit
this if statement was failing when it was all on one line. Breaking it
out has the result of actually accomplishing what is intended in the
code

* fix skip check
previously we were skipping everything

* fixes an unbound variable error

* accept incoming code from cherry pick

* Be explicit in our check vs $skip

Co-authored-by: Phil Tyler <philip@tylerdigital.com>

---------

Co-authored-by: Phil Tyler <philip@tylerdigital.com>
* Add CMS Platform to CODEOWNERS

* Update CODEOWNERS

Co-authored-by: Phil Tyler <philip@tylerdigital.com>

---------

Co-authored-by: Phil Tyler <philip@tylerdigital.com>
Third round of upstream changes from Pantheon
** Why are these changes being introduced:

* The symlinks for the sites on our network are no longer needed, and
  can be removed.
* Additionally, we need a place for documenting how upstream changes
  like these should be merged into our codebase.

** Relevant ticket(s):

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

** How does this address that need:

* This removes all the site-related symlinks in the web/ directory, as
  well as their entries in the phpcs.xml configuration. They are no
  longer needed.
* Additionally, this adds a stub documentation page for how to apply
  these updates, which will be fleshed out in a subsequent PR.

** Document any side effects to this change:

* None, unless you count having the stub page as a side effect.
@matt-bernhardt matt-bernhardt merged commit 148acb5 into master Jul 11, 2023
@matt-bernhardt matt-bernhardt deleted the catch3 branch July 11, 2023 20:27
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.

4 participants