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

Review iteration DX-2981 #3451

Merged
merged 2 commits into from
Aug 16, 2024
Merged

Review iteration DX-2981 #3451

merged 2 commits into from
Aug 16, 2024

Conversation

Naatan
Copy link
Member

@Naatan Naatan commented Aug 16, 2024

StoryDX-2981 `state checkout` can install from an offline source

@mitchell-as turns out I was again wrong on my recollection regarding the progress indication :p Your most recent changes are perfect, and remove the ambiguity I kept stumbling over. So your changes actually clean this up very nicely.

That said I did want to experiment with the ns stuff as your comment didn't quite connect for me, hence the PR.

@Naatan Naatan changed the base branch from master to mitchell/dx-2981 August 16, 2024 17:12
params.Branch = archive.Branch
} else if err := ns.Set(params.Namespace); err != nil {
Copy link
Member Author

@Naatan Naatan Aug 16, 2024

Choose a reason for hiding this comment

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

ns.Set() exists to satisfy and work with the captain flag/argument mechanic. There's no point in using it in this context.

Note the AllowOmitOwner behaviour in ns.Set() is not relevant for checkout, and is again meant to address the flag/argument use-case. We should ideally have separated the types for "namespace" and "namespace flag". Don't wanna go that far for this PR though.

@Naatan Naatan merged commit e0de8ac into mitchell/dx-2981 Aug 16, 2024
12 of 18 checks passed
@Naatan Naatan deleted the nathan/DX-2981 branch August 16, 2024 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants