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 checks for Yarn 2 #759

Merged
merged 5 commits into from
Apr 29, 2020
Merged

Conversation

danielleadams
Copy link
Contributor

Performs checks that look for all the files needed to use Yarn 2 for a build.

@danielleadams danielleadams requested a review from a team as a code owner April 16, 2020 20:01
@danielleadams danielleadams force-pushed the da/detect-yarn-vendor branch 7 times, most recently from 3536dc9 to b5b800d Compare April 22, 2020 15:53
@danielleadams danielleadams force-pushed the da/detect-yarn-vendor branch 2 times, most recently from 62acf03 to 1565ae0 Compare April 23, 2020 16:02
@danielleadams danielleadams force-pushed the da/detect-yarn-vendor branch from f203411 to ef14414 Compare April 27, 2020 14:25
lib/failure.sh Outdated Show resolved Hide resolved
lib/failure.sh Outdated
mcount "failures.missing-yarnrc-yml"
meta_set "failure" "missing-yarnrc-yml"
header "Build failed"
warn "The yarnrc.yml file could not found
Copy link
Member

@Malax Malax Apr 27, 2020

Choose a reason for hiding this comment

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

Nitpick: This is an error, not a warning. Probably suboptimal naming of the logging functions and not related to this PR? This pattern repeats a couple of times in this file.

Copy link
Contributor Author

@danielleadams danielleadams Apr 27, 2020

Choose a reason for hiding this comment

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

Agreed - it makes sense to do some work that lists this as an error with a failure rather than a warn given that one will fail the build and one won't. I'd like to follow up on this outside of this PR.

lib/failure.sh Outdated Show resolved Hide resolved
@danielleadams
Copy link
Contributor Author

@jkutner @Malax I made some changes and comments - let me know what you think

lib/failure.sh Outdated Show resolved Hide resolved
@danielleadams danielleadams force-pushed the da/detect-yarn-vendor branch from 40a2f53 to 12a15f9 Compare April 27, 2020 16:06
@danielleadams
Copy link
Contributor Author

@lillianzhang331 made your suggested changes too!

@danielleadams danielleadams force-pushed the da/detect-yarn-vendor branch from 12a15f9 to 20cb29c Compare April 28, 2020 14:27
@danielleadams danielleadams force-pushed the da/detect-yarn-vendor branch from 20cb29c to d318817 Compare April 28, 2020 18:07
@danielleadams danielleadams merged commit 990a97f into feature/yarn2-support Apr 29, 2020
@danielleadams danielleadams deleted the da/detect-yarn-vendor branch April 29, 2020 15:03
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