Commit Graph

  • 5046296115 Snaphost publishing goes to publish subcommand. Andrey Smirnov 2013-12-23 20:29:56 +04:00
  • 8cb25c037b RemoteRepo by UUID lookup. Andrey Smirnov 2013-12-23 20:29:42 +04:00
  • c38592dc02 Switch to using internal debian control file parser. Andrey Smirnov 2013-12-23 17:13:09 +04:00
  • bf11f7b4bb Debian control file parser. Andrey Smirnov 2013-12-23 16:39:46 +04:00
  • 4d950b79ab Listing of packages in snapshot. Andrey Smirnov 2013-12-23 14:29:41 +04:00
  • fe61ae1b41 Use PackageCollection when downloading remote repo. Andrey Smirnov 2013-12-23 14:14:17 +04:00
  • 65063135c9 PackageCollection class. Andrey Smirnov 2013-12-23 14:14:03 +04:00
  • 08bd87629b Snapshot management commands. Andrey Smirnov 2013-12-23 13:04:55 +04:00
  • bed85d078f Make snapshot creation errorable. Andrey Smirnov 2013-12-23 13:04:42 +04:00
  • 0f1f0a542c Snapshot's package refs should always be here. Andrey Smirnov 2013-12-23 12:17:48 +04:00
  • 93782d0c2b Style fixes. Andrey Smirnov 2013-12-21 18:46:16 +04:00
  • 9ff59a9650 Snapshots and snapshot collection. Andrey Smirnov 2013-12-21 18:45:52 +04:00
  • 54bcab6a30 Add test for key equivalence. Andrey Smirnov 2013-12-21 18:27:48 +04:00
  • acc42e3483 Start of snapshot work. Andrey Smirnov 2013-12-20 20:13:22 +04:00
  • e38cb8b39e Attempt to fix build. Andrey Smirnov 2013-12-20 19:37:42 +04:00
  • e92f1696bf Use development version of commander. Andrey Smirnov 2013-12-20 19:28:34 +04:00
  • ca33e07366 gofmt Sebastien Binet 2013-12-20 15:42:56 +01:00
  • 37e67331cf all: updates for new gonuts/commander API Sebastien Binet 2013-12-20 15:42:41 +01:00
  • e4defeb2fd Store package ref list in separate entity and load it only on demand. Andrey Smirnov 2013-12-20 16:38:50 +04:00
  • 7940f5e698 Add package refs to mirror state. Andrey Smirnov 2013-12-19 23:35:54 +04:00
  • f7f4ba1691 Persisting meta information about release. Andrey Smirnov 2013-12-19 18:18:09 +04:00
  • 08f045d503 Mirror update, show and list. Andrey Smirnov 2013-12-19 17:34:40 +04:00
  • 8e08b09aca ForEach method for repositories. Andrey Smirnov 2013-12-19 17:34:13 +04:00
  • ed6265da10 First working command: mirror create. Andrey Smirnov 2013-12-19 16:34:31 +04:00
  • 7470016094 Repository name, uuid, persistence, lookup. Andrey Smirnov 2013-12-19 16:33:53 +04:00
  • 97f4e8d5f2 Fetch by prefix from db. Andrey Smirnov 2013-12-19 16:06:28 +04:00
  • b2dbde8301 Use hit count mode in coverage. Andrey Smirnov 2013-12-18 15:21:40 +04:00
  • 31181de9e3 Repository mirroring: working first version. Andrey Smirnov 2013-12-18 14:59:22 +04:00
  • e738ac7ed8 Refactor Downloader: it accepts channel, not generates it. Andrey Smirnov 2013-12-18 12:56:30 +04:00
  • 055c38a4d9 Package comment. Andrey Smirnov 2013-12-18 12:11:46 +04:00
  • a2a51358f9 Package equality, string representation. Andrey Smirnov 2013-12-18 12:11:19 +04:00
  • 148bbc8b2a Slices & maps comparision. Andrey Smirnov 2013-12-18 12:08:35 +04:00
  • 0b3ab49602 Package repository, first version. Andrey Smirnov 2013-12-18 11:31:31 +04:00
  • e0e4b74c58 Fix incorrect creation of directory while downloading. Andrey Smirnov 2013-12-17 21:22:50 +04:00
  • 151a4acfa7 Download to temporary filename, then move to final name. Andrey Smirnov 2013-12-17 20:30:48 +04:00
  • 20524a839d Tests for DownloadTryCompression + error return bugfix. Andrey Smirnov 2013-12-17 19:33:22 +04:00
  • 4b3d74c64e Style fix: Url -> URL. Andrey Smirnov 2013-12-17 19:14:38 +04:00
  • 430f5cea1d Bring coverage back! Andrey Smirnov 2013-12-17 18:40:23 +04:00
  • 29ddc4fc00 Refactor to separate FakeDownloader, DownloadWithCompression, repo download. Andrey Smirnov 2013-12-17 18:24:21 +04:00
  • b4e6c281c2 Temporary test driver. Andrey Smirnov 2013-12-17 18:01:40 +04:00
  • 3660a94ea6 Comments on public entities. Andrey Smirnov 2013-12-17 18:01:07 +04:00
  • b48ae09ee7 Revert "msgpack incompatible with Go 1, try to use json instead." Andrey Smirnov 2013-12-17 12:20:45 +04:00
  • f01bc162fd Don't test on go1 anymore, goleveldb doesn't work there. Andrey Smirnov 2013-12-17 12:19:42 +04:00
  • 5e078fb413 Fix usage with new version of goleveldb. Andrey Smirnov 2013-12-17 12:06:38 +04:00
  • b73def6b32 LevelDB first mockup. Andrey Smirnov 2013-12-17 12:01:32 +04:00
  • 7bf9f00345 Include architecture into Package key. Andrey Smirnov 2013-12-17 11:10:20 +04:00
  • 807bcc77f9 msgpack incompatible with Go 1, try to use json instead. Andrey Smirnov 2013-12-17 11:04:39 +04:00
  • 6c1b3aef3c Verbose gocheck files. Andrey Smirnov 2013-12-16 23:05:14 +04:00
  • dfc150aa39 Preliminary support for Package, very simple. Andrey Smirnov 2013-12-16 23:04:36 +04:00
  • 1ede4d569c No need to run env anymore. [ci skip] Andrey Smirnov 2013-12-16 18:13:20 +04:00
  • d2b79e4cf3 Disable coverage in Travis. Andrey Smirnov 2013-12-16 18:08:43 +04:00
  • 068d3aee38 Debian remote repository - inital fetching. Andrey Smirnov 2013-12-16 18:07:08 +04:00
  • 1e52b55e41 Rework downloader to be interface + implementation. Andrey Smirnov 2013-12-16 18:06:31 +04:00
  • 247acf819e Fix string search. Andrey Smirnov 2013-12-16 16:39:57 +04:00
  • f58db85edf List check utils. Andrey Smirnov 2013-12-16 16:18:32 +04:00
  • 0151af17c7 Finish package move. Andrey Smirnov 2013-12-16 16:18:19 +04:00
  • 733e1a398f Log downloads. Andrey Smirnov 2013-12-16 16:17:58 +04:00
  • 5a8799f8c1 Move downloader to separate package. Andrey Smirnov 2013-12-16 00:53:38 +04:00
  • c7cb2a9a83 Downloading to temp file. Andrey Smirnov 2013-12-16 00:45:00 +04:00
  • 2c111aaa3b Try to use go cover from 1.2 as local coverage tool. [ci skip] Andrey Smirnov 2013-12-16 00:44:25 +04:00
  • b5b5305ada Add CI badges. Andrey Smirnov 2013-12-15 14:45:03 +04:00
  • 54e1ec1065 Bring back dependency on gocov. Andrey Smirnov 2013-12-15 12:22:48 +04:00
  • dbc3b946d5 Fix finally travis.yml. Andrey Smirnov 2013-12-15 12:19:13 +04:00
  • a1906b7f2b Fix TRAVIS conditional. Andrey Smirnov 2013-12-15 12:17:50 +04:00
  • 3b9703b85b Fix prepare target. Andrey Smirnov 2013-12-15 12:17:10 +04:00
  • dcbf7f86d6 Try to run coverage only on go1.2. Andrey Smirnov 2013-12-15 12:13:59 +04:00
  • 5947f8c41d Attempt to build in Travis w/o coverage. Andrey Smirnov 2013-12-14 12:04:14 +04:00
  • d489365be2 Travis CI setup. Andrey Smirnov 2013-12-13 23:28:24 +04:00
  • 5181334336 Add MIT license. Andrey Smirnov 2013-12-13 23:16:21 +04:00
  • 29aec4a898 Stub for README. Andrey Smirnov 2013-12-13 23:15:42 +04:00
  • 11456e8959 Downloader. Andrey Smirnov 2013-12-13 21:51:47 +04:00