Commit Graph

157 Commits

Author SHA1 Message Date
Andrey Smirnov
1a60ac6aa0 Refactoring: use CollectionFactory instead of manual collection creation. 2014-03-25 14:59:26 +04:00
Andrey Smirnov
140c925079 Fix shadowed variables. 2014-03-24 18:39:45 +04:00
Andrey Smirnov
32717e92ba First round of support for localRepos as source for publishing. Also more intelligent algo to get publishing defaults. #10 #12 2014-03-19 16:43:42 +04:00
Andrey Smirnov
c2fc2f9988 Add placeholders for default local repo publish settings. #12 2014-03-19 16:19:57 +04:00
Andrey Smirnov
1189bca5a4 Add central place to create all collections from. 2014-03-18 18:58:09 +04:00
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
a96ab00afc Verify dependencies with progress. 2014-03-07 18:13:48 +04:00
Andrey Smirnov
c55733fc05 Progress during publishing. 2014-03-07 17:24:45 +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
6f86bfec72 Show progress when loading packages from reflist. 2014-03-07 00:04:35 +04:00
Andrey Smirnov
bed0ac475e Short syntax for aptly mirror create to support ppa:user/project mirror URLs. 2014-03-06 21:06:50 +04:00
Andrey Smirnov
e59c327a7c One more test for partial loading. 2014-03-04 18:10:27 +04:00
Andrey Smirnov
f9cb66a955 Test on reading and converting old pre-0.3 package. 2014-03-04 17:19:52 +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
d6dec91c93 List filtering with dependency resolution. 2014-02-27 15:54:17 +04:00
Andrey Smirnov
774d1d9aab Extract MatchDependency, change Package.String(). 2014-02-27 12:48:13 +04:00
Andrey Smirnov
4df80d38cf SnapshotCollection.ByLocalRepoSource method. 2014-02-26 21:30:14 +04:00
Andrey Smirnov
059abc465b Creating snapshots from local repos. 2014-02-26 21:02:34 +04:00
Andrey Smirnov
e0cb43fbd3 Style fixes. 2014-02-25 14:25:14 +04:00
Andrey Smirnov
ee62dd34f7 Refactoring: Filename now contains only base path, any order of files is accepted. 2014-02-25 14:15:16 +04:00
Andrey Smirnov
901ce3ed00 Add final / to archive URL if missing. 2014-02-25 13:24:51 +04:00
Andrey Smirnov
1400b45d9d Fix PackageCollection.Update to detect conflicts and skip updates when it's not necessary. 2014-02-25 00:40:32 +04:00
Andrey Smirnov
1b10c87bad Updating reflist in local repo. 2014-02-24 23:45:47 +04:00
Andrey Smirnov
1b64612aef Handle corner-case: null reflist. 2014-02-24 12:17:24 +04:00
Andrey Smirnov
1fe8a8b703 Refactor GPG clearsigned verification into extract + verification. 2014-02-23 13:44:03 +04:00
Andrey Smirnov
a44742f6b8 Reading control files from .deb & .dsc files. 2014-02-23 13:20:37 +04:00
Andrey Smirnov
8951b4f42a Reading control file from .deb package. 2014-02-21 20:42:25 +04:00
Andrey Smirnov
8df4378f4c Don't generate default comment for local repos. 2014-02-20 12:01:22 +04:00
Andrey Smirnov
7da203e8d2 Local repo: model + collection. 2014-02-19 23:29:52 +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
19af0547e8 Style fixes [no ci] 2014-02-18 01:00:49 +04:00
Andrey Smirnov
3942734eca Update test to treat empty source as source package name-version same as binary. 2014-02-18 00:30:35 +04:00
Andrey Smirnov
e9449a9b15 Support different formats of supplying Source: field. 2014-02-18 00:21:31 +04:00
Andrey Smirnov
2d1c6e5cf3 Package might specify its own source pkg version. 2014-02-17 20:53:08 +04:00
Andrey Smirnov
506987d31f Support version numbers like pkg (1.4) 2014-02-17 20:52:37 +04:00
Andrey Smirnov
f32c19047f Publishing source packages index. 2014-02-17 15:41:08 +04:00
Andrey Smirnov
a0b1ff8abe Support for dependencies with fixed archs (like as source dependency). 2014-02-17 15:36:16 +04:00
Andrey Smirnov
c2f01c8aa1 When requiring source package, specify exact version of binary package. 2014-02-17 15:35:48 +04:00
Andrey Smirnov
c96491e873 Follow build & source dependencies from package. 2014-02-17 15:06:26 +04:00
Andrey Smirnov
7ab456f6ff Make decorator for architecture be in curly braces, so there's no conflict with Debian "only for arch". 2014-02-17 15:05:34 +04:00
Andrey Smirnov
5af0c45e10 Support for parsing dependencies with architecture like [amd64]. 2014-02-17 14:03:41 +04:00
Andrey Smirnov
54ac38c56b Test for Directory regeneration. 2014-02-17 13:03:50 +04:00
Andrey Smirnov
ba178b9863 Regenerate Directory: field for source packages while publishing. 2014-02-17 13:03:27 +04:00
Andrey Smirnov
d999258744 "all" architecture doesn't match "source", fix for missing checksums while publishing. 2014-02-17 11:41:33 +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