-
Notifications
You must be signed in to change notification settings - Fork 903
feat: refactor deployment config #6347
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from 1 commit
Commits
Show all changes
89 commits
Select commit
Hold shift + click to select a range
6c29207
Initial scaffold
ammario 12dcc45
Add Duration
ammario d1e2e15
Begin converting AccessURL
ammario 8db4626
fixup! Begin converting AccessURL
ammario dc81f47
Start migrating Server
ammario d511001
Convert a couple more fields
ammario 8cc406e
replace DeploymentConfig[T] with bigcli.[T]
ammario 18b2552
Remove .Value calls
ammario bad7aca
Finish destroying newConfig
ammario f075ad5
delete deployment/
ammario 69600d7
rewrite server.go
ammario 63159a6
ugh
ammario 03b08fa
Server boots
ammario e0d6c1e
Move critical options code into `codersdk`
ammario 5bebd0f
DefaultCacheDir
ammario 2c7b39d
Merge remote-tracking branch 'origin/main' into bigcli
ammario 05b3a10
Fix config dir bug
ammario dcbd0d8
update golden --help
ammario fc06f64
Support NoOptDefValue
ammario d31fa37
Don't hide pflag.FlagSet
ammario 0d7d557
Help template scaffold
ammario f3d45d3
Show env in help output
ammario d322114
Merge remote-tracking branch 'origin/main' into bigcli
ammario 8f9d44b
Write more descriptions
ammario acac92d
Organize telemetry
ammario 1c8359b
Finish grouping up flags
ammario 8d0020f
Render subcommands
ammario 882a80f
Convert Groups to first class bigcli feature
ammario ae858b4
deepMapNode?
ammario b34d481
Add YAML tags everywhere.......
ammario e0e113b
Minor changes
ammario 02c8f6c
Group Enterprise flags
ammario 000466f
Massive refactor to improve help formatting
ammario c6133f2
Improve help formatting again
ammario ab21e8f
Send group descriptions to YAML
ammario b816b1a
Fix YAML tests
ammario 559b046
make gen
ammario 3b24149
Pass linter
ammario e422c1d
Fix slim bugs
ammario ea6c3b7
Start frontend... about to go to sleep 🥱
ammario d4aa8d3
Merge remote-tracking branch 'origin/main' into bigcli
ammario 58b6324
Fix remaining go compilation errors
ammario cae2eab
Do some type generation
ammario d4bd380
Fix most broken frontend code...
ammario 8a493ef
Add envparse library
ammario 84b59be
Add legacy git auth env support
ammario ac3507f
Fix Git Provider rendering in frontend
ammario 95db142
Remove unused lint rules
ammario 790f45a
Update golden files
ammario 360b600
Fix all stories
ammario 2344013
Fix server tests
ammario 394fbfa
Merge remote-tracking branch 'origin/main' into bigcli
ammario ac909b5
Disable clidocsgen.. for now
ammario 8a2637d
Server tests pass?
ammario 3ed919e
Start figuring out CLI array bug
ammario d397839
bigcli: fix slice parsing
ammario 957500b
fix remaining calls to deprecated "experimental"
ammario 0890005
Fix more tests
ammario 622df7f
make gen
ammario 362618e
Fix another server test bug
ammario 2fa8b78
Fix logger!
ammario 28e4b07
fix access url test
ammario 410ad26
make gen
ammario 5c3f648
fix frontend!
ammario f29889f
Merge remote-tracking branch 'origin/main' into bigcli
ammario 6ced9cf
Debug log gitAuthConfigs
ammario d9d1592
No more implicit options
ammario 74c6da2
Re-enable cli docs gen
ammario 9e53c96
De-pointer DeploymentValues
ammario 06f82b5
Decompose DeploymentConfig
ammario 2f5a522
Some comments
ammario 53e92fc
Move envparse into bigcli
ammario e9e2908
Minor changes
ammario c3a11fd
Add context to clitest.Start
ammario a090cd4
Remove dead function
ammario d9a8da6
Merge remote-tracking branch 'origin/main' into bigcli
ammario e53367a
Fix FE
ammario 6252316
make lint passes
ammario bf1a099
Pass highlyConfigurable
ammario 274d5c5
Context bug
ammario a213d25
Rename to clibase
ammario 2938980
fix slim build
ammario 140438e
Merge remote-tracking branch 'origin/main' into bigcli
ammario 46936f5
Fix merge issues
ammario 06277c4
Set max token lifetime correctly
ammario fc8e6ca
Command -> Cmd
ammario 2a74445
Typo
ammario 3cfb4bf
Show disabled badge in zero option table
ammario 4d8bc75
Merge remote-tracking branch 'origin/main' into bigcli
ammario File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add Duration
- Loading branch information
commit 12dcc45b94898cbca66b4b05444010096d600ab0
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
// Package bigcli offers an all-in-one solution for a highly configurable CLI | ||
// application. Within Coder, we use it for our `server` subcommand, which | ||
// demands more than cobra/viper can offer. | ||
// demands more functionality than cobra/viper can offer. | ||
// | ||
// We may extend its usage to the rest of our application, completely replacing | ||
// cobra/viper, in the future. It's also a candidate to be broken out into its | ||
// own open-source library. | ||
// cobra/viper. It's also a candidate to be broken out into its own open-source | ||
// library, so we avoid deep coupling with Coder concepts. | ||
package bigcli |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.