chuan
bb42a2158d
Add support for Azure storage as a publishing backend
...
This adds a new configuration setting: AzurePublishEndpoints, similar
to the existing S3PublishEndpoints and SwiftPublishEndpoints.
For each endpoint, the following has to be defined:
- accountName
- accountKey
- container
- prefix
Azure tests require the following environment variables to be set:
- AZURE_STORAGE_ACCOUNT
- AZURE_STORAGE_ACCESS_KEY
With either of these not set, Azure-specific tests are skipped.
2022-01-21 11:46:36 +01:00
Frank Steinborn
98e75f6d97
Make database open attempts configurable also via config file
2019-09-03 00:52:24 +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
499ab35012
Implement flag/config falue for GPG provider
2017-07-21 01:01:58 +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
Clemens Rabe
25f9c29f00
Implemented filesystem endpoint with support for hardlinks, symlinks and copy.
2017-04-13 20:25:40 +02:00
Andrey Smirnov
85b4a8b1ae
Add new option for detailed logging on dependency resolving
...
This adds command-line arg and config option, with option enabled
aptly is more verbose on internal depeendency resolving cycles:
```
Missing dependencies: file-rc (>= 0.8.16) [amd64], python:any (>= 2.7.1-0ubuntu2) [amd64], python3:any (>= 3.3.2-2~) [amd64], file-rc [amd64], perl (<< 5.17) [amd64], iptables-router (>= 1.2.3) [amd64], systemd [amd64], sgml-base (>= 1.26+nmu2) [amd64], sed (>= 4.1.2-8) [amd64]
Unsatisfied dependency: file-rc (>= 0.8.16) [amd64]
Unsatisfied dependency: python:any (>= 2.7.1-0ubuntu2) [amd64]
Unsatisfied dependency: python3:any (>= 3.3.2-2~) [amd64]
Unsatisfied dependency: file-rc [amd64]
Unsatisfied dependency: perl (<< 5.17) [amd64]
Unsatisfied dependency: iptables-router (>= 1.2.3) [amd64]
Unsatisfied dependency: systemd [amd64]
Injecting package: sgml-base_1.26+nmu4ubuntu1_all
Injecting package: sed_4.2.2-4ubuntu1_amd64
```
2017-03-28 22:58:07 +03:00
Einar Forselv
8e62620880
Fixing tests after adding v3 swift auth
2016-09-14 20:53:01 +02:00
Andrey Smirnov
75b860e0b1
Support SigV2 and S3 debug for publishing.
2016-03-20 20:11:19 +03:00
Andrey Smirnov
f50e008763
Make 'SkipContents' configurable in API. #345
...
Also add global configuration to disable 'skipContents' by
default for all new published repos/snapshots.
2016-02-14 14:49:16 +03:00
Andrey Smirnov
02b937ad17
Fix unit-tests.
2016-02-08 14:42:30 +03:00
Andrey Smirnov
8cc7d1345b
Support for new S3 configuration options: endpoint & multi del disabling. #218
2015-04-17 01:18:34 +03:00
Andrey Smirnov
903d4cefba
gofmt -s
2015-02-22 14:29:09 +03:00
Sebastien Badia
0f22dc590a
Fix config tests and update man page
...
Fix ConfigSuite.TestSaveConfig, ConfigShowTest and CreateConfigTest
tests
2015-02-05 21:27:09 +01:00
Chris Read
daf887e54f
Upgrade gocheck
2014-11-05 13:27:15 -06:00
Andrey Smirnov
aeae6009c4
Introduce plusWorkaround: generate copy of file with '+' -> ' ' to workaround S3/apt bug. #98
2014-10-01 21:32:56 +04:00
Andrey Smirnov
8aa1954ba7
Support for custom storage class and encryption method. #105
2014-10-01 19:16:15 +04:00
Andrey Smirnov
2c470c1535
Rename config option to endpoint. #15
2014-07-28 15:01:51 +04:00
Andrey Smirnov
7a7bb56557
Config options for S3 storage. #15
2014-07-18 17:37:08 +04:00
Andrey Smirnov
a54a366c95
New config setting: downloadSpeedLimit to limit download speed. #62
2014-07-13 15:47:44 +04:00
Andrey Smirnov
bed0ac475e
Short syntax for aptly mirror create to support ppa:user/project mirror URLs.
2014-03-06 21:06:50 +04:00
Andrey Smirnov
21123ac6a4
Add config option to follow dependency to source packages.
2014-02-17 15:08:21 +04:00
Andrey Smirnov
36446e46a1
Add config option 'downloadSourcePackages'.
2014-02-14 23:44:46 +04:00
Andrey Smirnov
09648044db
Test for new config options.
2014-02-06 21:58:40 +04:00
Andrey Smirnov
d684c87fd1
Add support for dependency & architectures as common options.
2014-01-12 23:55:58 +04:00
Andrey Smirnov
a7fb971905
Config file reading/writing.
2013-12-27 19:31:32 +04:00