Commit Graph

33 Commits

Author SHA1 Message Date
Andrey Smirnov
516dd7b044 Switch to gometalinter
Only small amount of required checks is enabled,
plan is to enable more linters as issues are fixed in the code.
2017-03-23 01:51:08 +03:00
Andrey Smirnov
68e600974d Refactoring: remove context switching, another way to catch panics, colored output. #96 2014-08-25 22:05:02 +04:00
Simon Aquino
3c7696ef7e Refactored main.go
The main function - whuch runs aptly commands - has been taken out from
main.go and included to the cmd package. This is useful for the aptly
script run command, which should use that behaviour.
2014-08-16 13:55:13 +00:00
Andrey Smirnov
83b2e0250d Rework fatal mechanism, open config on demand. 2014-04-06 21:05:06 +04:00
Andrey Smirnov
f648c9547c Support for switching to smira/commander with free placement of flags. #17 2014-04-03 00:16:18 +04:00
Andrey Smirnov
d84226a054 Switch to own fork of commander/flag. 2014-03-28 23:05:54 +04:00
Andrey Smirnov
91da3b2046 Don't exit if returnCode is 0: otherwise panic is not reported. 2014-03-12 18:15:18 +04:00
Andrey Smirnov
1571a3331d Fix race with context shutdown and error message printing. 2014-03-07 17:23:56 +04:00
Andrey Smirnov
410caa6141 Fix race in shutdown: context should be shut down in case of error. 2014-03-04 18:39:43 +04:00
Andrey Smirnov
1902f38e6b Fix race in fatal exit & context shutdown. 2014-03-04 18:26:19 +04:00
Andrey Smirnov
ccff7935bd Fixes for refactoring to cmd. 2014-02-19 15:07:41 +04:00
Andrey Smirnov
2d589bd23d Refactoring: new packages console, http, Progress is interface. 2014-02-19 13:08:55 +04:00
Andrey Smirnov
d1e16a0ef0 Refactor Repository: split into PackagePool and PublishedStorage. 2014-02-19 12:03:01 +04:00
Andrey Smirnov
af2266d572 Enable following to source dependencies. 2014-02-17 15:09:16 +04:00
Andrey Smirnov
bd89d7c62e Command aptly db cleanup. 2014-02-12 15:29:18 +04:00
Andrey Smirnov
aea8ae9a96 Bump version to 0.4~dev. 2014-02-11 11:28:11 +04:00
Andrey Smirnov
1bba0319cb aptly version 0.3. 2014-02-10 21:12:08 +04:00
Andrey Smirnov
f2a7018335 New command: aptly graph to generate graph of entities created. 2014-02-10 17:33:07 +04:00
Andrey Smirnov
66d1f40a49 Support for config file in any file. 2014-02-07 19:59:26 +04:00
Andrey Smirnov
043ed13c18 aptly serve command: handle publishing of repositories, with system test. 2014-01-30 13:10:19 +04:00
Andrey Smirnov
b04027edad Bump version: waiting for 0.3 2014-01-28 18:33:49 +04:00
Andrey Smirnov
898f726659 Update and fix integrated help in aptly. 2014-01-24 21:49:51 +04:00
Andrey Smirnov
f1d892c759 Fix bug: bad config shouldn't result in overwriting with default. Stop using log. 2014-01-20 23:38:22 +04:00
Andrey Smirnov
667703a9ac Correctly process global options. 2014-01-13 11:19:56 +04:00
Andrey Smirnov
d684c87fd1 Add support for dependency & architectures as common options. 2014-01-12 23:55:58 +04:00
Andrey Smirnov
2c5dcde29d Heading for 0.2 2014-01-04 13:25:47 +04:00
Andrey Smirnov
07891c1660 aptly version command. 2013-12-30 16:41:46 +04:00
Andrey Smirnov
19748c3c92 Config file initialization, using options. 2013-12-27 19:31:45 +04:00
Andrey Smirnov
966e765fea Publishing command. 2013-12-25 19:16:05 +04:00
Andrey Smirnov
08bd87629b Snapshot management commands. 2013-12-23 13:04:55 +04:00
Sebastien Binet
37e67331cf all: updates for new gonuts/commander API 2013-12-20 15:42:41 +01:00
Andrey Smirnov
ed6265da10 First working command: mirror create. 2013-12-19 16:34:31 +04:00
Andrey Smirnov
b4e6c281c2 Temporary test driver. 2013-12-17 18:01:40 +04:00