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
a131d6093c
Fix unit-test.
2015-06-26 12:56:02 +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
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
2fbf465fbf
Support for .udeb in deb.Package. #108
2014-09-25 19:31:21 +04:00
Andrey Smirnov
38ea595c9a
Add forceOverwrite on the path to LinkFromPool. #90
2014-08-05 15:47:23 +04:00
Andrey Smirnov
56d777af0a
Introduce regexp query matching.
2014-07-15 19:00:06 +04:00
Andrey Smirnov
d523d2b415
Package.GetField implementation for querying.
2014-07-12 18:00:13 +04:00
Andrey Smirnov
b42fd71acf
MatchesDependency should check on Provides: as well.
2014-07-11 16:30:41 +04:00
Andrey Smirnov
d262a131cc
Preparation for query matching: introduce Regexp + PatternMatch.
2014-07-10 21:16:30 +04:00
Andrey Smirnov
bdbb5acb11
Remove 'allMatches' on version equal. #70
2014-07-10 00:20:28 +04:00
Simon Aquino
3cf281965b
Implementation of all-matches functionality + tests
...
When performing an *aptly snapshot pull*, users might list dependency
versions that can potentially match multiple packages in the source
snapshot. However, the current implementation of the 'snapshot pull'
command only allows one package to be pulled from a snapshot at a time
for a given dependency.
The newly implemented all-matches flag allows users to pull all the
matching packages from a source snapshot, provided that they satisfy the
version requirements indicated by the dependencies.
The all-matches flag defaults to false and only produces the described
behaviour when it is explicitly set to true.
2014-06-27 03:36:03 +01:00
Andrey Smirnov
90bba977d7
Introduce Package.ShortKey(): packages should have no conflict on that key in one list. #60
2014-05-29 18:00:14 +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
5301e8a341
Fix pool directory for packages with version in Source: field. #44
2014-05-10 17:25:44 +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