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

Upgrading plugins with dependencies #2245

Conversation

BenSurgisonGDS
Copy link
Contributor

@BenSurgisonGDS BenSurgisonGDS commented Jul 5, 2023

See: When updating a plugin relevant dependencies should be installed (the same UX as installing a plugin)

This PR includes:

  • Update functionality for dependent plugins without taking into account versions for the time being.
  • Amendments to the unit tests for the above

@BenSurgisonGDS BenSurgisonGDS self-assigned this Jul 5, 2023
@BenSurgisonGDS BenSurgisonGDS force-pushed the 2242-when-installing-or-updating-a-plugin-the-specified-max-version-of-dependency-plugins-should-also-be-installed-or-upgraded branch from 25d10c1 to b59f0c2 Compare July 6, 2023 14:51
@BenSurgisonGDS BenSurgisonGDS marked this pull request as ready for review July 7, 2023 11:55
@BenSurgisonGDS BenSurgisonGDS force-pushed the 2242-when-installing-or-updating-a-plugin-the-specified-max-version-of-dependency-plugins-should-also-be-installed-or-upgraded branch 2 times, most recently from 0452668 to 39e9461 Compare July 7, 2023 12:47
@nataliecarey
Copy link
Contributor

There's two bugs with uninstalling:

  1. The change to the wording applies on the uninstall page, I'm assuming it was supposed to target the install and upgrade pages only.
  2. When uninstalling GOV.UK Frontend it warns about installing (presumably uninstalling) plugins which aren't installed.

I've recorded a video that shows both these bugs.

Plugin.uninstall.bug.mov

@BenSurgisonGDS BenSurgisonGDS force-pushed the 2242-when-installing-or-updating-a-plugin-the-specified-max-version-of-dependency-plugins-should-also-be-installed-or-upgraded branch 2 times, most recently from e5af97d to fd0ab7b Compare July 14, 2023 15:49
@BenSurgisonGDS BenSurgisonGDS force-pushed the 2242-when-installing-or-updating-a-plugin-the-specified-max-version-of-dependency-plugins-should-also-be-installed-or-upgraded branch from d59dffc to ca8fe9c Compare July 14, 2023 18:07
nataliecarey
nataliecarey previously approved these changes Jul 14, 2023
},
uninstall: {
title: 'Uninstall',
para: 'uninstall',
status: 'uninstalled',
progressive: 'uninstalling'
progressive: 'uninstalling',
other: 'uninstall'
Copy link
Contributor

Choose a reason for hiding this comment

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

Approved, I think there's likely to be a better name than other. if you/we can find a better one before merging that could work or we can just keep an eye out for a better name over time.

@BenSurgisonGDS BenSurgisonGDS merged commit d025ca2 into main Jul 17, 2023
24 checks passed
@BenSurgisonGDS BenSurgisonGDS deleted the 2242-when-installing-or-updating-a-plugin-the-specified-max-version-of-dependency-plugins-should-also-be-installed-or-upgraded branch July 17, 2023 09:36
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.

When updating a plugin relevant dependencies should be installed (the same UX as installing a plugin)
2 participants