| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8860c6d0-495d-60a1-2502-43e223fbbcea |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C1E4:1087D4:1B1F2B8:2432EEF:6B0160C1 |
| html-safe-nonce | 4ff9885b68ddaac036b2bedc8bc1f807ac9132dde35466d3be2bcc8010cf9b28 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUU0OjEwODdENDoxQjFGMkI4OjI0MzJFRUY6NkIwMTYwQzEiLCJ2aXNpdG9yX2lkIjoiODQ0NTQzNTQ0ODUyODAzNjAzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 358f7da1620d3842238ef1414fce08fc3c3192b0ddb201ce733f9c2193e904c2 |
| hovercard-subject-tag | pull_request:961512076 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/coder/coder/pull/2159/files |
| twitter:image | https://avatars.githubusercontent.com/u/4949514?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/4949514?s=400&v=4 |
| og:image:alt | This PR adds a CLI command template edit which allows updating the following metadata fields of a template:
Description
Max TTL
Min Autostart Interval |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/coder/coder/pull/2159/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F2159%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F2159%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=coder%2Fcoder |
| Reload | https://github.com/coder/coder/pull/2159/files |
| Reload | https://github.com/coder/coder/pull/2159/files |
| Reload | https://github.com/coder/coder/pull/2159/files |
| coder | https://github.com/coder |
| coder | https://github.com/coder/coder |
| Code | https://github.com/coder/coder |
| Issues320 (320) | https://github.com/coder/coder/issues |
| Pull requests470 (470) | https://github.com/coder/coder/pulls |
| Discussions | https://github.com/coder/coder/discussions |
| Actions | https://github.com/coder/coder/actions |
| Projects | https://github.com/coder/coder/projects |
| Security and quality49 (49) | https://github.com/coder/coder/security |
| Insights | https://github.com/coder/coder/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose |
| johnstcn | https://github.com/johnstcn |
| main | https://github.com/coder/coder/tree/main |
| cj/1433/edit-template-meta | https://github.com/coder/coder/tree/cj/1433/edit-template-meta |
|
Conversation
23
| https://github.com/coder/coder/pull/2159 |
|
Commits
4
| https://github.com/coder/coder/pull/2159/commits |
|
Checks
0
| https://github.com/coder/coder/pull/2159/checks |
|
Files changed
| https://github.com/coder/coder/pull/2159/files |
| Please reload this page | https://github.com/coder/coder/pull/2159/files |
|
feat: cli: allow editing template metadata
| https://github.com/coder/coder/pull/2159/files#top |
|
Show all changes
4 commits
| https://github.com/coder/coder/pull/2159/files |
|
3c5b15a
feat: cli: allow editing template metadata
johnstcn Jun 8, 2022
| https://github.com/coder/coder/pull/2159/commits/3c5b15ab0f99be33b658f1918c14665c34d2ce8f |
|
54984b4
Apply suggestions from code review
johnstcn Jun 8, 2022
| https://github.com/coder/coder/pull/2159/commits/54984b4f06d5fdf03e4f37d2c2d5e3cfae882dbb |
|
cf95586
update unit test to check for negative durations
johnstcn Jun 8, 2022
| https://github.com/coder/coder/pull/2159/commits/cf9558680bb861a8a92829e849d37a6719a9db25 |
|
b71792c
address PR comments
johnstcn Jun 8, 2022
| https://github.com/coder/coder/pull/2159/commits/b71792cfc9628df7907ff81078de9a3b480fc266 |
|
Clear filters
| https://github.com/coder/coder/pull/2159/files |
| Please reload this page | https://github.com/coder/coder/pull/2159/files |
| Please reload this page | https://github.com/coder/coder/pull/2159/files |
|
templateedit.go
| https://github.com/coder/coder/pull/2159/files#diff-d448ce6a6c68a87b08ad6400a14654a82e0c293acb2e4361b1ed951e6fa35dc7 |
|
templateedit_test.go
| https://github.com/coder/coder/pull/2159/files#diff-087e6c191c7c8e24258dae57dfe0c1c23b094fd24f2936dd11497d378ead311a |
|
templates.go
| https://github.com/coder/coder/pull/2159/files#diff-d5b684096dfa0c61b293f31a2a49ae5b74dc085b79088f6cf50d532e3f08e29f |
|
coderd.go
| https://github.com/coder/coder/pull/2159/files#diff-cae99a4758751d753f0ebcc421c2e10c55cbdc9cc6a08bfd89a7eb970db55f36 |
|
databasefake.go
| https://github.com/coder/coder/pull/2159/files#diff-7d8285434c7381493f3ec8aa6c8671699af10be17b34acf10d576495f1de16f9 |
|
querier.go
| https://github.com/coder/coder/pull/2159/files#diff-a96e7cef920f37ba1f1032eba4b241d1a9a06bc2089062b4ed3b1aa73c6bcd48 |
|
queries.sql.go
| https://github.com/coder/coder/pull/2159/files#diff-bc904829e61be3669efa87d9f79fe9137ea288eebef74d7ae9c87cfab9833c43 |
|
templates.sql
| https://github.com/coder/coder/pull/2159/files#diff-108d82429a28748156d0f41400391e8b5416884547004a7e61316e5f4d660b10 |
|
templates.go
| https://github.com/coder/coder/pull/2159/files#diff-e4edd7bef5348b67fe6c9300916271983bdd479bc511c50f1723854dd737e727 |
|
templates_test.go
| https://github.com/coder/coder/pull/2159/files#diff-e6cfa554f43c7f7e93de71c7907304a88a8040eddbeeaea86e80fcb7baa5efec |
|
templates.go
| https://github.com/coder/coder/pull/2159/files#diff-b9e34422b1b14571ab97a9e8f1d061337aebbc749c251f5adcd13ddcada9d4b1 |
|
typesGenerated.ts
| https://github.com/coder/coder/pull/2159/files#diff-0db594bd57651eba54a837eab00864ea5f931dfdf058eb3dc3b9e2e211fa6e7a |
| cli/templateedit.go | https://github.com/coder/coder/pull/2159/files#diff-d448ce6a6c68a87b08ad6400a14654a82e0c293acb2e4361b1ed951e6fa35dc7 |
|
View file
| https://github.com/coder/coder/blob/b71792cfc9628df7907ff81078de9a3b480fc266/cli/templateedit.go |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/2159/{{ revealButtonHref }} |
| cli/templateedit_test.go | https://github.com/coder/coder/pull/2159/files#diff-087e6c191c7c8e24258dae57dfe0c1c23b094fd24f2936dd11497d378ead311a |
|
View file
| https://github.com/coder/coder/blob/b71792cfc9628df7907ff81078de9a3b480fc266/cli/templateedit_test.go |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/2159/{{ revealButtonHref }} |
| cli/templates.go | https://github.com/coder/coder/pull/2159/files#diff-d5b684096dfa0c61b293f31a2a49ae5b74dc085b79088f6cf50d532e3f08e29f |
|
View file
| https://github.com/coder/coder/blob/b71792cfc9628df7907ff81078de9a3b480fc266/cli/templates.go |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/2159/{{ revealButtonHref }} |
|
| https://github.com/coder/coder/pull/2159/files#diff-d5b684096dfa0c61b293f31a2a49ae5b74dc085b79088f6cf50d532e3f08e29f |
|
| https://github.com/coder/coder/pull/2159/files#diff-d5b684096dfa0c61b293f31a2a49ae5b74dc085b79088f6cf50d532e3f08e29f |
| coderd/coderd.go | https://github.com/coder/coder/pull/2159/files#diff-cae99a4758751d753f0ebcc421c2e10c55cbdc9cc6a08bfd89a7eb970db55f36 |
|
View file
| https://github.com/coder/coder/blob/b71792cfc9628df7907ff81078de9a3b480fc266/coderd/coderd.go |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/2159/{{ revealButtonHref }} |
|
| https://github.com/coder/coder/pull/2159/files#diff-cae99a4758751d753f0ebcc421c2e10c55cbdc9cc6a08bfd89a7eb970db55f36 |
|
| https://github.com/coder/coder/pull/2159/files#diff-cae99a4758751d753f0ebcc421c2e10c55cbdc9cc6a08bfd89a7eb970db55f36 |
| coderd/database/databasefake/databasefake.go | https://github.com/coder/coder/pull/2159/files#diff-7d8285434c7381493f3ec8aa6c8671699af10be17b34acf10d576495f1de16f9 |
|
View file
| https://github.com/coder/coder/blob/b71792cfc9628df7907ff81078de9a3b480fc266/coderd/database/databasefake/databasefake.go |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/2159/{{ revealButtonHref }} |
|
| https://github.com/coder/coder/pull/2159/files#diff-7d8285434c7381493f3ec8aa6c8671699af10be17b34acf10d576495f1de16f9 |
|
| https://github.com/coder/coder/pull/2159/files#diff-7d8285434c7381493f3ec8aa6c8671699af10be17b34acf10d576495f1de16f9 |
| coderd/database/querier.go | https://github.com/coder/coder/pull/2159/files#diff-a96e7cef920f37ba1f1032eba4b241d1a9a06bc2089062b4ed3b1aa73c6bcd48 |
|
View file
| https://github.com/coder/coder/blob/b71792cfc9628df7907ff81078de9a3b480fc266/coderd/database/querier.go |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/coder/coder/pull/2159/files |
| coderd/database/queries.sql.go | https://github.com/coder/coder/pull/2159/files#diff-bc904829e61be3669efa87d9f79fe9137ea288eebef74d7ae9c87cfab9833c43 |
|
View file
| https://github.com/coder/coder/blob/b71792cfc9628df7907ff81078de9a3b480fc266/coderd/database/queries.sql.go |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/coder/coder/pull/2159/files |
| coderd/database/queries/templates.sql | https://github.com/coder/coder/pull/2159/files#diff-108d82429a28748156d0f41400391e8b5416884547004a7e61316e5f4d660b10 |
|
View file
| https://github.com/coder/coder/blob/b71792cfc9628df7907ff81078de9a3b480fc266/coderd/database/queries/templates.sql |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/2159/{{ revealButtonHref }} |
|
| https://github.com/coder/coder/pull/2159/files#diff-108d82429a28748156d0f41400391e8b5416884547004a7e61316e5f4d660b10 |
| coderd/templates.go | https://github.com/coder/coder/pull/2159/files#diff-e4edd7bef5348b67fe6c9300916271983bdd479bc511c50f1723854dd737e727 |
|
View file
| https://github.com/coder/coder/blob/b71792cfc9628df7907ff81078de9a3b480fc266/coderd/templates.go |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/2159/{{ revealButtonHref }} |
|
| https://github.com/coder/coder/pull/2159/files#diff-e4edd7bef5348b67fe6c9300916271983bdd479bc511c50f1723854dd737e727 |
| mafredri | https://github.com/mafredri |
| Jun 8, 2022 | https://github.com/coder/coder/pull/2159/files#r892416776 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/coder/pull/2159/files |
| johnstcn | https://github.com/johnstcn |
| Jun 8, 2022 | https://github.com/coder/coder/pull/2159/files#r892417724 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/coder/pull/2159/files |
| mafredri | https://github.com/mafredri |
| Jun 8, 2022 | https://github.com/coder/coder/pull/2159/files#r892439262 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/coder/pull/2159/files |
| johnstcn | https://github.com/johnstcn |
| Jun 8, 2022 | https://github.com/coder/coder/pull/2159/files#r892439946 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/coder/pull/2159/files |
| Emyrk | https://github.com/Emyrk |
| Jun 8, 2022 | https://github.com/coder/coder/pull/2159/files#r892667428 |
| Please reload this page | https://github.com/coder/coder/pull/2159/files |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @mafredri | https://github.com/mafredri |
| Please reload this page | https://github.com/coder/coder/pull/2159/files |
| Please reload this page | https://github.com/coder/coder/pull/2159/files |
| Please reload this page | https://github.com/coder/coder/pull/2159/files |
| mafredri | https://github.com/mafredri |
| Jun 8, 2022 | https://github.com/coder/coder/pull/2159/files#r892282804 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/coder/pull/2159/files |
| johnstcn | https://github.com/johnstcn |
| Jun 8, 2022 | https://github.com/coder/coder/pull/2159/files#r892303025 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/coder/pull/2159/files |
| mafredri | https://github.com/mafredri |
| Jun 8, 2022 | https://github.com/coder/coder/pull/2159/files#r892325286 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/coder/pull/2159/files |
| johnstcn | https://github.com/johnstcn |
| Jun 8, 2022 | https://github.com/coder/coder/pull/2159/files#r892327519 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/coder/pull/2159/files |
|
| https://github.com/coder/coder/pull/2159/files#diff-e4edd7bef5348b67fe6c9300916271983bdd479bc511c50f1723854dd737e727 |
| Please reload this page | https://github.com/coder/coder/pull/2159/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |