Commit Graph

259 Commits

Author SHA1 Message Date
Andrey Smirnov
d4307ad03c Test on publishing with --skip-signing. 2014-02-07 11:37:01 +04:00
Andrey Smirnov
47225a0e2d Add keyring parameter to supress help messages on empty default keyring. 2014-02-07 10:58:01 +04:00
Andrey Smirnov
f4bf144145 Revert "Use non-default keyring in test, so that we don't have extra messages."
This reverts commit ad623f7d74.
2014-02-07 10:57:19 +04:00
Andrey Smirnov
ad623f7d74 Use non-default keyring in test, so that we don't have extra messages. 2014-02-07 02:07:49 +04:00
Andrey Smirnov
3a51116881 Use better words. 2014-02-07 02:07:41 +04:00
Andrey Smirnov
39d2dd2483 Update system tests not to fail with GPG verification. 2014-02-07 01:23:11 +04:00
Andrey Smirnov
b532cb19ee Verifying and signing releases with GPG, new flags. 2014-02-07 01:22:53 +04:00
Andrey Smirnov
f5ee710098 Major rework of GnuPG interface: support verifying, more help to the user. 2014-02-07 01:22:13 +04:00
Andrey Smirnov
7cbba33fe7 Fetching mirror (Release files) with crypto signatures. 2014-02-06 22:12:31 +04:00
Andrey Smirnov
a9c812a1b3 Style fix. 2014-02-06 21:58:56 +04:00
Andrey Smirnov
09648044db Test for new config options. 2014-02-06 21:58:40 +04:00
Andrey Smirnov
a97365377f New configuration options to disable gpg usage in aptly. 2014-02-06 19:56:26 +04:00
Andrey Smirnov
0e9ccb4481 Publishing repository without signer (no signed files). 2014-02-06 19:55:55 +04:00
Andrey Smirnov
c4a30ce0ce Update docs, we have more features. [ci skip] 2014-02-04 14:12:00 +04:00
Andrey Smirnov
d350e9edba Fix broken code due to addition of Progress. 2014-02-04 13:06:55 +04:00
Andrey Smirnov
ab468bcac4 Use progress when downloading repo. 2014-02-04 12:38:32 +04:00
Andrey Smirnov
679fc3e5fd Bind progress into Downloader. 2014-02-04 12:38:14 +04:00
Andrey Smirnov
e99fee3908 Progress reporter: progress bar + messages. 2014-02-04 12:37:55 +04:00
Andrey Smirnov
c3bcc9f7cb Tests for downloading from broken mirror (checksums). 2014-02-03 23:16:41 +04:00
Andrey Smirnov
62d3c625ed Support for internal webserver in tests. 2014-02-03 23:15:50 +04:00
Andrey Smirnov
3a9ce36662 Fix broken test: nil.Close() 2014-02-03 21:18:30 +04:00
Andrey Smirnov
b4d7f8ec55 Add flag "-ignore-cheksums" to aptly mirror update. 2014-02-03 21:00:12 +04:00
Andrey Smirnov
79eaf5d460 Parsing Release files for checksums of Packages files. 2014-02-03 20:57:34 +04:00
Andrey Smirnov
502ed4366a ignoreMismatch flag for downloading. 2014-02-03 20:56:51 +04:00
Andrey Smirnov
d65de9bd30 Rename serve test names. 2014-02-03 17:42:51 +04:00
Andrey Smirnov
c1feb4210c Pass expected checksums for package files to downloader. 2014-02-03 17:42:12 +04:00
Andrey Smirnov
360e09cc7d Update to new non-pointer interfaces. 2014-02-03 17:41:54 +04:00
Andrey Smirnov
182a4bd39c Update tests. 2014-02-03 17:41:39 +04:00
Andrey Smirnov
35976f5ff1 Trim hashes when parsing packages, export package expected checksums. 2014-02-03 17:41:12 +04:00
Andrey Smirnov
982a25992e Checksum verification while downloading files. 2014-02-03 17:40:41 +04:00
Andrey Smirnov
08123ef5e3 Use values instead of pointers and use io.MultiWriter instead of homegrown impl. 2014-02-03 17:39:49 +04:00
Andrey Smirnov
0dd44f98b8 Restore old function check_file. 2014-02-02 20:08:51 +04:00
Andrey Smirnov
996fc445be Refactor download test to use internal HTTP server. 2014-01-31 22:26:26 +04:00
Andrey Smirnov
df0a678863 Refactor checksum calculation to implement transparent checksum writer. 2014-01-31 21:46:38 +04:00
Andrey Smirnov
89ac907ca3 Sytem test for aptly publish list/drop. 2014-01-31 21:14:48 +04:00
Andrey Smirnov
7ce8b0ff7b Add note that repo has been dropped. 2014-01-31 21:14:35 +04:00
Andrey Smirnov
a1258f2125 Revert: run all tests. 2014-01-31 21:14:13 +04:00
Andrey Smirnov
59d72c8112 System tests for aptly publish snapshot. 2014-01-31 19:04:44 +04:00
Andrey Smirnov
5bd0546fb7 Add note about aptly serve to command output 2014-01-31 19:04:25 +04:00
Andrey Smirnov
67422642ef Fix order of fields. 2014-01-31 19:03:50 +04:00
Andrey Smirnov
de5e39818e Fix description to be more readable. 2014-01-31 19:03:30 +04:00
Andrey Smirnov
cfdcf84fa5 Fix help message. 2014-01-30 13:16:35 +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
0271456ca4 Add 2014 to LICENSE file. 2014-01-30 11:59:19 +04:00
Andrey Smirnov
08bf46e486 Clarify command line usage a bit. 2014-01-29 19:22:56 +04:00
Andrey Smirnov
93eef2cc80 aptly snapshot drop with system tests. 2014-01-29 19:04:53 +04:00
Andrey Smirnov
c4f1179b65 Lookup PublishedRepo by snapshot. 2014-01-29 18:11:40 +04:00
Andrey Smirnov
2487d5da37 Fix option name in error message. 2014-01-29 18:05:22 +04:00
Andrey Smirnov
772035ad44 Find snapshot by source. 2014-01-29 18:00:53 +04:00
Andrey Smirnov
e49afbcd2d Snapshot dropping. 2014-01-29 17:13:42 +04:00