Commit Graph

230 Commits

Author SHA1 Message Date
Andrey Smirnov 8d9062cf0f Linking package files from pool. 2013-12-24 13:56:46 +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 634bfa7b94 New layout for pool files, public subdir & operations. 2013-12-24 11:53:22 +04:00
Andrey Smirnov 2778d4891c Small refactorings, test multiline description. 2013-12-24 11:15:34 +04:00
Andrey Smirnov e37bcf2ea0 Converting package back to stanza. 2013-12-24 01:17:05 +04:00
Andrey Smirnov 2e44d23e4d Reading-writing of stanzas. 2013-12-24 00:59:11 +04:00
Andrey Smirnov d8a84adaa0 Extract package hashes to Package structure. 2013-12-23 23:23:44 +04:00
Andrey Smirnov 5046296115 Snaphost publishing goes to publish subcommand. 2013-12-23 20:29:56 +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 bf11f7b4bb Debian control file parser. 2013-12-23 16:39:46 +04:00
Andrey Smirnov 4d950b79ab Listing of packages in snapshot. 2013-12-23 14:29:41 +04:00
Andrey Smirnov fe61ae1b41 Use PackageCollection when downloading remote repo. 2013-12-23 14:14:17 +04:00
Andrey Smirnov 65063135c9 PackageCollection class. 2013-12-23 14:14:03 +04:00
Andrey Smirnov 08bd87629b Snapshot management commands. 2013-12-23 13:04:55 +04:00
Andrey Smirnov bed85d078f Make snapshot creation errorable. 2013-12-23 13:04:42 +04:00
Andrey Smirnov 0f1f0a542c Snapshot's package refs should always be here. 2013-12-23 12:17:48 +04:00
Andrey Smirnov 93782d0c2b Style fixes. 2013-12-21 18:46:16 +04:00
Andrey Smirnov 9ff59a9650 Snapshots and snapshot collection. 2013-12-21 18:45:52 +04:00
Andrey Smirnov 54bcab6a30 Add test for key equivalence. 2013-12-21 18:27:48 +04:00
Andrey Smirnov acc42e3483 Start of snapshot work. 2013-12-20 20:13:22 +04:00
Andrey Smirnov e38cb8b39e Attempt to fix build. 2013-12-20 19:37:42 +04:00
Andrey Smirnov e92f1696bf Use development version of commander. 2013-12-20 19:28:34 +04:00
Sebastien Binet ca33e07366 gofmt 2013-12-20 15:42:56 +01:00
Sebastien Binet 37e67331cf all: updates for new gonuts/commander API 2013-12-20 15:42:41 +01: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 08f045d503 Mirror update, show and list. 2013-12-19 17:34:40 +04:00
Andrey Smirnov 8e08b09aca ForEach method for repositories. 2013-12-19 17:34:13 +04:00
Andrey Smirnov ed6265da10 First working command: mirror create. 2013-12-19 16:34:31 +04:00
Andrey Smirnov 7470016094 Repository name, uuid, persistence, lookup. 2013-12-19 16:33:53 +04:00
Andrey Smirnov 97f4e8d5f2 Fetch by prefix from db. 2013-12-19 16:06:28 +04:00
Andrey Smirnov b2dbde8301 Use hit count mode in coverage. 2013-12-18 15:21:40 +04:00
Andrey Smirnov 31181de9e3 Repository mirroring: working first version. 2013-12-18 14:59:22 +04:00
Andrey Smirnov e738ac7ed8 Refactor Downloader: it accepts channel, not generates it. 2013-12-18 12:56:30 +04:00
Andrey Smirnov 055c38a4d9 Package comment. 2013-12-18 12:11:46 +04:00
Andrey Smirnov a2a51358f9 Package equality, string representation. 2013-12-18 12:11:19 +04:00
Andrey Smirnov 148bbc8b2a Slices & maps comparision. 2013-12-18 12:08:35 +04:00
Andrey Smirnov 0b3ab49602 Package repository, first version. 2013-12-18 11:31:31 +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 430f5cea1d Bring coverage back! 2013-12-17 18:40:23 +04:00
Andrey Smirnov 29ddc4fc00 Refactor to separate FakeDownloader, DownloadWithCompression, repo download. 2013-12-17 18:24:21 +04:00
Andrey Smirnov b4e6c281c2 Temporary test driver. 2013-12-17 18:01:40 +04:00
Andrey Smirnov 3660a94ea6 Comments on public entities. 2013-12-17 18:01:07 +04:00