Juan Calderon-Perez
0021cf876b
Harden latest-only filtering
2025-12-11 07:20:37 -05:00
André Roth
f7057a9517
go1.24: fix lint, unit and system tests
...
- development env: base on debian trixie with go1.24
- lint: run with default config
- fix lint errors
- fix unit tests
- fix system test
2025-04-26 13:29:50 +02:00
Gordian Schoenherr
ef6815222c
Add unit tests for filtering with source packages
2024-12-09 13:17:41 +09:00
Gordian Schoenherr
3b785e4165
Refactor Filter options into a struct
...
It was already a lot of options for one method and I am going to add
another one in the next commit.
2024-12-09 13:17:41 +09:00
André Roth
eafec74c29
allow to exclude provided packages from list.Search
2024-11-04 17:02:54 +01:00
André Roth
75ca51b23b
improve error message
2024-10-10 12:03:13 +02:00
5hir0kur0
6d6761e234
Add unit tests for Provides entries with version
2024-08-11 12:35:46 +02:00
Andrey Smirnov
27da1015af
Test case for filters. #227
2015-03-30 19:56:53 +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
56d777af0a
Introduce regexp query matching.
2014-07-15 19:00:06 +04:00
Andrey Smirnov
3601cc15ed
Fix unit-tests for new $Architecture matching.
2014-07-14 19:45:27 +04:00
Andrey Smirnov
1d49a717b9
Unit-tests for queries.
2014-07-12 23:26:08 +04:00
Andrey Smirnov
c485cf41f7
PkgQueries, concept of 'Searchable', rewrite Filter using PackageQueries.
2014-07-12 00:15:33 +04:00
Andrey Smirnov
e745747370
Style fixes as suggested by tools.
2014-07-10 21:34:52 +04:00
Simon Aquino
e1348ab88f
Merge smira/master into pull_multiple_packages
...
Resolved conflicts arisen following smira's new commits into master.
2014-06-28 01:34:28 +01:00
Andrey Smirnov
44ce4c8a77
Insert into right position when adding as well. #67
2014-06-28 00:26:56 +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
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
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