Commit Graph

154 Commits

Author SHA1 Message Date
Andrey Smirnov
21123ac6a4 Add config option to follow dependency to source packages. 2014-02-17 15:08:21 +04:00
Andrey Smirnov
5fb512f86e Add ability to expect responses in any order. 2014-02-15 16:32:28 +04:00
Andrey Smirnov
36446e46a1 Add config option 'downloadSourcePackages'. 2014-02-14 23:44:46 +04:00
Andrey Smirnov
796489e88d Don't compain about missing keys when using custom keyring. 2014-02-13 00:05:21 +04:00
Andrey Smirnov
5bf370e18a Add new flags for specifying GPG keyring manually when signing. 2014-02-12 21:25:33 +04:00
Andrey Smirnov
974d30b837 StrSlice substraction. 2014-02-12 12:59:02 +04:00
Andrey Smirnov
8ae1f7aab0 Fix: progress bar sometimes doesn't disappear. 2014-02-12 11:56:42 +04:00
Andrey Smirnov
766d634fbb terminal.IsTerminal() is not available on FreeBSD until go1.3 2014-02-10 22:48:12 +04:00
Andrey Smirnov
7a3063963c Add note on downloading keys from repository. 2014-02-10 15:29:48 +04:00
Andrey Smirnov
f3bad4ee2c Style fixes. 2014-02-07 13:36:10 +04:00
Andrey Smirnov
ca4736674e Make gpg be less chattly about untrusted keys. 2014-02-07 12:17:33 +04:00
Andrey Smirnov
3a51116881 Use better words. 2014-02-07 02:07:41 +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
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
d350e9edba Fix broken code due to addition of Progress. 2014-02-04 13:06:55 +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
3a9ce36662 Fix broken test: nil.Close() 2014-02-03 21:18:30 +04:00
Andrey Smirnov
502ed4366a ignoreMismatch flag for downloading. 2014-02-03 20:56:51 +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
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
6ffc6056c4 StrSlice deduplication. 2014-01-24 17:45:16 +04:00
Andrey Smirnov
e21506d373 Method to sort keys in map. 2014-01-21 13:36:09 +04:00
Andrey Smirnov
e183ddb981 Stop using log when printing lines. 2014-01-21 13:35:56 +04:00
Andrey Smirnov
7afcc93507 Method Pause/Resume for Downloader. 2014-01-14 14:11:28 +04:00
Andrey Smirnov
d684c87fd1 Add support for dependency & architectures as common options. 2014-01-12 23:55:58 +04:00
Andrey Smirnov
3f82edf5d6 Let default aptly dir be inside home directory. 2014-01-04 13:07:44 +04:00
Andrey Smirnov
a7fb971905 Config file reading/writing. 2013-12-27 19:31:32 +04:00
Andrey Smirnov
8b9bf800ce Make FakeDownloader create dirs as Downloader does. 2013-12-26 23:22:15 +04:00
Andrey Smirnov
08c9b12595 Fix printing gpg prompts. 2013-12-26 18:07:03 +04:00
Andrey Smirnov
47ffd1977a Add prompts when running gpg. 2013-12-26 17:28:22 +04:00
Andrey Smirnov
14d71a654a Check string in slice. 2013-12-26 00:37:24 +04:00
Andrey Smirnov
c1c1776768 Rework Gpg signing to work through interface. 2013-12-25 19:14:15 +04:00
Andrey Smirnov
a33bd14386 Gpg signing. 2013-12-25 00:12:31 +04:00
Andrey Smirnov
c2e443456d Don't delete original and overwrite file when bzipping. 2013-12-25 00:11:52 +04:00
Andrey Smirnov
94628fc035 Thorough test for compression. 2013-12-24 13:07:12 +04:00
Andrey Smirnov
b647f67287 Checksumming files. 2013-12-24 13:01:11 +04:00
Andrey Smirnov
7fe48d8d86 File compression utils. 2013-12-24 12:25:39 +04:00
Andrey Smirnov
e738ac7ed8 Refactor Downloader: it accepts channel, not generates it. 2013-12-18 12:56:30 +04:00
Andrey Smirnov
148bbc8b2a Slices & maps comparision. 2013-12-18 12:08:35 +04:00
Andrey Smirnov
e0e4b74c58 Fix incorrect creation of directory while downloading. 2013-12-17 21:22:50 +04:00
Andrey Smirnov
151a4acfa7 Download to temporary filename, then move to final name. 2013-12-17 20:30:48 +04:00
Andrey Smirnov
20524a839d Tests for DownloadTryCompression + error return bugfix. 2013-12-17 19:33:22 +04:00
Andrey Smirnov
4b3d74c64e Style fix: Url -> URL. 2013-12-17 19:14:38 +04:00
Andrey Smirnov
29ddc4fc00 Refactor to separate FakeDownloader, DownloadWithCompression, repo download. 2013-12-17 18:24:21 +04:00
Andrey Smirnov
1e52b55e41 Rework downloader to be interface + implementation. 2013-12-16 18:06:31 +04:00