Commit Graph

1872 Commits

Author SHA1 Message Date
Andrey Smirnov d9607cf88c Merge pull request #624 from smira/no-go-16
Drop support for Go 1.6, only Go 1.7+ is supported
2017-08-17 22:02:30 +03:00
Andrey Smirnov 4f56f34d82 Merge pull request #623 from smira/446-package-query-duplicates
Allow package queries to return duplicate entries on `PackageCollection`
2017-08-17 17:37:57 +03:00
Ludovico Cavedon e2956a84ce Merge branch 'master' into skipCleanup 2017-08-16 14:44:33 -07:00
Andrey Smirnov 00a9eb72d8 Drop support for Go 1.6, only Go 1.7+ is supported 2017-08-17 00:44:04 +03:00
Andrey Smirnov cbc8051c5c Merge pull request #622 from smira/619-s3-prefix
Fix S3 path caching double-prefix
2017-08-17 00:42:08 +03:00
Andrey Smirnov a27b489ba2 Allow package queries to return duplicate entries on PackageCollection
Fixes #446
2017-08-17 00:40:34 +03:00
Andrey Smirnov 790d85881b Fix S3 path caching double-prefix
Original PR: #621
Fixes: #619

I've added unit-test to Martyn's PR.

Without this fix, if `prefix` is set on S3 publish endpoint,
aptly would incorrectly build path cache and re-upload every object
on publish.
2017-08-16 23:57:41 +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 35e2253944 Merge pull request #614 from smira/600-fix-double-mirror-update
Fix bug with `PoolPath` field being overwritten on mirror update
v1.1.1
2017-08-11 20:48:04 +03: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 587bfd742f Merge pull request #613 from smira/607-trim-slashes
Trim slashes while parsing publish prefix
v1.1.0
2017-08-09 13:36:35 +03:00
Andrey Smirnov 84ef963d7d Trim slashes while parsing publish prefix
Fixes: #607
2017-08-09 01:26:47 +03:00
Andrey Smirnov e70ef0a518 Merge pull request #612 from smira/610-stderr
Print error messagge 'unable to open database' to stderr
2017-08-09 01:00:18 +03:00
Andrey Smirnov e05768737f Print error messagge 'unable to open database' to stderr
Fixes #610
2017-08-09 00:01:51 +03:00
Andrey Smirnov a626e4693b Merge pull request #604 from AlekSi/patch-1
Try to reduce build duration
2017-08-08 22:04:49 +03:00
Alexey Palazhchenko 4d9b4298d8 Merge branch 'master' into patch-1 2017-07-31 22:13:27 +03:00
Andrey Smirnov 4cca7272ce Merge pull request #603 from smira/improve-pgp-internal
Improve internal PGP provider
2017-07-31 20:57:43 +03:00
Andrey Smirnov e9b2c18e2f Attempt to fix the tests 2017-07-28 22:37:20 +03:00
Andrey Smirnov cbb576cbcc Fix up system tests 2017-07-28 22:37:20 +03:00
Alexey Palazhchenko bcc83bff31 Try to reduce build duration 2017-07-28 10:10:34 +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 cafa82f018 Merge pull request #601 from AlekSi/patch-1
Use SVG badges
2017-07-28 00:47:08 +03:00
Andrey Smirnov 83a9c394f3 Merge pull request #602 from AlekSi/patch-2
Update Travis CI configuration
2017-07-28 00:46:55 +03:00
Alexey Palazhchenko 2c0a1b836c Update Travis CI configuration
* Use Ubuntu 14.04 with Docker.
* Use latest patch versions of Go.
* Replace hacks for forks with an official solution.
2017-07-28 00:08:27 +03:00
Alexey Palazhchenko 28ae18792d Use SVG badges 2017-07-27 23:57:13 +03:00
Andrey Smirnov 2811ad02d5 Merge pull request #581 from smira/pgp-golang
Implement new PGP provider via Go internal library
2017-07-26 22:14:46 +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 05a5e69483 Fix misspelling 2017-07-21 01:01:58 +03:00
Andrey Smirnov 5e9515a912 Add --batch in batch mode (fixes #519) 2017-07-21 01:01:58 +03:00
Andrey Smirnov 84a6d573f8 Implement GPG signer 2017-07-21 01:01:58 +03:00
Andrey Smirnov 6228a399cf Mute goconst warnings 2017-07-21 01:01:58 +03:00
Andrey Smirnov 0e9f966dd1 Fix up other code to support new GPG provider structure 2017-07-21 01:01:58 +03:00
Andrey Smirnov 07fde3177b GoVerifier implementation 2017-07-21 01:01:58 +03:00
Andrey Smirnov f9377b2aa6 Update bash completion for new flag 2017-07-21 01:01:58 +03:00
Andrey Smirnov 499ab35012 Implement flag/config falue for GPG provider 2017-07-21 01:01:58 +03:00
Andrey Smirnov 3c95f92b95 Now using openpgp package from golang.org/x/crypto 2017-07-21 01:01:58 +03:00
Andrey Smirnov d7a7aa93a4 Merge pull request #596 from smira/s3-opts-man
Document additional S3 options [ci skip]
2017-07-21 01:00:45 +03:00
Andrey Smirnov 58ab4e8902 Document additional S3 options [ci skip] 2017-07-21 00:57:06 +03:00
Andrey Smirnov fcd453118b Merge pull request #590 from smira/1.1-fixups
Small fixups for upcoming 1.1.0 release
2017-07-07 01:17:37 +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
Andrey Smirnov 20b874f81f Merge pull request #577 from sliverc/backport_support
Added support for NotAutomatic, ButAutomaticUpgrades and Origin fields
2017-07-06 00:18:18 +03:00
Oliver Sauder e3f1880ad4 Added support for NotAutomatic, ButAutomaticUpgrades and Origin fields 2017-07-05 15:08:02 +02:00
Andrey Smirnov 39293d7faf Merge pull request #589 from smira/api-db-no-lock-fix
Rework the way database is open/re-open in aptly
2017-07-05 12:57:26 +03:00
Andrey Smirnov c13eb99925 Style fixups 2017-07-05 00:36:48 +03: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 af2f7baf63 Merge pull request #556 from smira/contributing-documentation
Docs on contributing to aptly [ci skip]
2017-06-27 01:15:25 +03:00
Andrey Smirnov 3c25db3ffb Docs on contributing to aptly [ci skip] 2017-06-27 01:13:18 +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