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

fix(coderd/database): add missing v prefix to provisioner_daemons.api_version#11385

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
johnstcn merged 2 commits intomainfromcj/provisionerd-apiversion-prefix
Jan 3, 2024

Conversation

johnstcn
Copy link
Member

When addingprovisioner_daemons.api_version initially I missed thev prefix.
This is a requirement of/x/mod/semver, so adding a small migration to normalize this now.

@johnstcnjohnstcn self-assigned thisJan 3, 2024
@johnstcnjohnstcnforce-pushed thecj/provisionerd-apiversion-prefix branch froma5e4f8c to4bab3e8CompareJanuary 3, 2024 12:28
@johnstcnjohnstcnforce-pushed thecj/provisionerd-apiversion-prefix branch fromaab20f2 tobe3bc7bCompareJanuary 3, 2024 12:51
// Breaking changes to the provisionerd API **MUST** increment
// the major version below.
APIVersionCurrent="1.0"
APIVersionCurrent="v1.0"
Copy link
Member

Choose a reason for hiding this comment

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

If this is semver, should it be v1.0.0? Maybe this shorthand is allowed though.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

// The general form of a semantic version string accepted by this package is////vMAJOR[.MINOR[.PATCH[-PRERELEASE][+BUILD]]]//// where square brackets indicate optional parts of the syntax;

So shorthand is OK here.

@johnstcnjohnstcn merged commitf80a1cf intomainJan 3, 2024
@johnstcnjohnstcn deleted the cj/provisionerd-apiversion-prefix branchJanuary 3, 2024 14:11
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJan 3, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@mafredrimafredrimafredri approved these changes

@spikecurtisspikecurtisAwaiting requested review from spikecurtis

Assignees

@johnstcnjohnstcn

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@johnstcn@mafredri

[8]ページ先頭

©2009-2025 Movatter.jp