Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: allow promoting an existing template version to active from CLI#15051

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
matifali merged 3 commits intocoder:mainfromjoobisb:issue#15042
Oct 17, 2024

Conversation

joobisb
Copy link
Contributor

@joobisbjoobisb commentedOct 12, 2024
edited by matifali
Loading

This PRcloses#15042

@cdr-botcdr-botbot added the communityPull Requests and issues created by the community. labelOct 12, 2024
@matifalimatifali requested a review fromEmyrkOctober 12, 2024 19:17
)
client := new(codersdk.Client)
cmd := &serpent.Command{
Use: "promote",
Copy link
Member

Choose a reason for hiding this comment

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

I don't think there is precedence for required flags, can we add to theUse to include the required flags?

Suggested change
Use:"promote",
Use:"promote --template=<template_name> --template-version=<template_version_name>",

We include required params in otherUse fields:

Use:"autoupdate <workspace> <always|never>",

joobisb reacted with thumbs up emoji
coder v0.0.0-devel

USAGE:
coder templates versions promote [flags]
Copy link
Member

Choose a reason for hiding this comment

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

I know the output[flags] technically includes my usage comment earlier. Given they are required, I wonder if we should include them more explicitly.

joobisb reacted with thumbs up emoji
@joobisb
Copy link
ContributorAuthor

@Emyrk I've addressed the comments, please do have a look

@joobisb
Copy link
ContributorAuthor

@Emyrk I think CI failure is unrelated, can we merge this?

@matifalimatifali merged commit5ebc748 intocoder:mainOct 17, 2024
26 of 27 checks passed
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsOct 17, 2024
@Emyrk
Copy link
Member

It was, thanks@matifali 👍

@joobisbjoobisb deleted the issue#15042 branchOctober 18, 2024 17:53
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@EmyrkEmyrkEmyrk approved these changes

Assignees

@joobisbjoobisb

Labels
communityPull Requests and issues created by the community.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Allow promoting an existing template version to active from CLI
3 participants
@joobisb@Emyrk@matifali

[8]ページ先頭

©2009-2025 Movatter.jp