René's URL Explorer Experiment


Title: feat: cli: allow editing template metadata by johnstcn · Pull Request #2159 · coder/coder · GitHub

Open Graph Title: feat: cli: allow editing template metadata by johnstcn · Pull Request #2159 · coder/coder

X Title: feat: cli: allow editing template metadata by johnstcn · Pull Request #2159 · coder/coder

Description: Secure environments for developers and their agents - feat: cli: allow editing template metadata by johnstcn · Pull Request #2159 · coder/coder

Open Graph Description: This PR adds a CLI command template edit which allows updating the following metadata fields of a template: Description Max TTL Min Autostart Interval

X Description: This PR adds a CLI command template edit which allows updating the following metadata fields of a template: Description Max TTL Min Autostart Interval

Opengraph URL: https://github.com/coder/coder/pull/2159

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:ec53cae6-342c-f6b7-fd7e-657759c22d94
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBCAC:2D40DE:11C52E3:168B753:6B015879
html-safe-nonce99ccebbb6983b89b46dbe3b065955f6fa60e436f4e47c4d6b9d86b6b20edf3fd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0FDOjJENDBERToxMUM1MkUzOjE2OEI3NTM6NkIwMTU4NzkiLCJ2aXNpdG9yX2lkIjoiNDY0NTk1MzI2MjE3NDk1MTU0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6335a8da7c66237250c4885e1fc6149849387c35dea939c0ace80e1b3923c946
hovercard-subject-tagpull_request:961512076
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/coder/coder/2159/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4eda0603d3cead3cedcf431166e2f7e30bde958c8055b75b7aa9edfe224d0f15/coder/coder/pull/2159
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4eda0603d3cead3cedcf431166e2f7e30bde958c8055b75b7aa9edfe224d0f15/coder/coder/pull/2159
og:image:altThis PR adds a CLI command template edit which allows updating the following metadata fields of a template: Description Max TTL Min Autostart Interval
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejohnstcn
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/coder/coder/pull/2159#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F2159
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F2159
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/pull/2159
Reloadhttps://github.com/coder/coder/pull/2159
Reloadhttps://github.com/coder/coder/pull/2159
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests470 (470)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
https://github.com/coder/coder
johnstcnhttps://github.com/johnstcn
mainhttps://github.com/coder/coder/tree/main
cj/1433/edit-template-metahttps://github.com/coder/coder/tree/cj/1433/edit-template-meta
Conversationhttps://github.com/coder/coder/pull/2159
Commits4 (4)https://github.com/coder/coder/pull/2159/commits
Checkshttps://github.com/coder/coder/pull/2159/checks
Files changedhttps://github.com/coder/coder/pull/2159/files
feat: cli: allow editing template metadatahttps://github.com/coder/coder/pull/2159#top
johnstcnhttps://github.com/johnstcn
mainhttps://github.com/coder/coder/tree/main
cj/1433/edit-template-metahttps://github.com/coder/coder/tree/cj/1433/edit-template-meta
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Jun 8, 2022https://github.com/coder/coder/pull/2159#issue-1264575232
Please reload this pagehttps://github.com/coder/coder/pull/2159
https://github.com/johnstcn
feat: cli: allow editing template metadatahttps://github.com/coder/coder/pull/2159/commits/3c5b15ab0f99be33b658f1918c14665c34d2ce8f
3c5b15ahttps://github.com/coder/coder/pull/2159/commits/3c5b15ab0f99be33b658f1918c14665c34d2ce8f
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Jun 8, 2022https://github.com/coder/coder/pull/2159#event-6768841878
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
June 8, 2022 11:44https://github.com/coder/coder/pull/2159#event-6769078228
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
June 8, 2022 11:44https://github.com/coder/coder/pull/2159#event-6769079251
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
code ownerhttps://github.com/coder/coder/blob/b65259f95e53e96cd8daf21a5c3de46e51a56f85/.github/CODEOWNERS#L1
June 8, 2022 11:44https://github.com/coder/coder/pull/2159#event-6769079283
Template constraint for workspace scheduling #1433 https://github.com/coder/coder/issues/1433
Add a way to populate template description in CLI to allow display on UI templates screen #1839 https://github.com/coder/coder/issues/1839
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Jun 8, 2022 https://github.com/coder/coder/pull/2159#pullrequestreview-999613433
View reviewed changes https://github.com/coder/coder/pull/2159/files/3c5b15ab0f99be33b658f1918c14665c34d2ce8f
mafredrihttps://github.com/mafredri
https://github.com/coder/coder/pull/2159#pullrequestreview-999613433
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/2159
coderd/templates.gohttps://github.com/coder/coder/pull/2159/files/3c5b15ab0f99be33b658f1918c14665c34d2ce8f#diff-e4edd7bef5348b67fe6c9300916271983bdd479bc511c50f1723854dd737e727
Please reload this pagehttps://github.com/coder/coder/pull/2159
coderd/templates.gohttps://github.com/coder/coder/pull/2159/files/3c5b15ab0f99be33b658f1918c14665c34d2ce8f#diff-e4edd7bef5348b67fe6c9300916271983bdd479bc511c50f1723854dd737e727
Please reload this pagehttps://github.com/coder/coder/pull/2159
codersdk/templates.gohttps://github.com/coder/coder/pull/2159/files/3c5b15ab0f99be33b658f1918c14665c34d2ce8f#diff-b9e34422b1b14571ab97a9e8f1d061337aebbc749c251f5adcd13ddcada9d4b1
Please reload this pagehttps://github.com/coder/coder/pull/2159
coderd/templates.gohttps://github.com/coder/coder/pull/2159/files/3c5b15ab0f99be33b658f1918c14665c34d2ce8f#diff-e4edd7bef5348b67fe6c9300916271983bdd479bc511c50f1723854dd737e727
mafredrihttps://github.com/mafredri
Jun 8, 2022https://github.com/coder/coder/pull/2159#discussion_r892282804
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/2159
johnstcnhttps://github.com/johnstcn
Jun 8, 2022https://github.com/coder/coder/pull/2159#discussion_r892303025
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/2159
mafredrihttps://github.com/mafredri
Jun 8, 2022https://github.com/coder/coder/pull/2159#discussion_r892325286
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/2159
johnstcnhttps://github.com/johnstcn
Jun 8, 2022https://github.com/coder/coder/pull/2159#discussion_r892327519
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/2159
coderd/templates_test.gohttps://github.com/coder/coder/pull/2159/files/3c5b15ab0f99be33b658f1918c14665c34d2ce8f#diff-e6cfa554f43c7f7e93de71c7907304a88a8040eddbeeaea86e80fcb7baa5efec
Please reload this pagehttps://github.com/coder/coder/pull/2159
site/src/api/typesGenerated.tshttps://github.com/coder/coder/pull/2159/files/3c5b15ab0f99be33b658f1918c14665c34d2ce8f#diff-0db594bd57651eba54a837eab00864ea5f931dfdf058eb3dc3b9e2e211fa6e7a
Please reload this pagehttps://github.com/coder/coder/pull/2159
coderd/templates.gohttps://github.com/coder/coder/pull/2159/files/3c5b15ab0f99be33b658f1918c14665c34d2ce8f#diff-e4edd7bef5348b67fe6c9300916271983bdd479bc511c50f1723854dd737e727
Please reload this pagehttps://github.com/coder/coder/pull/2159
cli/templateedit.gohttps://github.com/coder/coder/pull/2159/files/3c5b15ab0f99be33b658f1918c14665c34d2ce8f#diff-d448ce6a6c68a87b08ad6400a14654a82e0c293acb2e4361b1ed951e6fa35dc7
Please reload this pagehttps://github.com/coder/coder/pull/2159
cli/templateedit.gohttps://github.com/coder/coder/pull/2159/files/3c5b15ab0f99be33b658f1918c14665c34d2ce8f#diff-d448ce6a6c68a87b08ad6400a14654a82e0c293acb2e4361b1ed951e6fa35dc7
Please reload this pagehttps://github.com/coder/coder/pull/2159
cli/templateedit.gohttps://github.com/coder/coder/pull/2159/files/3c5b15ab0f99be33b658f1918c14665c34d2ce8f#diff-d448ce6a6c68a87b08ad6400a14654a82e0c293acb2e4361b1ed951e6fa35dc7
Please reload this pagehttps://github.com/coder/coder/pull/2159
https://github.com/johnstcn
https://github.com/mafredri
Apply suggestions from code reviewhttps://github.com/coder/coder/pull/2159/commits/54984b4f06d5fdf03e4f37d2c2d5e3cfae882dbb
54984b4https://github.com/coder/coder/pull/2159/commits/54984b4f06d5fdf03e4f37d2c2d5e3cfae882dbb
https://github.com/Emyrk
Emyrkhttps://github.com/Emyrk
Jun 8, 2022 https://github.com/coder/coder/pull/2159#pullrequestreview-999756960
View reviewed changes https://github.com/coder/coder/pull/2159/files/54984b4f06d5fdf03e4f37d2c2d5e3cfae882dbb
Emyrkhttps://github.com/Emyrk
https://github.com/coder/coder/pull/2159#pullrequestreview-999756960
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/2159
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Jun 8, 2022https://github.com/coder/coder/pull/2159#issuecomment-1149917691
Please reload this pagehttps://github.com/coder/coder/pull/2159
johnstcnhttps://github.com/johnstcn
June 8, 2022 13:42https://github.com/coder/coder/pull/2159#commits-pushed-cf95586
https://github.com/johnstcn
update unit test to check for negative durationshttps://github.com/coder/coder/pull/2159/commits/cf9558680bb861a8a92829e849d37a6719a9db25
cf95586https://github.com/coder/coder/pull/2159/commits/cf9558680bb861a8a92829e849d37a6719a9db25
https://github.com/johnstcn
address PR commentshttps://github.com/coder/coder/pull/2159/commits/b71792cfc9628df7907ff81078de9a3b480fc266
b71792chttps://github.com/coder/coder/pull/2159/commits/b71792cfc9628df7907ff81078de9a3b480fc266
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Jun 8, 2022 https://github.com/coder/coder/pull/2159#pullrequestreview-999808983
View reviewed changes https://github.com/coder/coder/pull/2159/files/b71792cfc9628df7907ff81078de9a3b480fc266
coderd/templates.gohttps://github.com/coder/coder/pull/2159/files/54984b4f06d5fdf03e4f37d2c2d5e3cfae882dbb..b71792cfc9628df7907ff81078de9a3b480fc266#diff-e4edd7bef5348b67fe6c9300916271983bdd479bc511c50f1723854dd737e727
mafredrihttps://github.com/mafredri
Jun 8, 2022https://github.com/coder/coder/pull/2159#discussion_r892416776
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/2159
johnstcnhttps://github.com/johnstcn
Jun 8, 2022https://github.com/coder/coder/pull/2159#discussion_r892417724
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/2159
mafredrihttps://github.com/mafredri
Jun 8, 2022https://github.com/coder/coder/pull/2159#discussion_r892439262
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/2159
johnstcnhttps://github.com/johnstcn
Jun 8, 2022https://github.com/coder/coder/pull/2159#discussion_r892439946
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/2159
Emyrkhttps://github.com/Emyrk
Jun 8, 2022https://github.com/coder/coder/pull/2159#discussion_r892667428
Please reload this pagehttps://github.com/coder/coder/pull/2159
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@mafredrihttps://github.com/mafredri
Please reload this pagehttps://github.com/coder/coder/pull/2159
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
8cfe223https://github.com/coder/coder/commit/8cfe223192c966d351ce7afc8368e1a0f288825e
Jun 8, 2022https://github.com/coder/coder/pull/2159#event-6770312996
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
June 8, 2022 14:14https://github.com/coder/coder/pull/2159#event-6770313107
https://github.co/hiddenchars
https://github.com/coder/coder/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F2159
https://github.com/mafredri
mafredri https://github.com/mafredri
https://github.com/coder/coder/pull/2159/files/b71792cfc9628df7907ff81078de9a3b480fc266
https://github.com/Emyrk
Emyrk https://github.com/Emyrk
https://github.com/coder/coder/pull/2159/files/b71792cfc9628df7907ff81078de9a3b480fc266
Please reload this pagehttps://github.com/coder/coder/pull/2159
https://github.com/johnstcn
johnstcn https://github.com/johnstcn
Please reload this pagehttps://github.com/coder/coder/pull/2159
https://github.com/johnstcn
https://github.com/mafredri
https://github.com/Emyrk
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.