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

feat(migrations): split #13499

Merged
merged 24 commits into from Jan 13, 2022
Merged

Conversation

pret-a-porter
Copy link
Contributor

Changes:

  1. Bunch of migrations from previously huge PR Refactor/migrations #12957

Context:

  1. Migrate inline with same sort  #11459
  2. Part of Refactor/migrations #12957

Documentation

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

@pret-a-porter pret-a-porter changed the title Feat/split migrations feat(migrations): split Jan 11, 2022
@viceice viceice self-requested a review January 11, 2022 20:35
override run(value): void {
const rebaseConflictedPrs = this.get('rebaseConflictedPrs');

if (rebaseConflictedPrs !== false) {
Copy link
Contributor

Choose a reason for hiding this comment

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

IMO the double negative is a little confusing

Suggested change
if (rebaseConflictedPrs !== false) {
if (rebaseConflictedPrs === true) {

or

Suggested change
if (rebaseConflictedPrs !== false) {
if (rebaseConflictedPrs) {

Copy link
Contributor

Choose a reason for hiding this comment

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

Now I re-read this, I realise that rebaseConflictedPrs is boolean | undefined so you'd need rebaseConflictedPrs === true || rebaseConflictedPrs === undefined. Gotta love that trinary logic 😅

JamieMagee
JamieMagee previously approved these changes Jan 12, 2022
Copy link
Contributor

@JamieMagee JamieMagee left a comment

Choose a reason for hiding this comment

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

Just a couple of small comments from me. I love this new style of migration!

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
@rarkins rarkins enabled auto-merge (squash) January 13, 2022 08:39
@rarkins rarkins merged commit 574196a into renovatebot:main Jan 13, 2022
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 31.24.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@pret-a-porter pret-a-porter deleted the feat/split_migrations branch January 20, 2022 19:38
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants