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

chore: unify template naming#15757

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 6 commits intomainfromphorcys/unify-template-naming
Dec 5, 2024
Merged

Conversation

phorcys420
Copy link
Member

@phorcys420phorcys420 commentedDec 4, 2024
edited
Loading

This PR changes template names and docs to follow the<provider>-<os/whatever> format for all templates.
I've decided not to split this into multiple PRs because I'd have to edit rebase the other PRs once one of them gets merged, this should be relatively low-impact anyways.

This aligns with our goals to make templates more user-friendly.

Closes#15754

@phorcys420phorcys420 changed the titlephorcys/unify template namingchore: unify template namingDec 4, 2024
@phorcys420phorcys420enabled auto-merge (squash)December 4, 2024 23:06
@phorcys420phorcys420 marked this pull request as draftDecember 4, 2024 23:17
auto-merge was automatically disabledDecember 4, 2024 23:17

Pull request was converted to draft

@phorcys420
Copy link
MemberAuthor

I don't know why all these checks are failing, I'll take a look tomorrow.

@matifali
Copy link
Member

You need to runmake gen too.
Alsomake fmt for any possible formatting issues.

Copy link
Member

@matifalimatifali left a comment

Choose a reason for hiding this comment

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

LGTM.
It could be a breaking change if someone is initializing templates in CI.

@bpmct fir visibility.

@matifali
Copy link
Member

@phorcys420 you may also need to runmake update-golden-files as we use the template ids for some CLI tests.
See:https://github.com/coder/coder/actions/runs/12176090929/job/33961115484?pr=15757#step:7:579

Copy link
Contributor

@hugodutkahugodutka left a comment
edited
Loading

Choose a reason for hiding this comment

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

We've started tracking usage of template examples in telemetry with the current coder release. The PR was merged last week:#15671. We use the example IDs to identify the templates in telemetry, so changing them will confuse the statistics. It's fine if we change the IDs now, but they should remain static in the future.@phorcys420, could you add the following comment inexamples/examples.go above the//go:embed directives?

Template paths should not change over time. They are used as persistent identifiers in telemetry.

phorcys420 and matifali reacted with thumbs up emoji
@phorcys420
Copy link
MemberAuthor

@hugodutka thanks for pointing this out!
I guess we have good timing then! I wanted to do this to set a standard naming convention to avoid confusing our users so I think it will also help you if the names are standardized.

@phorcys420phorcys420 marked this pull request as ready for reviewDecember 5, 2024 16:52
@phorcys420
Copy link
MemberAuthor

@matifali is there a way we can merge without weekly-docs passing?

matifali reacted with thumbs up emoji

@phorcys420
Copy link
MemberAuthor

whoops

@matifalimatifali merged commit069655a intomainDec 5, 2024
62 of 66 checks passed
@matifalimatifali deleted the phorcys/unify-template-naming branchDecember 5, 2024 17:37
phorcys420 added a commit that referenced this pull requestDec 6, 2024
aslilac pushed a commit that referenced this pull requestDec 11, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@hugodutkahugodutkahugodutka left review comments

@github-actionsgithub-actions[bot]github-actions[bot] left review comments

@matifalimatifalimatifali approved these changes

@bpmctbpmctAwaiting requested review from bpmct

@johnstcnjohnstcnAwaiting requested review from johnstcn

@EdwardAngertEdwardAngertAwaiting requested review from EdwardAngert

Assignees

@phorcys420phorcys420

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Unify template naming
3 participants
@phorcys420@matifali@hugodutka

[8]ページ先頭

©2009-2025 Movatter.jp