Andrey Smirnov
7a5be6736d
When contents generation fails, don't bail out
...
This replaces `panic` which aborts aptly execution with warning
message on console. So aptly continues publishing actions, but
`Contents` indexes might be incomplete.
Error will be printed every time contents generation is triggered.
2017-03-31 00:57:18 +03:00
Andrey Smirnov
516dd7b044
Switch to gometalinter
...
Only small amount of required checks is enabled,
plan is to enable more linters as issues are fixed in the code.
2017-03-23 01:51:08 +03:00
Andrey Smirnov
ff52d2655a
Fix package search missing duplicate packages. #225
...
Implement package list with duplicate entries, use it when
initiating search from PackageCollection.
2016-03-22 12:23:13 +03:00
Andrey Smirnov
cc8a87b448
Cached calculation of package contents. #142
2015-03-31 00:07:07 +03:00
Andrey Smirnov
ee3d414ed5
Don't use shared encodeBuffer, not safe for API mode.
2015-03-30 23:59:00 +03:00
Andrey Smirnov
608870265c
New common interface for PackgeCollection & PackageList: PackageCatalog. #80
2014-08-28 19:41:30 +04:00
Andrey Smirnov
8015966663
Optimize package encoding/decoding a bit by reusing codec handle.
2014-07-25 16:46:52 +04:00
Andrey Smirnov
f007465d18
Change the way package key works: now it includes FilesHash. #60
...
Now duplicate packages (the same name/version/arch) but with different set of files
would be handled as separate entities.
2014-05-29 16:49:05 +04:00
Andrey Smirnov
4240b134e6
Fix spelling.
2014-05-17 22:08:31 +04:00
Andrey Smirnov
ff045f9a48
Fixups after renaming debian -> deb. #21
2014-04-07 21:22:58 +04:00
Andrey Smirnov
fd662c9275
Rename debian -> deb. #21
2014-04-07 21:15:13 +04:00