-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[cli] check main after master #8463
Conversation
Why do we need this? It's already possible to do this via:
This makes sense to me. |
I didn't catch that. I removed the new version. |
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.
Could we add a couple unit tests for the repo URL parser? LGTM otherwise.
@pgavlin Did you have a specific thing to test in mind? We already have pulumi/sdk/go/common/util/gitutil/git_test.go Lines 27 to 74 in 2c25c3f
|
Nope, those preexisting tests look good! |
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 otherwise
CHANGELOG_PENDING.md
Outdated
- [cli] - Allow specifying branch with `#branch` in `pulumi new`. | ||
[#8463](https://github.com/pulumi/pulumi/pull/8463) |
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.
Update to reflect the changes in the PR.
We only talk about the master -> main probing, because that is all the PR does. It used to duplicate another feature.
Description
If no branch is specified, probe
master
, then probemain
before failing.Fixes #8428
I would be curious if anyone has a different idea on how to download branches from both master and main without breaking changes.
Checklist