Andrey Smirnov
|
bae3f949b4
|
Enable gosimple and ineffasign linters
|
2017-04-27 18:34:30 +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
|
11d828b3b1
|
Add govet/golint into Travis CI build
Fix current issues
|
2017-03-22 21:49:16 +03:00 |
|
Andrey Smirnov
|
e63adffdf5
|
Introduce back reflist merging without conflict removal. aptly db cleanup requires
full reference list collection. #217
Fixes bug with aptly db cleanup removing conflicting packages.
|
2015-03-06 14:54:29 +03:00 |
|
Andrey Smirnov
|
398303235a
|
Custom JSON marshalling for PackageDiff, updated test for snapshot diff API. #168
|
2015-02-05 01:34:02 +03:00 |
|
Andrey Smirnov
|
0e552eda55
|
When merging reflists, never allow duplicate (name, version, arch) tuples. #154
Even for conficting packages.
|
2014-12-11 21:56:50 +03:00 |
|
Andrey Smirnov
|
74f9787884
|
Implementation of upload file to local repo APIs. #116
|
2014-11-11 01:12:52 +03:00 |
|
Andrey Smirnov
|
2ed76f1e4c
|
Add method to convert reflist to list of strings. #116
|
2014-10-08 16:15:54 +04:00 |
|
Andrey Smirnov
|
dd7b7b5f20
|
Refactor RefList.FilterLatestRefs to be method instead of standalone func.
|
2014-10-07 19:29:01 +04:00 |
|
Andrey Smirnov
|
c56ecab06f
|
Method PackageRefList.Has(). #80
|
2014-08-28 22:25:19 +04:00 |
|
Andrey Smirnov
|
dc248c5603
|
Fix diff algorithm for reflists with duplicate entries. #57
|
2014-05-29 17:58:59 +04:00 |
|
Andrey Smirnov
|
59647fe6d0
|
Fix subtle bug in .Merge: if there are duplicate name-arch on the left, override them all. #42
|
2014-04-24 00:57:17 +04:00 |
|
Andrey Smirnov
|
7c2faafa91
|
Simplify implementation (and improve performance) by using the fact that RefList is always sorted. #42
|
2014-04-23 23:46:33 +04:00 |
|
Ryan Uber
|
6c3b2f686e
|
snapshot: FilterLatestRefs returns nothing as it deals with a pointer.
|
2014-04-22 23:33:30 -07:00 |
|
Ryan Uber
|
385ac1afd0
|
snapshot: explicity call FilterLatestRefs() where needed rather than calling from Merge()
|
2014-04-22 22:28:14 -07:00 |
|
Ryan Uber
|
d9f8673286
|
snapshot: break out FilterLatestPackages to its own function
|
2014-04-22 19:17:10 -07:00 |
|
Ryan Uber
|
0d8debe7b6
|
snapshot: simplify merging latest packages
|
2014-04-22 17:44:03 -07:00 |
|
Ryan Uber
|
1a735e849b
|
snapshot: alter result generation in Merge() to accommodate snapshot diff
|
2014-04-22 17:44:03 -07:00 |
|
Ryan Uber
|
a93052aa8a
|
snapshot: merge adjustments for -latest flag
|
2014-04-22 17:44:03 -07:00 |
|
Ryan Uber
|
133d67bffa
|
snapshot: newest -> latest
|
2014-04-22 17:44:03 -07:00 |
|
Ryan Uber
|
60d48e890c
|
snapshot: Move 'newest' logic out of main compilation loop and evaluate the reflist afterward.
|
2014-04-22 17:44:03 -07:00 |
|
Ryan Uber
|
dbcfd6f58b
|
snapshot: keep a tab of seen packages and only include the latest copy during merge
|
2014-04-22 17:44:03 -07:00 |
|
Ryan Uber
|
992a5cee37
|
snapshot: first pass at newest-wins functionality.
|
2014-04-22 17:44:03 -07: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 |
|