Releases: brevdev/brev-cli
v0.3.1
v0.2.1
Changelog
0aaa325 removing on from dev feature flag
afa3df1 Update install-latest.sh
03a155d Delete install-brev.sh
543e213 Update install-latest.sh
7c90d03 update docs
445b8c8 made tests more resilient
0d49e9e add newline to log message
cec42f3 handle error from writing ssh config backup file and print backup location
7c8df37 rehydrate cache when logged in
f1ec989 more messaging2
5d3f252 more messaging
0d5010d better outputs
aacc7f8 fix and test for files.GetNewBackupSSHConfigFilePath
7b4f137 need to fix something
39634d8 output messaging
1a1d6ba Revert "change default file permissions from 0770 to 0644"
2829ab5 adding first pass of logs/feedback for on command
e952544 change default file permissions from 0770 to 0644
d5eca33 updated the annotations:
5c0cd58 func literal addressed in goroutine
0082d30 making tests pass and got it working
52a3399 fixed unique ports for workspace
902673f fixing fs so that it uses in mem file system
1aa61f6 getting tests to pass
fa30887 wiring up mapping to config
f685675 adding mapping to ssh ports
778ffe1 fixing tests and moving config logic into struct
3ddeeef start command has a loader now
3ecb203 add test for ConfigureSSH with active workspaces
645f3fb implemented getter funons
4cf8839 fix TestConfigureSSH
e76e27d adding default ssh configurer
c81c8a6 Add failing test for configure ssh
c40bfa9 refactoring to inject client that abides by interface rather than constructing it
4c86e25 ConfigureSSH writes privatekey to disk && refactor files.WriteSSHPrivateKey to use fs
16b4df7 reset text
65ebe30 use fs in ConfigureSSH
eaf019a interfacing out client
a4d313c adding multi workspace group capability
4a4424b refactor GetActiveOrgContext to take afero.Fs arguement
1b102dc tests passing for ssh
2323944 add failing test for CreateBrevSShConfigEntries
c6e04c3 add afero and test for appendBrevEntry
cc92cc5 refactoring to make more sense in on, sshall, and portforward
78bd614 remove unused field from brev ssh test suite struct
d6d9210 add test for PruneInactiveWorkspaces
cef980a pass file to appendBrevEntry
0264198 refactor logic for creating config entries and other refactoring
c2508f8 changing return error from string
5c209a9 remove useless function
2cfb58e implement GetWorkspaceLocalSSHPort
8868427 adding on pacckage
1f7aede make test Splitworkspacebyconfigmembership pass
71786b5 fixing test
554d761 changing workspaces to be injected
74618e8 making run sshall modular
2405880 cache on network call
c50e854 provide better name for ssh & files test suites
c5034ef fix checkIfBrevHost test
f256c7f remove dead function
140cdcc remove obsolete function to get sshconfig file in favor of shiny one
7c9e579 add failing test for filter existing workspaceNames
d91fb5d use files to access ssh config file
6588083 add a failing test for CheckIfBrevHost aand refactor ssh suite setup
9b9b7ac first pass of ssh all done
278fac5 add ssh config file util functions & tests for one
8d7e8f2 Merge branch 'main' of github.com:brevdev/brev-cli into main
8c29e10 threaded stuff
8f4655c ls allows optional active org flag
6e43c53 use filepath instead of fmt to build filepaths
5c8f40d add test for ssh package
13fc9c7 remove prompt from login command
cb08da5 refactoring port forward to be used outside of cmd
d9beb9b removed config command pt2
33f45ef removed import
3c4be90 typo
f402af7 brev clone activeorg override flag
4270545 reset command works
8b2286e start and stop work once the API for stop is deployed
bdc726b moved some common functions to utils
ccc46bc delete workspace works
0e5bb36 temp
27dffcf ls shows workspace info
580d259 the rest of the cache
439b950 templating and output changes
e49be66 remove configure command
bc9f178 refactor ssh config functions to its own package
9d755a0 scaffold
42b492a adding sshall command and dev toggle
8eee5b1 formatting and adding lint on save
a1f7611 fixing setup sh
7d56c3f adding smoke test and release step
1d5f3ac fixing setup script to add golang correctly
b187762 brev clone
v0.2.0
Changelog
bc628b8 update docs
0d49e9e add newline to log message
cec42f3 handle error from writing ssh config backup file and print backup location
7c8df37 rehydrate cache when logged in
f1ec989 more messaging2
5d3f252 more messaging
0d5010d better outputs
aacc7f8 fix and test for files.GetNewBackupSSHConfigFilePath
7b4f137 need to fix something
39634d8 output messaging
1a1d6ba Revert "change default file permissions from 0770 to 0644"
2829ab5 adding first pass of logs/feedback for on command
e952544 change default file permissions from 0770 to 0644
d5eca33 updated the annotations:
5c0cd58 func literal addressed in goroutine
0082d30 making tests pass and got it working
52a3399 fixed unique ports for workspace
902673f fixing fs so that it uses in mem file system
1aa61f6 getting tests to pass
fa30887 wiring up mapping to config
f685675 adding mapping to ssh ports
778ffe1 fixing tests and moving config logic into struct
3ddeeef start command has a loader now
3ecb203 add test for ConfigureSSH with active workspaces
645f3fb implemented getter funons
4cf8839 fix TestConfigureSSH
e76e27d adding default ssh configurer
c81c8a6 Add failing test for configure ssh
c40bfa9 refactoring to inject client that abides by interface rather than constructing it
4c86e25 ConfigureSSH writes privatekey to disk && refactor files.WriteSSHPrivateKey to use fs
16b4df7 reset text
65ebe30 use fs in ConfigureSSH
eaf019a interfacing out client
a4d313c adding multi workspace group capability
4a4424b refactor GetActiveOrgContext to take afero.Fs arguement
1b102dc tests passing for ssh
2323944 add failing test for CreateBrevSShConfigEntries
c6e04c3 add afero and test for appendBrevEntry
cc92cc5 refactoring to make more sense in on, sshall, and portforward
78bd614 remove unused field from brev ssh test suite struct
d6d9210 add test for PruneInactiveWorkspaces
cef980a pass file to appendBrevEntry
0264198 refactor logic for creating config entries and other refactoring
c2508f8 changing return error from string
5c209a9 remove useless function
2cfb58e implement GetWorkspaceLocalSSHPort
8868427 adding on pacckage
1f7aede make test Splitworkspacebyconfigmembership pass
71786b5 fixing test
554d761 changing workspaces to be injected
74618e8 making run sshall modular
2405880 cache on network call
c50e854 provide better name for ssh & files test suites
c5034ef fix checkIfBrevHost test
f256c7f remove dead function
140cdcc remove obsolete function to get sshconfig file in favor of shiny one
7c9e579 add failing test for filter existing workspaceNames
d91fb5d use files to access ssh config file
6588083 add a failing test for CheckIfBrevHost aand refactor ssh suite setup
9b9b7ac first pass of ssh all done
278fac5 add ssh config file util functions & tests for one
8d7e8f2 Merge branch 'main' of github.com:brevdev/brev-cli into main
8c29e10 threaded stuff
8f4655c ls allows optional active org flag
6e43c53 use filepath instead of fmt to build filepaths
5c8f40d add test for ssh package
13fc9c7 remove prompt from login command
cb08da5 refactoring port forward to be used outside of cmd
d9beb9b removed config command pt2
33f45ef removed import
3c4be90 typo
f402af7 brev clone activeorg override flag
4270545 reset command works
8b2286e start and stop work once the API for stop is deployed
bdc726b moved some common functions to utils
ccc46bc delete workspace works
0e5bb36 temp
27dffcf ls shows workspace info
580d259 the rest of the cache
439b950 templating and output changes
e49be66 remove configure command
bc9f178 refactor ssh config functions to its own package
9d755a0 scaffold
42b492a adding sshall command and dev toggle
8eee5b1 formatting and adding lint on save
a1f7611 fixing setup sh
7d56c3f adding smoke test and release step
1d5f3ac fixing setup script to add golang correctly
b187762 brev clone
v0.1.5
Changelog
c7a623b add port flag to link command
d29b147 fix entries commented out
09742c5 update readme with notes
f860891 add configure command
d1cca73 add go language server protocol for emacs
1b13226 added progress bar to refresh command
2805e82 print message to user if org not set
8ebc002 ls org makes it easier to copy
ddb772c final corner case
f7d5536 ensure only fetching my workspaces
efcf47f link args by name works too
95f735a add checklist to release
875dc67 print no workspaces on brev ls if no workspaces
2f60613 printing orgs looks more printing workspaces
d0de1c5 any variation of brev ls org/orgs/organiz works
8124c4f brev set orgname instead of using --org flags
18038c8 Update install-latest.sh
v0.1.4
v0.1.3
Changelog
776ea5f read version from buildinfo
b8503e2 add .brev
e9f0e77 Update README.md
35d6d2f adding better formatting for link
b243658 one liner for zsh completion script
07c89db making print statement for link more readable
770ff88 Update README.md
04ff82d uninstall using one line
1ec9d3d update completion command to work on mac (tested on m1)
9381a26 Update install-latest.sh
e599602 Update README.md
18f7a94 Update README.md
e8cc47f adding values to config
c4bc2ee slight styles
fb8d558 ls doesnt require active orgs set
cef3d2b adding support for cli to detect if pod does not exist
09526fa use tee to write to root directory for zsh completion
42fd63f looks beter
452170f printing the right amount of workspaces
bc6e2d2 temp
be74952 only output projects that are yours
b7c67ea print ssh connection string
5c4929d ignore .env file and instead opt for example .env in readme
ee7925b remove extra whitespace
0084389 tidy up completion docs
b87f298 update readme && zsh completion command
1e8add4 more descriptive sudo warning text
9fe73f6 fixing panic in lnk command
50238b5 more dependable location for zsh completions
f595ea7 updated the env file to use better naming convention
13a8801 added prod defaults
87f1641 uptake the new Config
df32436 adding simple config
3b06932 env file
be5bda9 .env
2b28466 added env file
51a3c73 env file
ed9a7d4 .env
1e0dc76 Update README.md
68dc9a8 remove less
f857ed7 curl to sudo sh
4850348 modify install script to get uname for bin
0d76d2b use curl instead of wget
b5df2df actual correct location
b3ab292 use sudo for ubuntu users and correct location
94c1cfb install scripts and tidy readme
70e6f3a fixing brew tap
6f5e11d goreleaser brew take 2
56bec63 goreleaser brew tap
190b6fb Revert "add build command"
9148cac add build command
db48ad8 temporarily disable linting
2bdb314 more liniting fix switch case statement
b299c14 various linting
d0f1aee make fmt
ad6894d fix go vet
6e1ec9c fixed the ls orgs
ddd9a36 save ssh private key to file
0805ae5 adding err handling
e84901c cleaning up swallowed errors and adding launches to debugger
273e41a log user in when credentials file not found
aa98559 cleaned up more code
cbf291f cleaned up some code
b2a0155 better output messaging
d52716b fix config endpoint
cd0154f Revert "Revert "fix login when credentials.json is malformed""
9e5c310 comment out orgs check in ls
e890da2 Revert "fix login when credentials.json is malformed"
b0ac84e disable completions and RunCommandLink no longer anonymous
08fee63 adding condition to ls for more than 0 args
3addc38 Merge branch 'main' of ssh://github.com/brevdev/brev-cli into main
ee4fe1a refactored some stuff for link and config
a0838ba removed get function
bb2ea61 ls orgs works
1addf6c Merge branch 'main' of ssh://github.com/brevdev/brev-cli into main
30ac1e4 hooking up a bunch of things
8ef9257 fix login when credentials.json is malformed
67bf077 Merge branch 'main' of ssh://github.com/brevdev/brev-cli into main
2377970 cleaning up
1e698f9 updated brev set to use the cache
a423ebd adding completion helpers
6c2cde8 cleaning up command
0e0c6b6 updated the cache functions
10ab0b5 adding k8s constructor
38052e4 using base64
ca64088 concurrently caching workspaces per org
d653a80 formatted
40ac591 moved cache to its own file
af1dc8a create the files if they dont exist
49d655e cache happy path and it feels good!
d7ae81f resolving link issues
54443ce resolving new portforward with link
ac2c0d7 refresh cmd for writing and reading from cache
c3c5ce1 brev link rename
60215ff Merge branch 'version' into main
81ffde4 use lowercase go for build command (was breaking linux build)
6da3d6a remove unused args
a6a395b refactor getting filepaths for cert & ssh key, use new methods in portforward command
0a3fc04 make name more consistent
48fa490 save private keys to filesystem
1680375 fixed the make vet issues
a4ec6af added version command. but it doesn't work until we have a github release
5aa0822 added build & release steps from old cli
a883a0f fixing build errors
9d850e1 Merge branch 'main' of https://github.com/brevdev/brev-cli into main
7246089 ran go fmt
1b42c3e remove mockgen to try to fix https://github.com/brevdev/brev-cli/runs/3985565240?check_suite_focus=true#step:4:298
4158bc1 Merge branch 'main' of https://github.com/brevdev/brev-cli into main
4ced62a brev ssh
00d0777 change binary name to brev, add fast-build command to makefile
d6ea014 add get sshprivkey command (not functional)
0f09d1f add logout command and DRY getting credentials file
5ed96f9 ls command finished
f316b81 ls command only works if the active org is set
d0910a5 set actually sets the context and stores it in the file
39604bd merge
2e2fda0 store the org as a context in ~/.brev/active_org.json
37d9474 validate token when creating api client
f8edc18 merged
d581792 some changes to set
ee25321 refactor Agent -> Client & add GetMe command
3ff1074 remove brev binary from source control
f446db5 fix bug where login was called every time get command was run
db5f3cb adding the set command
454b974 Update readme title
e09e4dc add GetMe method to User to be used to validate token
9055bc5 add reminder
3db9eb7 remove cruft
cc8fe82 moving stuff around
94be632 remove unused structs & dependency
076b4b6 auth logic in auth package instead of login command
d539c7e remove legacy files and move auth code into single file
424aec1 update comment to reflect behavior
d6a8a0b remove unused variables
c519c76 refactor out some unused code
7d71684 check for credentials before login (kinda hacky)
3836f62 login cmd works
fa99ffa fix build for login cmd
2f8f9fb Merge branch 'main' of https://github.com/brevdev/brev-cli into main
a0c05fc brev get finished. DX comes later
894804c brev get organizations
87fc9ac formatting, dependencies, and cleanup to build (fails for windows)
e205422 add auth package from auth0 and prototyping login
c3b560c delete login file
5ef3e7d updated get command
639b44b added another old package and started the brev get command
6d57275 Merge branch 'main' of https://github.com/brevdev/brev-cli into main
50cae10 fixed more shit
c7e3e03 added everything and resolved dependencies
7b33c4a get command
b75e4d1 get command
740d13f renaming to connect ssh
5e1e314 changing name
fcbb00b run portforward command from ssh command
49d1e43 simple arg parse ssh command
eea539c ignore build artifacts
d3ceab9 adding ssh commmand
5cf3d68 adding portforward mvp
5b06348 cleaning up from template
bfc0bcc Initial commit
v0.1.2
Changelog
2852497 adding values to config
a3f8f9a slight styles
078b228 ls doesnt require active orgs set
4194c5a adding support for cli to detect if pod does not exist
552cd50 use tee to write to root directory for zsh completion
6a6a465 looks beter
0f46e97 printing the right amount of workspaces
b3abed3 temp
384f6eb only output projects that are yours
d1a6706 print ssh connection string
3225f10 ignore .env file and instead opt for example .env in readme
4d514fc remove extra whitespace
2477564 tidy up completion docs
6bab52e update readme && zsh completion command
55676e0 more descriptive sudo warning text
32f4d38 fixing panic in lnk command
9fe6006 more dependable location for zsh completions
c4effbd updated the env file to use better naming convention
4143e74 added prod defaults
cc45158 uptake the new Config
c451a6e adding simple config
7486389 env file
7421d30 .env
520462a added env file
366db93 env file
7bc5d96 .env
f7d77eb Update README.md
d11f63e remove less
bc4371f curl to sudo sh
109b287 modify install script to get uname for bin
fb56d73 use curl instead of wget
d1fd2ff actual correct location
8b4582e use sudo for ubuntu users and correct location
7329319 install scripts and tidy readme
1ea90c5 fixing brew tap
221b01b goreleaser brew take 2
4b864ff goreleaser brew tap
v0.1.1
Full Changelog: 0.1.0...v0.1.1
v0.1.0
Changelog
b7f9285 more liniting fix switch case statement
7df4eea various linting
ba3dc23 make fmt
26df735 fix go vet
68bd823 fixed the ls orgs
f569a1d save ssh private key to file
f940f71 adding err handling
6bc6033 cleaning up swallowed errors and adding launches to debugger
dfac201 log user in when credentials file not found
a233d99 cleaned up more code
d65f807 cleaned up some code
4f9862f better output messaging
e777a75 fix config endpoint
627a3de Revert "Revert "fix login when credentials.json is malformed""
75ab664 comment out orgs check in ls
8eefaff Revert "fix login when credentials.json is malformed"
4791db4 disable completions and RunCommandLink no longer anonymous
8b1ebb3 adding condition to ls for more than 0 args
57cf057 Merge branch 'main' of ssh://github.com/brevdev/brev-cli into main
26272f4 refactored some stuff for link and config
ecbaf71 removed get function
2010939 ls orgs works
cf85c83 Merge branch 'main' of ssh://github.com/brevdev/brev-cli into main
d1f8745 hooking up a bunch of things
b8be35b fix login when credentials.json is malformed
bcff31a Merge branch 'main' of ssh://github.com/brevdev/brev-cli into main
65b1c70 cleaning up
3b2c3b5 updated brev set to use the cache
6dd8dc7 adding completion helpers
fa09b37 cleaning up command
017fb77 updated the cache functions
0f29e59 adding k8s constructor
a6cafe6 using base64
50af432 concurrently caching workspaces per org
3f3a3e5 formatted
0fbcf3e moved cache to its own file
4bfe8d6 create the files if they dont exist
154dd62 cache happy path and it feels good!
b44591a resolving link issues
41bf33f resolving new portforward with link
85f830f refresh cmd for writing and reading from cache
64a84cf brev link rename
68b56e0 Merge branch 'version' into main
e7c0509 use lowercase go for build command (was breaking linux build)
55006e5 remove unused args
b22094d refactor getting filepaths for cert & ssh key, use new methods in portforward command
da1c2b1 make name more consistent
e8c98f8 save private keys to filesystem
89c0b4d fixed the make vet issues
6b279a0 added version command. but it doesn't work until we have a github release
e3aced2 added build & release steps from old cli
1b40445 fixing build errors
5977222 Merge branch 'main' of https://github.com/brevdev/brev-cli into main
8b1dd76 ran go fmt
1d1bdb8 remove mockgen to try to fix https://github.com/brevdev/brev-cli/runs/3985565240?check_suite_focus=true#step:4:298
30527f1 Merge branch 'main' of https://github.com/brevdev/brev-cli into main
3550c9a brev ssh
977f7fa change binary name to brev, add fast-build command to makefile
961d478 add get sshprivkey command (not functional)
1fb96dd add logout command and DRY getting credentials file
b4ab680 ls command finished
d469adb ls command only works if the active org is set
e14a5ef set actually sets the context and stores it in the file
35bee9b merge
7534f55 store the org as a context in ~/.brev/active_org.json
8ef0897 validate token when creating api client
39d0431 merged
a232935 some changes to set
14434fd refactor Agent -> Client & add GetMe command
daffef1 remove brev binary from source control
2197cb8 fix bug where login was called every time get command was run
4be22ed adding the set command
338bc68 Update readme title
eb12206 add GetMe method to User to be used to validate token
ce60e7b add reminder
f891767 remove cruft
d647335 moving stuff around
f5ecefe remove unused structs & dependency
c998003 auth logic in auth package instead of login command
667e4fa remove legacy files and move auth code into single file
1a1de93 update comment to reflect behavior
7cc249d remove unused variables
62e096c refactor out some unused code
f65c370 check for credentials before login (kinda hacky)
2503148 login cmd works
ee2b85a fix build for login cmd
50902b0 Merge branch 'main' of https://github.com/brevdev/brev-cli into main
601c25a brev get finished. DX comes later
80262ea brev get organizations
b60907a formatting, dependencies, and cleanup to build (fails for windows)
b3008c9 add auth package from auth0 and prototyping login
670e323 delete login file
2515d92 updated get command
ff7b607 added another old package and started the brev get command
b2f2a0a Merge branch 'main' of https://github.com/brevdev/brev-cli into main
82b8929 fixed more shit
9fa31fd added everything and resolved dependencies
6a1c2da get command
ea1c74a get command
f9cf729 renaming to connect ssh
b9fe058 changing name
e12970d run portforward command from ssh command
daa8e7f simple arg parse ssh command
a0d4db8 ignore build artifacts
2f7890a adding ssh commmand
1f77ccb adding portforward mvp
7df6eeb cleaning up from template
bfc0bcc Initial commit
Docker images
docker pull docker.pkg.github.com/brevdev/brev-cli/brev-cli:0docker pull docker.pkg.github.com/brevdev/brev-cli/brev-cli:0.1docker pull docker.pkg.github.com/brevdev/brev-cli/brev-cli:0.1.0