Andrey Smirnov
186bb2dff0
Add flag to disable/enable support for legacy pool paths
...
Legacy pool paths are enabled by default, but for new aptly installations
(when aptly config is first generated), it would be disabled explicitly.
2017-04-26 23:37:31 +03:00
Andrey Smirnov
3ce8227122
Add baseName to LinkFromPool as explicit argument
2017-04-26 23:17:04 +03:00
Andrey Smirnov
10c096fbb6
Update all other pieces for the CheckumStorage and Verify
2017-04-26 23:17:04 +03:00
Andrey Smirnov
2535367c3c
Update Swift published storage to work with new package pool
2017-04-26 23:17:03 +03:00
Andrey Smirnov
50cf2b49bd
Refactoring: use checksums instead of MD5 for pool/published
...
This is related to #506
As a first step, don't pass MD5 explicitly, pass checksum info object,
so that as a next step we can choose which hash to use.
There should be no functional changes so far.
Next step: stop returning explicit paths from public package pool.
2017-04-01 00:12:31 +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
Einar Forselv
8e62620880
Fixing tests after adding v3 swift auth
2016-09-14 20:53:01 +02:00
Andrey Smirnov
c473a5cba8
Really randomize port in Swift unit-tests.
2015-09-22 11:25:10 +03:00
Andrey Smirnov
84801bce78
Fix unit-tests
...
Go 1.5 has different error message, randomize port number in test to avoid
collisions.
2015-09-22 11:18:57 +03:00
Andrey Smirnov
c2993c6691
Use other port that doesn't interfere with PostgreSQL.
2015-06-18 01:52:37 +03:00
Andrey Smirnov
48b8311150
Style fixes. #191
2015-02-20 23:58:00 +03:00
Sylvain Baubeau
d6271b6542
Use upstream version of ncw/swift
2015-02-11 21:52:16 +03:00
Sylvain Baubeau
11716f06f0
Add test suite for the Swift backend
2015-02-05 18:03:35 +01:00