Oliver Sauder
2bd0b786ea
Extend publish snapshot test with acquire by hash
2017-11-30 09:46:02 +01:00
Oliver Sauder
5d301fb1b7
Prepare archive root when editing it
2017-11-27 11:08:31 +01:00
Oliver Sauder
b98abcc049
Allow editing of mirror archive url
...
This is needed in case a mirror has moved or is down and need to move
to new mirror.
2017-11-21 16:31:49 +01:00
Andrey Smirnov
359cda9d99
Add system test for repo with SHA512-only checksums
2017-11-08 19:45:22 +03:00
Harald Sitter
1885cbd6a2
make deb reader handle new control.tar options introduced in dpkg 1.17.6
...
newly supported is uncompressed control.tar and xz compressed
control.tar.xz. latter is used by ubuntu for dbgsym ddebs.
Fixes #655
2017-10-31 14:43:00 +01:00
Harald Sitter
f43801cb96
whitelist falke E722 in system/lib.py
...
'E722 do not use bare except' wants us not to use except without type
restriction as it catches everything and the kitchen sink. Since we use
them to catch exceptions in test cases this is intentional as we implement
general purpose error handling on test failure there.
2017-10-31 12:42:11 +01: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
2d66a4ca0a
Enforce SSE/StorageClass in PUT Object Copy
...
"RenameFile" is implemented in S3 using `PUT Object Copy`, which
should enforce SSE/StorageClass same way as regular `PUT Object`.
Fixes : #647
2017-09-28 18:30:50 +03:00
Andrey Smirnov
3756db2491
Upgrade gin-gonic to latest master, fix compatibility issues
2017-09-28 00:33:59 +03:00
Andrey Smirnov
aec6c2f2e2
Remove =false in usage and man page
2017-09-27 01:01:01 +03:00
Andrey Smirnov
b4deedda01
Merge branch 'master' into skipCleanup
2017-09-27 00:14:24 +03:00
Andrey Smirnov
e5198178a5
Fix incomplete dependencies with follow-all-variants
...
When `-dep-follow-all-variants` option is enabled, dependency resolving
process shouldn't stop even if dependency is already satisfied - there
mgiht be other ways to satisfy dependency.
Also fix issue with parsing multiarch specs like
`python:any`.
2017-09-26 00:09:15 +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
31f4af5722
Merge branch 'master' into skipCleanup
2017-09-20 17:53:24 +03:00
Andrey Smirnov
72ac1bc33c
Update PD GPG key id to fix the tests
2017-09-18 18:09:36 +03:00
Andrey Smirnov
bd5fc8ae62
Varnish repos got moved
2017-09-15 23:43:51 +03:00
Andrey Smirnov
a27b489ba2
Allow package queries to return duplicate entries on PackageCollection
...
Fixes #446
2017-08-17 00:40:34 +03:00
Ludovico Cavedon
d6a3917141
Add -skip-cleanup option for publish commands.
...
Allow skipping unreferenced files cleanup on publish switch/update/drop
via the -skip-cleanup command line option.
Also support API SkipCleanup parameter.
Fixes #570 .
2017-08-15 19:08:17 -07:00
Andrey Smirnov
a584b2e058
Fix bug with PoolPath field being overwritten on mirror update
...
While updating mirror, if package file is already in pool path,
field `PoolPath` was left as empty which results in package file
being unavailable later on while publishing.
2017-08-11 20:05:55 +03:00
Andrey Smirnov
84ef963d7d
Trim slashes while parsing publish prefix
...
Fixes : #607
2017-08-09 01:26:47 +03:00
Andrey Smirnov
cbb576cbcc
Fix up system tests
2017-07-28 22:37:20 +03:00
Andrey Smirnov
68da8a674a
Improve internal PGP provider
...
1. Print additional details about keys being used for signing
2. Skip expired keys
3. Add `\n` to logged messages
2017-07-28 00:53:50 +03:00
Andrey Smirnov
ab20c2d329
Add publishing & repo include tests
2017-07-26 00:31:27 +03:00
Andrey Smirnov
d137bcf8d4
Fix up/add mirror update tests
2017-07-26 00:00:06 +03:00
Andrey Smirnov
3674e1adee
System tests for mirror create/update with internal PGP implementation
2017-07-21 01:09:20 +03:00
Andrey Smirnov
499ab35012
Implement flag/config falue for GPG provider
2017-07-21 01:01:58 +03:00
Andrey Smirnov
7d179dd405
Small fixups for upcoming 1.1.0 release
...
Fix system tests, add -db-open-attempts to bash completion, small nits
for man page.
2017-07-07 00:14:03 +03:00
Oliver Sauder
e3f1880ad4
Added support for NotAutomatic, ButAutomaticUpgrades and Origin fields
2017-07-05 15:08:02 +02:00
Andrey Smirnov
211ac0501f
Rework the way database is open/re-open in aptly
...
Allow database to be initialized without opening, unify all the
open paths to retry on failure.
In API router make sure open requests are matched with acks in explicit
way.
This also enables re-open attempts in all the aptly commands, so it
should make running aptly CLI much easier now hopefully.
Fix up system tests for oldoldstable ;)
2017-07-05 00:17:48 +03:00
Andrey Smirnov
12a6b0ceb8
Merge pull request #575 from smira/pgp-refactoring
...
Refactor GPG signer/verifier
2017-05-24 19:24:38 +03:00
Andrey Smirnov
982c093fbf
Fix system tests
2017-05-23 16:24:49 +03:00
Andrey Smirnov
f54e798eac
Add system test for fixed checksum matching
2017-05-23 03:00:16 +03:00
Andrey Smirnov
829ea2e65c
Fix tests for flat repos
2017-05-17 00:09:18 +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
1941418c10
Add system test for disabled legacy pool path support
2017-04-27 00:51:46 +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
2308632683
Add system tests for legacy pool files
2017-04-26 23:17:04 +03:00
Andrey Smirnov
ee21b69402
Add test for mirror without MD5 checksums
2017-04-26 23:17:04 +03:00
Andrey Smirnov
7dcc0d597d
Fix S3/Swift tests
2017-04-26 23:17:04 +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
b7b9f12c88
Update system tests for SHA512 checksums being generated
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
4171a73995
Fix up system test
2017-04-26 23:17:03 +03:00
Andrey Smirnov
45d187bc14
Fix up system test
2017-04-26 23:17:03 +03:00
Andrey Smirnov
8dc6a14766
Allow snapshot to be created from empty local repo
...
Fixes #288
2017-04-26 00:33:09 +03:00
Andrey Smirnov
c3acabe303
Fix system tests for flat repos
...
Old mirror used for testing is gone, switch to CRAN.
2017-04-24 23:04:48 +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
bc469eecfb
Merge branch 'master' into dep-verbose-resolve
2017-03-31 19:17:57 +03:00