Andrey Smirnov
b731e17850
Update nvidia repo key
2019-09-27 13:01:03 +03:00
Andrey Smirnov
bb66b2296d
Vendor update goleveldb
...
There are number of changes which went in recently which should improve
performance: https://github.com/syndtr/goleveldb/issues/226#issuecomment-477568827
2019-09-18 16:49:50 +04:00
Andrey Smirnov
c75ef8546e
Fix system tests for Debian Stretch 9.11
2019-09-18 01:23:58 +03:00
Andrey Smirnov
d80c2b6104
Fix system tests
2019-09-06 23:42:56 +03:00
Andrey Smirnov
ec4bf35647
Regen aptly.1
2019-09-06 23:42:56 +03:00
Raúl Benencia
669d99bebc
Update documentation
2019-09-06 23:42:56 +03:00
Raúl Benencia
715af5950f
Add suite completion
2019-09-06 23:42:56 +03:00
Raúl Benencia
7a5ac3dbc2
Tests for custom and default suite
2019-09-06 23:42:56 +03:00
Raúl Benencia
ae61cbb4c0
Allow definition of custom Suite
2019-09-06 23:42:56 +03:00
Raphael Medaer
bde6e6bda4
Test dependency architecture without version.
...
As asked by Andrey in #868 .
2019-09-06 15:41:59 +03:00
Raphael Medaer
a656241d5e
Parse dependency architecture even without version
...
This commit closes : #145
The dependency format "pkg:arch" (e.g. "python3:any") was not well
parsed if not any version is given. This commit splits the dependency
name and architecture in all cases.
2019-09-06 15:41:59 +03:00
Andrey Smirnov
7ae5a12f4a
Bump Go supported version to 1.11-1.13
...
This might allow to switch to Go modules as the next step.
2019-09-05 16:41:50 +03:00
Andrey Smirnov
769e984ef4
Fix issues with progress == nil causing panics
...
Part of PR #459
This prepares for more methods to be exposed via the API.
2019-09-03 20:28:28 +04:00
Frank Steinborn
98e75f6d97
Make database open attempts configurable also via config file
2019-09-03 00:52:24 +03:00
Nabil BENDAFI
586f879e80
[DOC] Note about legacy file structure
2019-09-03 00:23:25 +03:00
Nabil BENDAFI
e2112670bf
[DOC] Uploaded package file structure
2019-09-03 00:23:25 +03:00
Andrey Smirnov
060c6669c1
Remove test which relied on now gone mongodb repository
...
Looks like Mongo doesn't provide any regular structure repository
anymore (only flat one?).
2019-09-02 23:54:07 +03:00
Stephan Eicher
aa02c5cbe9
Fix #827 - passhprase typos
2019-09-02 23:26:37 +03:00
Andrey Smirnov
77d7c3871a
Consistently use transactions to update database
...
For any action which is multi-step (requires updating more than 1 DB
key), use transaction to make update atomic.
Also pack big chunks of updates (importing packages for importing and
mirror updates) into single transaction to improve aptly performance and
get some isolation.
Note that still layers up (Collections) provide some level of isolation,
so this is going to shine with the future PRs to remove collection
locks.
Spin-off of #459
2019-08-11 00:11:53 +03:00
Andrey Smirnov
67e38955ae
Refactor database code to support standalone batches, transactions.
...
This is spin-off of changes from #459 .
Transactions are not being used yet, but batches are updated to work
with the new API.
`database/` package was refactored to split abstract interfaces and
implementation via goleveldb. This should make it easier to implement
new database types.
2019-08-09 00:46:40 +03: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
021b6f694b
Fix flakey tests related to identity name ordering.
2019-08-07 20:47:52 +03:00
Andrey Smirnov
f0a370db24
Rework HTTP downloader retry logic
...
Apply retries as global, config-level option `downloadRetries` so that
it can be applied to any aptly command which downloads objects.
Unwrap `errors.Wrap` which is used in downloader.
Unwrap `*url.Error` which should be the actual error returned from the
HTTP client, catch more cases, be more specific around failures.
2019-08-07 20:23:05 +03:00
Andrey Smirnov
2e7f624b34
Add test for publishing with non-empty Origin & Label
...
See also #848
2019-07-19 22:58:56 +03:00
Shengjing Zhu
b63c0c7dfc
Update AUTHORS
2019-07-15 21:51:09 +03:00
Shengjing Zhu
906cbf1e6f
Fix time.Time msgpack decoding backwards compatibility
...
See https://github.com/ugorji/go-codec/issues/269
2019-07-15 21:51:09 +03:00
Shengjing Zhu
5aefc741f2
Add codec tag to fields which are ignored in new codec package
...
github.com/ugorji/go/codec 1.1.4 ignores field with json:"-" tag
2019-07-15 21:51:09 +03:00
Shengjing Zhu
5c28ea3064
Update github.com/ugorji/go to v1.1.4
2019-07-15 21:51:09 +03:00
Andrey Smirnov
70cd11e30f
Revert "Don't remove API file socket if it exists and it's usable"
...
See PR #807
Fixes : #849
This reverts commit 22848b010d .
2019-07-13 00:45:54 +03:00
Andrey Smirnov
94a72b23ff
Update Go AWS SDK to the latest version
2019-07-13 00:19:00 +03:00
Andrey Smirnov
d08be990ef
Skip uploading release versions of aptly to nightly repo
...
This breaks releases, as two versions of the package with same version
might end up in internal.aptly.info.
2019-07-11 01:52:00 +03:00
Andrey Smirnov
ca5b7758ce
Print when test is skipped
2019-07-11 00:49:36 +03:00
Andrey Smirnov
bb1def2910
Try Travis on xenial workers
2019-07-11 00:16:20 +03:00
Andrey Smirnov
673abae1be
Update system tests after Debian buster was released.
2019-07-10 22:27:11 +03:00
Andrey Smirnov
3b8c067e70
Merge pull request #850 from smira/no-bintray
...
Bintray no longer used for artifacts. [ci skip]
2019-07-10 19:54:09 +03:00
Andrey Smirnov
528459eeb2
Bintray no longer used for artifacts. [ci skip]
2019-07-10 19:53:07 +03:00
Andrey Smirnov
bc1ab4e55c
Merge pull request #847 from smira/fix-repo-name
...
Fix repo name in release script
v1.4.0
2019-07-06 16:03:14 +03:00
Andrey Smirnov
5aefd0b393
Fix repo name in release script
2019-07-06 16:02:43 +03:00
Andrey Smirnov
7bc53a4253
Merge pull request #846 from smira/fix-releases-api-key
...
Fix releases API key
2019-07-06 00:05:25 +03:00
Andrey Smirnov
8b12dccd76
Fix releases API key
2019-07-06 00:04:46 +03:00
Andrey Smirnov
952afb6040
Merge pull request #845 from smira/upload-artifacts-fix
...
Fix upload artifacts script to fail, add release upload script
2019-07-05 22:02:59 +03:00
Andrey Smirnov
56ca5e9e62
Temporary disable test as linux.dell.com is NXDOMAIN
2019-07-05 21:32:41 +03:00
Andrey Smirnov
a834461752
Fix upload artifacts script to fail, add release upload script
...
This should improve reliability
2019-07-05 20:08:31 +03:00
Andrey Smirnov
37166af321
Merge pull request #842 from aptly-dev/bump-go-version
...
Bump Go versions for Travis, fix tests
2019-07-04 00:44:52 +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
e2d6a53de5
Merge pull request #803 from stb-tester/deterministic-stanza-WriteTo
...
Stanza.WriteTo: Sort extra fields alphabetically
2019-01-25 17:34:34 +03:00
Andrey Smirnov
89537b1521
Merge branch 'master' into deterministic-stanza-WriteTo
2019-01-25 01:27:31 +03:00
Oliver Sauder
152b3cae90
Merge pull request #808 from aptly-dev/797-no-such-bucket-s3
...
Ignore 'NoSuchBucket' error when deleting S3 objects
2019-01-24 08:09:29 +01:00
Andrey Smirnov
f104e53fd4
Ignore 'NoSuchBucket' error when deleting S3 objects
...
Also ignore any removal errors when `-force-drop` is used.
2019-01-23 18:17:08 +03:00
William Manley
fd99ae0e59
Merge branch 'master' into deterministic-stanza-WriteTo
2019-01-21 13:48:07 +00:00