-
Notifications
You must be signed in to change notification settings - Fork 5
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 mariadb plugin #47
Conversation
✅ Deploy Preview for lando-backdrop ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a maintainer, but I'd recommend to make separate PRs for the mariadb update and the text changes, rather than combining changes into one.
Text cleanup is helpful but mixing changes in PRs can hide unexpected change.
Same thoughts as last review lando/acquia#95 (comment) on including version number and release date in CHANGELOG.
PRIVACY.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like legal text, suggest caution on changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean by "legal text"? Just fixing a spelling error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean it doesn't look like regular English, but "legalese". We can see that if this is "just a spelling error", it's one propagated through many Lando plugins (search for "softwares" shows many results) and that file appears to be a legal document.
As a fellow contributor and maintainer of other projects, I recommend to propose changes "atomically", ie changing only one thing at a time. Mixing a version bump with changes to legal text can complicate review, or might have downstream effects if that "spelling mistake" actually affected something. I would guess not ... but it's so much easier to focus scope of a PR and be certain there are no unexpected side-effects for the project.
If "softwares" really needs fixing, it would make more sense to fix that across the dozens of places it appears in Lando plugins in one go, rather than ad-hoc alongside other changes.
As noted: I'm not a maintainer here, so it's up to Lando team to make the call!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see what you mean now. This brings up another question. Why are we making changes in dozens of places instead of change one and use anywhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More on the reason for the proposed change: https://thewordcounter.com/plural-of-software/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This thread is now well outside the scope of "Update mariadb plugin".
I recommend moving changes unrelated to the subject of the PR to a separate change. IMO the changes in this PR which do belong here are those proposed to:
- .github/workflows/pr-backdrop-tests.yml
- CHANGELOG.md
- examples/backdrop-mariadb/.lando.yml
- examples/backdrop-mariadb/README.md
- examples/backdrop-mariadb/web/index.php
- examples/backdrop-mariadb/web/info.php
- package-lock.json
- package.json
Changes to those files above look good to me, based on comparison with existing examples and other plugins. The rest I propose to remove from this PR.
It's great to tidy as you go - I respect the good scouting attitude! - but mixing different changes is a complication that can be avoided. Moving unrelated changes to separate PRs allows you to still do that tidying as you go; git add -p
(and git branches) are effective tools to do this.
The first couple paragraphs (and screenshot!) in https://www.netlify.com/blog/2020/03/31/how-to-scope-down-prs/ may explain this better than I am managing to do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@xurizaemon: Moved other changes to #49. Appreciate your feedback. This brings up another question. How do we handle multiple pull requests in the same release? Obviously, we don't want multiple entries in CHANGELOG.md
. Any suggestions @reynoldsalec?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. I'm happy with the changes here now, keen to see tests run which requires a manual action by Lando core team I think.
On the CHANGELOG, yeah I agree. Picking release numbers and dates is out of scope for a PR (that really only works for a maintainer who is cutting releases immediately). A format that works better for contribution is something like https://keepachangelog.com with changes landing in an "Unreleased" section, leaving release management for the maintainer later.
That's a discussion for a separate issue and not specific to this repo, IMO.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree this should be a maintainer responsibility. Maybe the tagged release message can be appended to CHANGELOG.md as part of the process? Typically a release message would include a summary line item for each commit/PR along with a diff of changes from the previous release. This looks interesting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've opened lando/lando#3710 for this, let's discuss there.
6c1ac37
to
9e69eb8
Compare
So are you suggesting the version should be |
More "I don't know, so I recommend to check what the correct next version and publication date will be before making that assertion" than "I think it should be different". Maybe that happens in the PR discussion 😄 Comparing https://github.com/lando/drupal/blob/main/CHANGELOG.md I suspect your version change to 1.4.0 is the correct one. Personally, I would probably leave the date out of the CHANGELOG because I wouldn't want to guess at the release date. (For me it's easier to keep an "Unreleased" section at the top of the CHANGELOG, and let the maintainer make the updates when releases are cut, but that varies per project ... if Lando style is for the proposer to add a date, so be it!). See #47 (comment) Re "x says to update the docs" - agree, but update the docs within the scope of the proposed changes IMO. For general tidy up changes, a separate "Docs improvements" PR is what I'd aim for. Hope this helps! |
f75fc19
to
14a01ff
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, awaiting test run.
14a01ff
to
66676ca
Compare
66676ca
to
5c97495
Compare
@uberhacker I think the error on the mariadb test is from using the |
40f2ce4
to
350d0f4
Compare
This should be ready to go now @reynoldsalec. All tests passed. |
Bare minimum self-checks
main
Pieces of flare
Finally
If you have any issues or need help please join the
#contributors
channel in the Lando slack and someone will gladly help you out!You can also check out the coder guide.