You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Changelog
bbae572 Improve UI and UX, refactor implementation (#307)
The debug field in tbrc is deprecated. A new global --verbose, -v flag has been added that should be used instead.
All logs, including debug logs, are now written to a temp file and the path to the file is printed if tb exits with an error. This should make troubleshooting easier even without verbose/debug mode.
tb nuke now only touches docker resources managed by tb. Previously nuke would remove all containers, images, networks, and volumes which meant you could lose any of these resources that you had created outside of tb.
The --services, -s flag for tb up is deprecated. To specify a list of services simply pass them as arguments, i.e. tb up postgres redis localstack instead of tb up --services postgres,redis,localstack.
tb clone, tb db, and tb images are all deprecated and will be removed in the future.
tb no longer install programs through brew. tb should not be installing programs behind the scenes, that is too invasive and could have security implications. Most of the programs tb installed were no longer necessary anyway the only one was lazydocker.
Continuing from above, lazydocker is no longer a hard requirement. If it is missing, tb will log a warning message telling you to install it and then skip that step.
There is a new spinner that makes displaying progress much nicer, and it works in verbose/debug mode.
The logs have been redone to be more concise in non-verbose/debug mode for a much more minimal and less noisy output.
Error handling has been redone to be a lot less verbose but also clearer which should make troubleshooting issues easier.
The docker disk usage check performed on tb up has been removed. This was flaky and did not work well on macOS, it did not work at all on linux. We need to figure out a better way to prevent tb's docker usage from constantly growing until the user runs out of space. For now users can run tb nuke --images which will also prune dangling images to free up space and has similar functionality to what the disk usage check provided.
man pages are no longer shipped as part of the brew release. This felt unnecessary and complicated the build process. Instead the help messages for each command have been improved and should be used.