Andrey Smirnov
51213899b7
More Go linters enabled, issues fixed
...
Ref: #528
Enables "staticcheck", "varcheck", "structcheck", "aligncheck"
2017-05-03 18:23:14 +03:00
Andrey Smirnov
bae3f949b4
Enable gosimple and ineffasign linters
2017-04-27 18:34:30 +03:00
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
10c096fbb6
Update all other pieces for the CheckumStorage and Verify
2017-04-26 23:17:04 +03:00
Andrey Smirnov
1f3cb2db5d
When downloading/importing packages, enforce all checksums
2017-04-26 23:17:04 +03:00
Andrey Smirnov
72d233b587
Final round of updates, everything except mirror download should be ready
2017-04-26 23:17:03 +03:00
Clemens Rabe
25f9c29f00
Implemented filesystem endpoint with support for hardlinks, symlinks and copy.
2017-04-13 20:25:40 +02: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
Andrey Smirnov
d04f08c1cf
Correctly handle multine fields in Release/non-Release files. #266
2015-06-26 03:07:33 +03:00
Andrey Smirnov
df887d871b
Skipping contents generation. #142
2015-04-02 00:29:49 +03:00
Andrey Smirnov
ed931e7ed4
Fix unit-tests. #153
2015-03-11 23:29:07 +03:00
Andrey Smirnov
903d4cefba
gofmt -s
2015-02-22 14:29:09 +03:00
Chris Read
daf887e54f
Upgrade gocheck
2014-11-05 13:27:15 -06:00
Andrey Smirnov
89bb20388f
Fix unit tests. #122
2014-10-10 17:52:09 +04:00
Andrey Smirnov
1daa076d65
Don't allow '/' in distribution name, auto-replace '/' with '-' while guessing. #110
2014-10-01 22:59:05 +04:00
Andrey Smirnov
7ad1bb387b
Support for .udeb downloads from remote mirrors. #108
2014-09-25 19:34:16 +04:00
Andrey Smirnov
97158ef37b
Support for --passphrase & --passphrase-file arguments on publishing. #94
2014-09-01 15:13:07 +04:00
Andrey Smirnov
38ea595c9a
Add forceOverwrite on the path to LinkFromPool. #90
2014-08-05 15:47:23 +04:00
Andrey Smirnov
6d026afc69
Support for multiple storages in PublishedRepository. #15
2014-07-21 17:19:13 +04:00
Andrey Smirnov
96e878a2e0
Separate out LocalPublishedStorage interface. #15
2014-07-18 17:44:54 +04:00
Andrey Smirnov
fbf1bc14b7
Refactoring PublishedStorage interface: leave operations suitable for S3. #15
2014-07-17 00:54:44 +04:00
Andrey Smirnov
17c564358a
Refactoring, support for atomic updates and checksumming. #61
2014-06-07 16:44:54 +04:00
Andrey Smirnov
2e4c1c491e
Merge branch 'debinst' of https://github.com/ryanuber/aptly into ryanuber-debinst
...
Conflicts:
deb/publish_test.go
2014-06-07 16:34:39 +04:00
Andrey Smirnov
0f1074a721
Fix tests. #36
2014-06-07 16:17:59 +04:00
Andrey Smirnov
20a7c5ae2d
A bit more unit-tests with multi-component repositories. #36
2014-06-04 01:07:32 +04:00
Andrey Smirnov
ee71b93669
Major change: published repo now supports multiple components <> snapshots (local repos). #36
2014-06-03 14:34:26 +04:00
Ryan Uber
9a4543500c
Handle source repos while creating dist release file
2014-05-29 22:24:19 -07:00
Ryan Uber
b0f9a4a419
Added tests for Release file in distribution directory
2014-05-29 22:07:59 -07:00
Andrey Smirnov
522684aabb
Use progress for printing. #8
2014-04-22 17:19:39 +04:00
Andrey Smirnov
9445f3a0fa
Basis for repo re-publishing, cleaning up prefix + component published package pool. #8
2014-04-22 17:07:25 +04:00
Andrey Smirnov
b85f46547b
Allow to customize Origin/Label during publishing. #29
2014-04-15 11:47:21 +04:00
Andrey Smirnov
a8cf83774a
PublishedRepo remembers RefList is has been published with. #8
2014-04-08 11:58:32 +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