Commit Graph

1635 Commits

Author SHA1 Message Date
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
Andrey Smirnov 0d041898ca Merge pull request #574 from smira/376-checksum-search-fix
Fix checksum matching from Release file
2017-05-23 21:53:06 +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 cafb89f30f Re-work the way checksum matching works against Release file
Break up URL into base part and relative path. Match checksum against relative path
and never against full URL.

This might be fixing security issue if aptly was incorrectly matching against
wrong part of Release file.
2017-05-23 03:00:15 +03:00
Andrey Smirnov f0360cf2d3 Use longest suffix match to pick up checksum 2017-05-23 03:00:15 +03:00
Andrey Smirnov 1be8d39105 Refactor GPG signer/verifier
Goal is to make it easier to plug in another implementation.
2017-05-23 02:54:56 +03:00
Andrey Smirnov c026106352 Merge pull request #571 from sliverc/travis_for_forks
Making travis CI run again on forks
2017-05-19 22:41:15 +03:00
Oliver Sauder c507d0620b Making travis CI run again on forks 2017-05-19 16:37:04 +02:00
Andrey Smirnov f84672239a Merge pull request #569 from smira/linters-4
Enable goconst & interfacer linters
2017-05-17 15:33:02 +03:00
Andrey Smirnov c9bd7b4b5d Merge pull request #567 from smira/431-500-api
Fix possible cause for spurious 500s
2017-05-17 15:32:52 +03:00
Andrey Smirnov 470165a419 Enable goconst & interfacer linters 2017-05-17 00:53:10 +03:00
Andrey Smirnov 9de9fbe6bd Merge branch 'master' into 431-500-api 2017-05-17 00:52:32 +03:00
Andrey Smirnov e396a2e6c3 Merge pull request #568 from smira/fix-flat-tests
Fix tests for flat repos
2017-05-17 00:52:19 +03:00
Andrey Smirnov 829ea2e65c Fix tests for flat repos 2017-05-17 00:09:18 +03:00
Andrey Smirnov 39d2d273dc Fix possible cause for spurious 500s
When DB fails to be open, aptly was skipping "close" phase, so that next
request considered database to be still open (while it's closed) leading
to panic.

Fixes: #431
2017-05-16 00:42:59 +03:00
Andrey Smirnov 5a3e660c0d Merge pull request #566 from smira/135-sort-search
Sort package lists when searching or showing objects
2017-05-10 00:19:53 +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 33357c1fe4 Merge pull request #565 from smira/linters-3
Enable `vetshadow` linter
2017-05-05 17:43:09 +03:00
Andrey Smirnov 5ce6bf8718 Enable vetshadow linter 2017-05-04 23:00:13 +03:00
Andrey Smirnov d7bcf372c4 Merge pull request #564 from jyundt/add_mirror_edit_bash_autocomplete
Add mirror edit option to bash auto-complete
2017-05-04 21:26:11 +03:00
Jacob Yundt 3aa044d722 Add mirror edit option to bash auto-complete
Fixes smira/aptly#563
2017-05-04 13:24:34 -04:00
Andrey Smirnov a9a5a73dfd Merge pull request #560 from smira/linters-2
More Go linters enabled, issues fixed
2017-05-04 02:13:06 +03:00
Andrey Smirnov 66b44e68a9 Attempt to workaround Travis "10 minutes without output". 2017-05-03 20:28:57 +03:00
Andrey Smirnov 51213899b7 More Go linters enabled, issues fixed
Ref: #528

Enables "staticcheck", "varcheck", "structcheck", "aligncheck"
2017-05-03 18:23:14 +03:00
Andrey Smirnov 7a7c9cd26c Merge pull request #559 from smira/linters-extend-deadline
Extend linters deadline
2017-05-02 22:12:45 +03:00
Andrey Smirnov 1b9ab46c5f Extend linters deadline
Ref: #528
2017-05-02 20:35:16 +03:00
Andrey Smirnov 2cbed28446 Merge pull request #558 from smira/linters-python
Add system's requirements.txt, enforce flake8 linter
2017-04-28 16:14:32 +03:00
Andrey Smirnov 39aa0fdbfe Merge pull request #557 from smira/linters-1
Enable `gosimple` and `ineffasign` linters
2017-04-28 00:29:20 +03:00
Andrey Smirnov c983810e2d Manually create system/env, workaround Travis issues 2017-04-28 00:16:21 +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 1e4a80252e Extend linter deadline to 1 minute 2017-04-27 22:32:35 +03:00
Andrey Smirnov bae3f949b4 Enable gosimple and ineffasign linters 2017-04-27 18:34:30 +03:00
Andrey Smirnov 7a7b981d4f Merge pull request #539 from smira/public-pool-paths
New package pool with configurable hashing base
2017-04-27 16:24:14 +03:00
Andrey Smirnov 2ffefeb1e0 Add man page for skipLegacyPool 2017-04-27 00:51:46 +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