Andrey Smirnov
e05768737f
Print error messagge 'unable to open database' to stderr
...
Fixes #610
2017-08-09 00:01:51 +03:00
Andrey Smirnov
05a5e69483
Fix misspelling
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
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
bae3f949b4
Enable gosimple and ineffasign linters
2017-04-27 18:34:30 +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
72d233b587
Final round of updates, everything except mirror download should be ready
2017-04-26 23:17:03 +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
Andrey Smirnov
516dd7b044
Switch to gometalinter
...
Only small amount of required checks is enabled,
plan is to enable more linters as issues are fixed in the code.
2017-03-23 01:51:08 +03:00
Einar Forselv
511fb439ac
Identity v3 support for Swift
...
ncw/swift was bumped to latest version
2016-09-14 15:29:11 +02:00
Andrey Smirnov
75b860e0b1
Support SigV2 and S3 debug for publishing.
2016-03-20 20:11:19 +03:00
Phil Frost
640bd2b530
Use official AWS SDK; support STS credentials
...
Now that there's an official Go AWS SDK from Amazon, use that instead of
goamz. goamz isn't getting much love these days.
Implement support for STS credentials, as in assumed roles and EC2
instance profiles. The configuration is extended to support a session
token, though I'm not sure why anyone would put temporary credentials in
a configuration file. More likely, no credentials will be explicitly
configured at all, and they will be discovered through the standard SDK
mechanisms described at
<https://blogs.aws.amazon.com/security/post/Tx3D6U6WSFGOK2H/A-New-and-Standardized-Way-to-Manage-Credentials-in-the-AWS-SDKs >.
Resolves #342 .
2016-02-03 15:13:01 -05:00
Andrey Smirnov
ca319c804e
Print warning message to stderr. #311
2015-12-03 13:18:45 +03:00
Andrey Smirnov
50ae34cc19
Create S3 with endpoint/multidel param from config. #218
2015-04-17 01:20:58 +03:00
Andrey Smirnov
43414be2ee
Fix bug with aptly locking up on swift published storage lookup. #191
2015-02-22 13:42:06 +03:00
Andrey Smirnov
e5d646c007
Merge branch 'sbadia-swift'
...
Conflicts:
AUTHORS
2015-02-21 01:08:48 +03:00
Andrey Smirnov
48b8311150
Style fixes. #191
2015-02-20 23:58:00 +03:00
Andrey Smirnov
87cecac4ea
Lock down Context. #116
2015-02-16 00:33:10 +03:00
Sebastien Badia
7f038be1cb
Add swift backend for repository publishing
2015-02-05 17:54:09 +01:00
Andrey Smirnov
6b83213cf4
Add UploadPath to Context. #116
2014-10-14 00:47:17 +04:00
Andrey Smirnov
8a787d2c35
Refactor by separating AptlyContext into separate package. #116
2014-10-06 21:54:15 +04:00