André Roth
dd4f90e4c2
Revert "use git-lfs for test files"
...
This reverts commit bf4b660568 .
2024-11-08 15:23:31 +01:00
André Roth
38485a5b1e
add test
2024-11-07 17:07:37 +01:00
André Roth
bf4b660568
use git-lfs for test files
2024-11-07 17:07:37 +01:00
André Roth
75ca51b23b
improve error message
2024-10-10 12:03:13 +02:00
André Roth
95915480a0
update tests
...
the fixed handling of provided packages results in snapshots no longer missing provided packages,
and also provided packages being added to repos.
2024-08-11 12:35:46 +02:00
Ryan Gonzalez
f9325fbc91
Add support for Azure package pools
...
This adds support for storing packages directly on Azure, with no truly
"local" (on-disk) repo used. The existing Azure PublishedStorage
implementation was refactored to move the shared code to a separate
context struct, which can then be re-used by the new PackagePool. In
addition, the files package's mockChecksumStorage was made public so
that it could be used in the Azure PackagePool tests as well.
Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com >
2024-06-17 11:51:18 +02:00
André Roth
d7cc9b89d1
system tests: use repository mirrors on S3 for reproducibility
...
no direct internet download from apt repositories,
which over time will change or cease to exist.
also migrate to gpg2 on newer ubuntu.
2024-02-05 13:04:45 +01:00
Paul Cacheux
99dbe31d20
fix t09_repo/IncludeRepo21Test_gold gold error
2023-11-23 11:40:58 +01:00
Mauro Regli
0d20c59a98
Fix: Change expected output for malformed input that changed in Go
2023-09-21 11:25:18 +02:00
Mauro Regli
d1102e2e9c
Fix: Pipeline dependency on deb.debian.org, replace with archive
...
This should fix some tests, as a lot of them are dependent on
deb.debian.org which no longer supports Debian 9 "Stretch".
Instead we use archive.debian.org which will continue to contain
"Stretch" packages for a long time.
2023-05-15 11:15:48 +02:00
Lorenzo Bolla
035d5314b0
Convert tests to Python 3
...
Fix #938
2022-01-27 15:06:33 +01:00
Lorenzo Bolla
7412b84e04
Fix flake8 lint errors
2022-01-27 09:30:14 +01:00
Joshua Colson
0f1575d5af
Add -json flag to snapshot show|list
...
Signed-off-by: Joshua Colson <joshua.colson@gmail.com >
2021-09-24 10:29:33 +02:00
Joshua Colson
1f56fb86e3
Add -json output flag to repo list|show
...
Signed-off-by: Joshua Colson <joshua.colson@gmail.com >
2021-09-24 10:29:33 +02:00
Andrey Smirnov
26098f6c8d
Print redirects being followed, drop mirror.yandex.ru.
...
Use CDN-backed Debian mirror to make tests run faster hopefully for
everyone. Redirects might be important to know what exactly is going on
when items are being downloaded.
2019-08-07 21:10:04 +03:00
Andrey Smirnov
2c91bcdc30
Bump Go versions for Travis, fix tests
...
Replace gometalinter with golangci-lint.
Fix system tests (wheezy is gone, replace with stretch).
Fix linter warnings.
2019-07-04 00:16:12 +03:00
Andrey Smirnov
0d94f29c27
Allow using files from the pool while importing source packages
...
Sometimes source packages reference files already present in the pool.
Allow for those file to be omitted when importing packages either via
`repo add` or `repo include`. If file is missing, aptly would make
an attempt to look up file in the package pool (by checksum) and
use it.
Fixes : #278
2017-09-29 22:39:51 +03:00
Andrey Smirnov
6d2f265980
Prefer exact match on package name over provides match
...
When searching for packages which might satisfy given dependency,
aptly was first returning packages which `Provides` mentioned
name. By default aptly is picking up only first match (unless
follow all variants options is enabled), so `Provides:` takes
precedence over exact package name match.
Invert this logic by searching first for package name match.
2017-09-25 18:24:45 +03:00
Andrey Smirnov
ab20c2d329
Add publishing & repo include tests
2017-07-26 00:31:27 +03:00
Andrey Smirnov
982c093fbf
Fix system tests
2017-05-23 16:24:49 +03:00
Andrey Smirnov
589dc93380
Sort package lists when searching or showing objects
...
Fixes #135
Fixes #214
2017-05-05 18:42:46 +03:00
Andrey Smirnov
c798db8056
Add system's requirements.txt, enforce flake8 linter
...
Fix style issues in functional tests.
2017-04-28 00:05:11 +03:00
Andrey Smirnov
154ef7fe65
Fix system tests for aptly repo include
2017-04-26 23:17:04 +03:00
Andrey Smirnov
4601f07349
Fix system tests for aptly repo add
2017-04-26 23:17:04 +03:00
Andrey Smirnov
f17d398e8f
Implement new command aptly repo create ... from snapshot ...
2017-03-04 00:12:18 +03:00
Andrey Smirnov
33d6cd8c0a
Allow filter to be empty for aptly * search commands
...
Empty filter implies "select all packages".
2017-02-10 23:07:06 +03:00
Andrey Smirnov
08bc5ac934
Fix system tests for Go 1.5.
...
Some error strings in Go 1.5 have changed. Until we have something
better for that, use string replace.
2015-09-22 12:40:42 +03:00
Andrey Smirnov
8bda799545
Support for Go-style templating in format for aptly * search. #254
2015-07-02 12:19:41 +03:00
Andrey Smirnov
3c20b5472e
Tests for aptly repo include with per-repo uploaders.json. #71
2015-03-22 19:24:37 +03:00
Andrey Smirnov
8b782ce370
Support for per-repo uploader.json in aptly repo commands. #71
2015-03-22 19:02:20 +03:00
Andrey Smirnov
b4b03f2752
Update system tests. #71
2015-03-20 22:29:50 +03:00
Andrey Smirnov
962c4a842d
Additional tests for aptly repo include. #71
2015-03-20 00:18:32 +03:00
Andrey Smirnov
c53060d95a
Add system test on package restriction check. #71
2015-03-18 23:32:21 +03:00
Andrey Smirnov
7579f1998c
Fix system tests. #71
2015-03-17 01:09:09 +03:00
Andrey Smirnov
775670181c
System tests for -ignore-signatures + -accept-unsigned. #71
2015-03-17 00:17:43 +03:00
Andrey Smirnov
2a3bd5546a
Unsigned files shouldn't be accepted. #71
2015-03-17 00:15:45 +03:00
Andrey Smirnov
197e230ef1
System tests: wrong signature. #71
2015-03-17 00:08:47 +03:00
Andrey Smirnov
c6eeac11a4
System test for wrong checkums. #71
2015-03-17 00:02:39 +03:00
Andrey Smirnov
a59c2ac859
Tests for file removal + missing files. #71
2015-03-16 23:55:47 +03:00
Andrey Smirnov
103fa5310f
First pack of system tests for aptly repo include. #71
2015-03-16 22:50:58 +03:00
Andrey Smirnov
1d1561c6c3
Add missing files.
2015-03-12 00:50:27 +03:00
Andrey Smirnov
9a5b3aeedc
System test. #193
2015-03-11 23:38:16 +03:00
Andrey Smirnov
9fbe33b356
System test for file override from pool. #127
2014-10-17 00:54:42 +04:00
Simon Aquino
951b6e9004
Test to avoid published file truncation when added to repo
...
This test will make sure that when a published file is added to repo, it
doesn't get truncated.
2014-10-16 16:57:50 +01:00
Andrey Smirnov
2c84faaf8d
System test for repo adding .udebs. #108
2014-09-30 21:26:28 +04:00
Andrey Smirnov
0130fc0392
Add -force-replace flag to repo aptly add to replace conflicting packages. #83
2014-09-01 17:59:29 +04:00
Andrey Smirnov
ed03a7c69e
New algorithm for dependency resolution, tests. #100 #81
2014-08-28 19:07:39 +04:00
Andrey Smirnov
346a7bcce9
System tests for mirror, snapshot, repo search. #81
2014-08-27 00:04:01 +04:00
Andrey Smirnov
b9c8a8d9da
System tests for mirror/repo/snapshot rename commands. #63
2014-07-26 17:28:16 +04:00
Andrey Smirnov
bc27c6e14d
System test on using complex query when importing.
2014-07-12 18:02:57 +04:00