Commit Graph

95 Commits

Author SHA1 Message Date
Andrey Smirnov 275db14b9f Package.getDependencies method. 2014-01-08 17:40:04 +04:00
Andrey Smirnov 5ccbd232f4 Package MatchesArchitecture, Provides. 2014-01-08 17:32:52 +04:00
Andrey Smirnov 82c06f78f7 Debian version comparison. 2014-01-08 17:14:23 +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 e5712f9745 Unit-test for RemoteRepo.Download. 2013-12-26 23:43:45 +04:00
Andrey Smirnov bc2eba459f Fix bugs with publishing w/o source or short names. 2013-12-26 17:28:37 +04:00
Andrey Smirnov 218057ea48 Add error handling for ForEach's. 2013-12-26 16:58:04 +04:00
Andrey Smirnov be7a1762ac PublishedRepo unit-test. 2013-12-26 00:38:14 +04:00
Andrey Smirnov 67bcd1dfb0 Rework generation of links in repo, use Source path. 2013-12-26 00:37:41 +04:00
Andrey Smirnov 23ec9b0850 Extract 'Source' to top-level Package. 2013-12-26 00:37:07 +04:00
Andrey Smirnov 2263014f5f Safety belt: multi-line fields should always end with \n. 2013-12-26 00:36:39 +04:00
Andrey Smirnov 2bea4bc478 Attempt to fix test: make it more system-agnostic. 2013-12-25 19:19:50 +04:00
Andrey Smirnov 9814a3023b Repo publishing machinery. 2013-12-25 19:15:48 +04:00
Andrey Smirnov fc1f0dcbf7 Expose checksum calculation as repository interface. 2013-12-25 00:11:29 +04:00
Andrey Smirnov 8d9062cf0f Linking package files from pool. 2013-12-24 13:56:46 +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 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 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 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 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 a2a51358f9 Package equality, string representation. 2013-12-18 12:11:19 +04:00
Andrey Smirnov 0b3ab49602 Package repository, first version. 2013-12-18 11:31:31 +04:00
Andrey Smirnov 29ddc4fc00 Refactor to separate FakeDownloader, DownloadWithCompression, repo download. 2013-12-17 18:24:21 +04:00
Andrey Smirnov b48ae09ee7 Revert "msgpack incompatible with Go 1, try to use json instead."
This reverts commit 807bcc77f9.
2013-12-17 12:20:45 +04:00
Andrey Smirnov 7bf9f00345 Include architecture into Package key. 2013-12-17 11:10:20 +04:00
Andrey Smirnov 807bcc77f9 msgpack incompatible with Go 1, try to use json instead. 2013-12-17 11:04:39 +04:00
Andrey Smirnov dfc150aa39 Preliminary support for Package, very simple. 2013-12-16 23:04:36 +04:00
Andrey Smirnov 068d3aee38 Debian remote repository - inital fetching. 2013-12-16 18:07:08 +04:00