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

Update after parameter name change in Viceroy #1033

Merged
merged 2 commits into from
Oct 11, 2023

Conversation

fgsch
Copy link
Member

@fgsch fgsch commented Oct 9, 2023

Sync with Viceroy 0.9.0.

@fgsch fgsch changed the title Update after parameter change Update after parameter name change in Viceroy Oct 10, 2023
@fgsch fgsch marked this pull request as ready for review October 10, 2023 08:20
@@ -568,7 +568,7 @@ func local(opts localOpts) error {
if opts.profileGuestDir.WasSet {
directory = opts.profileGuestDir.Value
}
args = append(args, "--profile-guest="+directory)
args = append(args, "--profile=guest,"+directory)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Will this cause a break for users with an older Viceroy version?

Copy link
Member Author

@fgsch fgsch Oct 10, 2023

Choose a reason for hiding this comment

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

Yes, it will if they have a specific (old) version pinned down somehow.

I say pinned down because Viceroy 0.9.0, the version that contains this change, was released yesterday, and the CLI update mechanism should have updated Viceroy by the time a CLI release includes the compute serve --profile-guest parameter.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah yes, #1019 was merged but hasn't actually been published in a release yet.

So this PR doesn't break anything because the thing it changes hasn't yet been released.

So by the time we cut a new CLI release, most users will have the newer version of Viceroy installed.

As for users who have an older Viceroy pinned, I think you could update the --profile-guest flag description to state that the flag is for Viceroy 0.9.1+.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good idea. Thank you. Updated.

@fgsch fgsch force-pushed the fgsch/update-viceroy-cmd-line branch from e8cdf51 to c15547b Compare October 11, 2023 11:07
@Integralist Integralist merged commit 5d605bb into main Oct 11, 2023
6 checks passed
@Integralist Integralist deleted the fgsch/update-viceroy-cmd-line branch October 11, 2023 11:22
@Integralist Integralist added the enhancement New feature or request label Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants