Commit Graph

34 Commits

Author SHA1 Message Date
rick olson
97fc2ed06b remove reliance on global config filesystem vars 2017-10-18 18:09:33 -06:00
risk danger olson
bba8f3b876 update package imports 2016-11-15 10:01:18 -07:00
risk danger olson
a12cdc889f RegisterCommand() can no longer disable commands
the config is available at init(), so isCommandEnabled() checks can be
pulled out of the RegisterCommand() callback, simplifying its signature.
2016-09-01 10:09:38 -06:00
risk danger olson
093e6d49a2 update all command setup to use RegisterCommand 2016-09-01 08:46:26 -06:00
risk danger olson
a2b1cc5911 commands: try out RegisterCommand() 2016-08-31 10:17:13 -06:00
Taylor Blau
0f63130c23 commands, lfs: resolve localstorage in PreRun, not init 2016-08-22 16:21:04 -06:00
Taylor Blau
8fd3774c92 errors: Errorf -> Wrapf 2016-08-18 14:35:11 -06:00
risk danger olson
2473068345 rename errutil to errors 2016-08-18 14:20:33 -06:00
risk danger olson
98af5944e1 build commands outside of package init() 2016-08-10 09:33:25 -06:00
Taylor Blau
4593d0a641 vendor: vendor dependencies in vendor/ using Glide
- script/vendor received an update in order to work with Glide
- import paths have been rewritten to work with GO15VENDOREXPERIMENT
2016-05-23 12:10:35 -06:00
Steve Streeting
ab1af11720 Refactor errors and credentials into own packages to break cycles 2016-05-16 15:06:02 +01:00
Steve Streeting
c4bbd3724e Major refactor to pull things into config, httputil, tools
Mainly required to avoid cyclical dependencies when separating other things
2016-05-13 17:38:06 +01:00
rick
795a1ebc0e remove all Short messages 2015-09-17 16:08:28 -06:00
Rick Olson
714a06129e use append since its simpler 2015-06-19 14:46:27 -06:00
Rick Olson
a85ab752c1 can't modify the names array if its len is 0 2015-06-19 14:25:41 -06:00
rubyist
61bc0b01c1 Logs commands should skip directories 2015-06-05 12:39:55 -04:00
Rick Olson
d678d4bf33 update import paths 2015-05-25 12:20:50 -06:00
Rick Olson
216623196a Use goimports instead of gofmt 2015-05-13 13:43:41 -06:00
Rick Olson
e37b695477 rename hawser => git-lfs 2015-03-19 13:30:55 -06:00
Rick Olson
928000feab updating go import paths 2015-01-30 14:08:47 -05:00
rubyist
6cad1955b7 Go code level changes 2015-01-30 13:13:15 -05:00
Rick Olson
f94c1fd2f5 use a gitmedia wrapped error for boomtown 2014-08-07 16:37:59 -06:00
Rick Olson
3d435799ca use built-in Print() 2014-06-26 15:44:50 -06:00
Rick Olson
989f8310ae split logs into 5 commands 2014-06-26 15:40:44 -06:00
Rick Olson
25b3487d99 no periods in the USAGE 2014-06-26 15:22:24 -06:00
Rick Olson
05561b68d7 update logs command 2014-06-26 14:44:30 -06:00
Rick Olson
bdee457dd6 doh, fix errors 2014-06-05 15:35:15 -06:00
Rick Olson
40d27316e7 merge master
ported 2862ab18a691628c8775e9626564fafccae469db to commands/commands.go
2014-06-05 15:33:29 -06:00
Rick Olson
92cf6ea31a remove the old logging 2014-06-05 12:48:23 -06:00
Rick Olson
f83d26fa39 move logging functions to commands package 2014-06-05 12:19:30 -06:00
rubyist
b3227b21cb If there are no logs to show this code would panic. Show a message to the user instead. 2014-06-04 11:12:06 -04:00
rubyist
f6d2ee3a8f First pass at reorg. Builds, tests don't run yet 2014-06-03 11:08:58 -04:00
risk danger olson
b26765d5dd be flexible about missing log directories
if the user's hard drive was gone, they'd notice it in other ways
2014-06-02 09:35:21 -06:00
risk danger olson
152d131e95 rename errors to logs command 2014-06-02 09:35:21 -06:00