Commit Graph

276 Commits

Author SHA1 Message Date
Andrey Smirnov
8c83706684 Test disable signing & verifying via config file. 2014-02-07 21:09:46 +04:00
Andrey Smirnov
3e5d54f3ef Use config file with all options. 2014-02-07 20:47:29 +04:00
Andrey Smirnov
9b4e858734 Fix root dir location in config file. 2014-02-07 20:46:43 +04:00
Andrey Smirnov
14e66c03a6 Tests for config in other file. 2014-02-07 20:00:43 +04:00
Andrey Smirnov
803570bf26 Support for running individual suites. 2014-02-07 20:00:21 +04:00
Andrey Smirnov
66d1f40a49 Support for config file in any file. 2014-02-07 19:59:26 +04:00
Andrey Smirnov
610940ae5d Mention create empty in command help. 2014-02-07 13:50:20 +04:00
Andrey Smirnov
cddce9a5f7 Fix system test: skip gpg. 2014-02-07 13:50:12 +04:00
Andrey Smirnov
36892a2797 Fix tests. 2014-02-07 13:41:53 +04:00
Andrey Smirnov
f3bad4ee2c Style fixes. 2014-02-07 13:36:10 +04:00
Andrey Smirnov
bb13462f7b Fix error message. 2014-02-07 13:33:15 +04:00
Andrey Smirnov
a3dbc8444b Publishing empty snapshot should fail. 2014-02-07 13:33:01 +04:00
Andrey Smirnov
9dccf2a4ee System test for aptly snapshot create empty. 2014-02-07 13:28:09 +04:00
Andrey Smirnov
919dc53814 aptly snapshot create .. empty command 2014-02-07 13:27:47 +04:00
Andrey Smirnov
87c0430628 Import keys as trusted. 2014-02-07 12:17:55 +04:00
Andrey Smirnov
ca4736674e Make gpg be less chattly about untrusted keys. 2014-02-07 12:17:33 +04:00
Andrey Smirnov
cf3dc6be27 Tests for mirroring repositories with signatures. 2014-02-07 12:06:38 +04:00
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