Commit Graph

42 Commits

Author SHA1 Message Date
Andrey Smirnov
e5de8b9353 Print bytes in human-readable format. #18 2014-03-17 17:05:38 +04:00
Andrey Smirnov
d61a77d6e3 With list of components for Release file, do filepath.Base. 2014-03-12 18:37:38 +04:00
Andrey Smirnov
74c88f3ef6 Progress when downloading single files and when parsing remote mirrors. 2014-03-07 00:37:06 +04:00
Andrey Smirnov
3fe8a09928 Major refactoring to lower memory consumption.
Package has been split into multiple structure loaded on demand: files, extra, depends.

They're saved and loaded completely separately.
2014-03-04 16:49:26 +04:00
Andrey Smirnov
901ce3ed00 Add final / to archive URL if missing. 2014-02-25 13:24:51 +04:00
Andrey Smirnov
1fe8a8b703 Refactor GPG clearsigned verification into extract + verification. 2014-02-23 13:44:03 +04:00
Andrey Smirnov
5617385c44 Fix comments. 2014-02-19 17:16:45 +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
e8de4db522 Free up queue as soon as we don't need it anymore. 2014-02-16 23:18:24 +04:00
Andrey Smirnov
47b3f3ed6a Reset count to zero. 2014-02-16 22:08:01 +04:00
Andrey Smirnov
73e0d8c213 Attempt to lower memory pressure a bit. 2014-02-16 21:59:10 +04:00
Andrey Smirnov
e4d8ef4744 Showing download sources argument in mirror show and mirror list. 2014-02-15 16:56:10 +04:00
Andrey Smirnov
fb9b90e715 Tests for downloading with sources, flat and regular repos. 2014-02-15 16:33:00 +04:00
Andrey Smirnov
519082a61e Remote repos with source packages option. 2014-02-14 23:45:14 +04:00
Andrey Smirnov
ad2680aeba Use batched writes to DB when saving packages from the mirror. 2014-02-13 12:32:12 +04:00
Andrey Smirnov
3075addd46 Support for flat repositories. 2014-02-10 14:47:52 +04:00
Andrey Smirnov
7cbba33fe7 Fetching mirror (Release files) with crypto signatures. 2014-02-06 22:12:31 +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
79eaf5d460 Parsing Release files for checksums of Packages files. 2014-02-03 20:57:34 +04:00
Andrey Smirnov
c1feb4210c Pass expected checksums for package files to downloader. 2014-02-03 17:42:12 +04:00
Andrey Smirnov
26267802e9 Dropping remote repos. 2014-01-29 15:57:19 +04:00
Andrey Smirnov
c538ca8cc6 Add options --with-packages to show list of packages in snapshot & mirror. 2014-01-28 12:26:05 +04:00
Andrey Smirnov
81d6325730 Rework downloading: first build queue, then use it to download. 2014-01-16 17:46:57 +04:00
Andrey Smirnov
8ece5368b1 Report back estimated size of downloads. 2014-01-14 14:17:41 +04:00
Andrey Smirnov
1268f744ab Don't download the same files twice in one cycle. 2014-01-13 00:19:45 +04:00
Andrey Smirnov
01338d6037 A bit of niceness: more hints for first-time user. 2014-01-10 13:21:37 +04:00
Andrey Smirnov
4aa24048d5 Major refactoring of files in package: hide them in Package type. 2014-01-05 13:02:33 +04:00
Andrey Smirnov
218057ea48 Add error handling for ForEach's. 2013-12-26 16:58:04 +04:00
Andrey Smirnov
634bfa7b94 New layout for pool files, public subdir & operations. 2013-12-24 11:53:22 +04:00
Andrey Smirnov
8cb25c037b RemoteRepo by UUID lookup. 2013-12-23 20:29:42 +04:00
Andrey Smirnov
c38592dc02 Switch to using internal debian control file parser. 2013-12-23 17:13:09 +04:00
Andrey Smirnov
fe61ae1b41 Use PackageCollection when downloading remote repo. 2013-12-23 14:14:17 +04:00
Andrey Smirnov
e4defeb2fd Store package ref list in separate entity and load it only on demand. 2013-12-20 16:38:50 +04:00
Andrey Smirnov
7940f5e698 Add package refs to mirror state. 2013-12-19 23:35:54 +04:00
Andrey Smirnov
f7f4ba1691 Persisting meta information about release. 2013-12-19 18:18:09 +04:00
Andrey Smirnov
8e08b09aca ForEach method for repositories. 2013-12-19 17:34:13 +04:00
Andrey Smirnov
7470016094 Repository name, uuid, persistence, lookup. 2013-12-19 16:33:53 +04:00
Andrey Smirnov
31181de9e3 Repository mirroring: working first version. 2013-12-18 14:59:22 +04:00
Andrey Smirnov
29ddc4fc00 Refactor to separate FakeDownloader, DownloadWithCompression, repo download. 2013-12-17 18:24:21 +04:00
Andrey Smirnov
068d3aee38 Debian remote repository - inital fetching. 2013-12-16 18:07:08 +04:00