Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add swift backend for repository publishing #191

Merged
merged 6 commits into from Feb 20, 2015
Merged

Conversation

sbadia
Copy link
Contributor

@sbadia sbadia commented Feb 5, 2015

This pull request implements the Openstack Swift backend for aptly in the model of the existing S3 backend.

The Python test suite needs a real Swift server.
The Go test suite uses a fake server written in Go (in https://github.com/lebauce/swift repository which is really just https://github.com/ncw/swift with the fake server). A pull request is on the way so that we can fallback to upstream once it's merged.

Close: #164

Fix ConfigSuite.TestSaveConfig, ConfigShowTest and CreateConfigTest
tests
@smira
Copy link
Contributor

smira commented Feb 7, 2015

@sbadia thanks for your pull request!

It's my first experience with Swift. Could you please help me to make system tests run?

What I did:

pip install python-keystoneclient python-swiftclient
docker run -d -p 8080:8080 serverascode/swift-onlyone
export OS_AUTH_URL=http://127.0.0.1:8181/v2.0/
export OS_USERNAME=user_test
export OS_PASSWORD=tester
export OS_TENANT_NAME=testing

(Port 8080 is proxied to 127.0.0.1:8181 in my setup)

I've tried different OS_AUTH_URLs, but nothing helped:

swiftclient.exceptions.ClientException: Authorization Failure. Authorization Failed: Bad Request (HTTP 400)

In container logs I see:

Feb  7 16:53:54 22e603131f5f account-server: 127.0.0.1 - - [07/Feb/2015:16:53:54 +0000] "HEAD /sdb1/95/tokens" 404 - "tx86f4fa33e10d4100a98ed-0054d64322" "HEAD http://127.0.0.1:8181/v1/tokens" "proxy-server 92" 0.0002 ""
Feb  7 16:53:54 22e603131f5f proxy-server: - - 07/Feb/2015/16/53/54 HEAD /v1/tokens HTTP/1.0 204 - Swift - - - - tx86f4fa33e10d4100a98ed-0054d64322 - 0.0025 GET_INFO - 1423328034.288862944 1423328034.291368961
Feb  7 16:53:54 22e603131f5f proxy-server: 10.0.2.2 10.0.2.2 07/Feb/2015/16/53/54 POST /auth/tokens HTTP/1.0 400 - python-keystoneclient - - 137 - tx86f4fa33e10d4100a98ed-0054d64322 - 0.0038 - - 1423328034.288005114 1423328034.291802883
Feb  7 16:53:54 22e603131f5f proxy-server: 10.0.2.2 10.0.2.2 07/Feb/2015/16/53/54 POST /auth/tokens HTTP/1.0 400 - python-keystoneclient - - 137 - txae4adecb46c44ec595ea7-0054d64322 - 0.0008 - - 1423328034.301757097 1423328034.302517891

smira added a commit that referenced this pull request Feb 7, 2015
smira added a commit that referenced this pull request Feb 7, 2015
(Doesn't work yet)
smira added a commit that referenced this pull request Feb 7, 2015
@lebauce
Copy link
Contributor

lebauce commented Feb 10, 2015

The test Swift server has been merged upstream. I pushed a commit to use it instead of my fork :
lebauce@355a98b

@sbadia
Copy link
Contributor Author

sbadia commented Feb 10, 2015

Hi @smira,
It seems that the docker container changes the password at every boot, but you can't disable it for the moment :-)
@lebauce just submitted a comment on docker registry in order to have a working container.
And we just added support for TempUrl support (for v1 authentication, without Keystone):

You can cherry pick this three commits.

Thanks in advance!

@smira
Copy link
Contributor

smira commented Feb 11, 2015

@sbadia thanks for your help!

I got myself much further, but I'm still stuck:

In docker container I get this error:

Feb 11 19:15:00 a5f7b31d554e object-server: 127.0.0.1 - - [11/Feb/2015:19:15:00 +0000] "PUT /sdb1/65/AUTH_test/aptly-sys-test-fc0e2a5e-4ee4-46f8-923e-910a2868da19/pool/main/b/boost-defaults/libboost-program-options-dev_1.49.0.1_i386.deb" 500 944 "PUT http://127.0.0.1:8181/v1/AUTH_test/aptly-sys-test-fc0e2a5e-4ee4-46f8-923e-910a2868da19/pool/main/b/boost-defaults/libboost-program-options-dev_1.49.0.1_i386.deb" "txd226a9b5ac724f18921d9-0054dbaa34" "proxy-server 93" 0.0116
Feb 11 19:15:00 a5f7b31d554e proxy-server: ERROR 500 Traceback (most recent call last):#012  File "/usr/lib/python2.7/dist-packages/swift/obj/server.py", line 671, in __call__#012    res = method(req)#012  File "/usr/lib/python2.7/dist-packages/swift/common/utils.py", line 2217, in wrapped#012    return func(*a, **kw)#012  File "/usr/lib/python2.7/dist-packages/swift/common/utils.py", line 837, in _timing_stats#012    resp = func(ctrl, *args, **kwargs)#012  File "/usr/lib/python2.7/dist-packages/swift/obj/server.py", line 452, in PUT#012    writer.put(metadata)#012  File "/usr/lib/python2.7/dist-packages/swift/obj/diskfile.py", line 742, in put#012    self._finalize_put, metadata, target_path)#012  File "/usr/lib/python2.7/dist-packages/swift/common/utils.py", line 2536, in force_run_in_thread#012    return self._run_in_eventlet_tpool(func, *args, **kwargs)#012  File "/usr/lib/python2.7/dist-packages/swift/common/utils.py", line 2519, in _run_in_eventlet_tpool#012    raise result#012IOError: [Errno 95] Operation not supported#012 From Object Server re: /v1/AUTH_test/aptly-sys-test-fc0e2a5e-4ee4-46f8-923e-910a2868da19/pool/main/b/boost-defaults/libboost-program-options-dev_1.49.0.1_i386.deb 127.0.0.1:6010/sdb1 (txn: txd226a9b5ac724f18921d9-0054dbaa34) (client_ip: 10.0.2.2)
Feb 11 19:15:00 a5f7b31d554e proxy-server: Object PUT returning 503 for [500] (txn: txd226a9b5ac724f18921d9-0054dbaa34) (client_ip: 10.0.2.2)

While aptly from tests complains like that:

ERROR: unable to publish: unable to process packages: error uploading /Users/smira/.aptly/pool/00/35/libboost-program-options-dev_1.49.0.1_i386.deb to Swift: http://127.0.0.1:8181/v1/AUTH_test:aptly-sys-test-fc0e2a5e-4ee4-46f8-923e-910a2868da19/: HTTP Error: 503: 503 Internal Server Error

@smira
Copy link
Contributor

smira commented Feb 11, 2015

I'm just doing:

. .swift.sh
system/run.py Swift*

@smira
Copy link
Contributor

smira commented Feb 11, 2015

Probably this error is also related:

Feb 11 19:24:51 a5f7b31d554e container-sync: UNCAUGHT EXCEPTION#012Traceback (most recent call last):#012  File "/usr/bin/swift-container-sync", line 23, in <module>#012    run_daemon(ContainerSync, conf_file, **options)#012  File "/usr/lib/python2.7/dist-packages/swift/common/daemon.py", line 110, in run_daemon#012    klass(conf).run(once=once, **kwargs)#012  File "/usr/lib/python2.7/dist-packages/swift/common/daemon.py", line 57, in run#012    self.run_forever(**kwargs)#012  File "/usr/lib/python2.7/dist-packages/swift/container/sync.py", line 173, in run_forever#012    for path, device, partition in all_locs:#012  File "/usr/lib/python2.7/dist-packages/swift/common/utils.py", line 1721, in audit_location_generator#012    partitions = listdir(datadir_path)#012  File "/usr/lib/python2.7/dist-packages/swift/common/utils.py", line 2160, in listdir#012    return os.listdir(path)#012OSError: [Errno 20] Not a directory: '/srv/account.ring.gz/containers'

@lebauce
Copy link
Contributor

lebauce commented Feb 12, 2015

It's strange. It works on my setup with the very same commands :

$ . .swift.sh
$ system/run.py Swift*
t06_publish:SwiftPublish1Test... OK
t06_publish:SwiftPublish2Test... OK
t06_publish:SwiftPublish4Test... OK
t06_publish:SwiftPublish5Test... OK
TESTS: 4 SUCCESS: 4 FAIL: 0 SKIP: 1

@smira smira modified the milestones: v0.9.5, v0.9 Feb 12, 2015
@smira
Copy link
Contributor

smira commented Feb 12, 2015

I'll try to dig further into that for the release 0.9.5 (I hope it would be shortly after 0.9).

@smira smira modified the milestones: v0.9, v0.9.5 Feb 20, 2015
@smira
Copy link
Contributor

smira commented Feb 20, 2015

I've finally managed to get working using Orbit from Brightbox as test environment.

So some final touches and I'll merge it. Thanks @sbadia, @lebauce and John Leach!

smira added a commit that referenced this pull request Feb 20, 2015
smira added a commit that referenced this pull request Feb 20, 2015
smira added a commit that referenced this pull request Feb 20, 2015
smira added a commit that referenced this pull request Feb 20, 2015
@smira smira merged commit 0f22dc5 into aptly-dev:master Feb 20, 2015
@smira
Copy link
Contributor

smira commented Feb 20, 2015

Merged to master, nightly build aptly_0.9~dev+217+ge5d646c

@smira
Copy link
Contributor

smira commented Feb 25, 2015

@sbadia I've compiled some docs from man page: http://beta.aptly.info/doc/feature/swift/

Please feel free to correct mistakes I've made or expand it (e.g. how to consume published repositories from apt, recommended configuration, possible mistakes, etc.): https://github.com/aptly-dev/aptly-dev.github.io/blob/next-9/content/doc/feature/swift.md

slacksec referenced this pull request in slacksec/golang-devops-stuff Aug 21, 2017
…cf88c

d9607cf88c Merge pull request #624 from smira/no-go-16
4f56f34d82 Merge pull request #623 from smira/446-package-query-duplicates
00a9eb72d8 Drop support for Go 1.6, only Go 1.7+ is supported
cbc8051c5c Merge pull request #622 from smira/619-s3-prefix
a27b489ba2 Allow package queries to return duplicate entries on `PackageCollection`
790d85881b Fix S3 path caching double-prefix
35e2253944 Merge pull request #614 from smira/600-fix-double-mirror-update
a584b2e058 Fix bug with `PoolPath` field being overwritten on mirror update
587bfd742f Merge pull request #613 from smira/607-trim-slashes
84ef963d7d Trim slashes while parsing publish prefix
e70ef0a518 Merge pull request #612 from smira/610-stderr
e05768737f Print error messagge 'unable to open database' to stderr
a626e4693b Merge pull request #604 from AlekSi/patch-1
4d9b4298d8 Merge branch 'master' into patch-1
4cca7272ce Merge pull request #603 from smira/improve-pgp-internal
e9b2c18e2f Attempt to fix the tests
cbb576cbcc Fix up system tests
bcc83bff31 Try to reduce build duration
68da8a674a Improve internal PGP provider
cafa82f018 Merge pull request #601 from AlekSi/patch-1
83a9c394f3 Merge pull request #602 from AlekSi/patch-2
2c0a1b836c Update Travis CI configuration
28ae18792d Use SVG badges
2811ad02d5 Merge pull request #581 from smira/pgp-golang
ab20c2d329 Add publishing & repo include tests
d137bcf8d4 Fix up/add mirror update tests
3674e1adee System tests for mirror create/update with internal PGP implementation
05a5e69483 Fix misspelling
5e9515a912 Add `--batch` in batch mode (fixes #519)
84a6d573f8 Implement GPG signer
6228a399cf Mute goconst warnings
0e9f966dd1 Fix up other code to support new GPG provider structure
07fde3177b GoVerifier implementation
f9377b2aa6 Update bash completion for new flag
499ab35012 Implement flag/config falue for GPG provider
3c95f92b95 Now using `openpgp` package from golang.org/x/crypto
d7a7aa93a4 Merge pull request #596 from smira/s3-opts-man
58ab4e8902 Document additional S3 options [ci skip]
fcd453118b Merge pull request #590 from smira/1.1-fixups
7d179dd405 Small fixups for upcoming 1.1.0 release
20b874f81f Merge pull request #577 from sliverc/backport_support
e3f1880ad4 Added support for NotAutomatic, ButAutomaticUpgrades and Origin fields
39293d7faf Merge pull request #589 from smira/api-db-no-lock-fix
c13eb99925 Style fixups
211ac0501f Rework the way database is open/re-open in aptly
af2f7baf63 Merge pull request #556 from smira/contributing-documentation
3c25db3ffb Docs on contributing to aptly [ci skip]
12a6b0ceb8 Merge pull request #575 from smira/pgp-refactoring
0d041898ca Merge pull request #574 from smira/376-checksum-search-fix
982c093fbf Fix system tests
f54e798eac Add system test for fixed checksum matching
cafb89f30f Re-work the way checksum matching works against `Release` file
f0360cf2d3 Use longest suffix match to pick up checksum
1be8d39105 Refactor GPG signer/verifier
c026106352 Merge pull request #571 from sliverc/travis_for_forks
c507d0620b Making travis CI run again on forks
f84672239a Merge pull request #569 from smira/linters-4
c9bd7b4b5d Merge pull request #567 from smira/431-500-api
470165a419 Enable goconst & interfacer linters
9de9fbe6bd Merge branch 'master' into 431-500-api
e396a2e6c3 Merge pull request #568 from smira/fix-flat-tests
829ea2e65c Fix tests for flat repos
39d2d273dc Fix possible cause for spurious 500s
5a3e660c0d Merge pull request #566 from smira/135-sort-search
589dc93380 Sort package lists when searching or showing objects
33357c1fe4 Merge pull request #565 from smira/linters-3
5ce6bf8718 Enable `vetshadow` linter
d7bcf372c4 Merge pull request #564 from jyundt/add_mirror_edit_bash_autocomplete
3aa044d722 Add mirror edit option to bash auto-complete Fixes smira/aptly#563
a9a5a73dfd Merge pull request #560 from smira/linters-2
66b44e68a9 Attempt to workaround Travis "10 minutes without output".
51213899b7 More Go linters enabled, issues fixed
7a7c9cd26c Merge pull request #559 from smira/linters-extend-deadline
1b9ab46c5f Extend linters deadline
2cbed28446 Merge pull request #558 from smira/linters-python
39aa0fdbfe Merge pull request #557 from smira/linters-1
c983810e2d Manually create system/env, workaround Travis issues
c798db8056 Add system's requirements.txt, enforce flake8 linter
1e4a80252e Extend linter deadline to 1 minute
bae3f949b4 Enable `gosimple` and `ineffasign` linters
7a7b981d4f Merge pull request #539 from smira/public-pool-paths
2ffefeb1e0 Add man page for skipLegacyPool
1941418c10 Add system test for disabled legacy pool path support
186bb2dff0 Add flag to disable/enable support for legacy pool paths
2308632683 Add system tests for legacy pool files
ee21b69402 Add test for mirror without MD5 checksums
01512df853 Rework mirror update to support closing/reoping DB for the download duration
7dcc0d597d Fix S3/Swift tests
154ef7fe65 Fix system tests for aptly repo include
4601f07349 Fix system tests for `aptly repo add`
b7b9f12c88 Update system tests for SHA512 checksums being generated
b48e8425ec Fix bug with file not being updated properly
3ce8227122 Add baseName to LinkFromPool as explicit argument
0bc3f71d27 Use SHA256 as main checksum in the pool
c1d4c0fb88 Temporarily disable db close/open cycle (to be addressed later)
8078f3b588 We should remove file only when checksums are calculated
5dd11a2ec2 Pull original packages when skipping existing packages
cc34a021ce Fix misspellings
10c096fbb6 Update all other pieces for the CheckumStorage and Verify
a85d8b6f90 Mock for ChecksumStorage
5566111a7b New ChecksumStorage and new PackagePool interfaces
6994e35119 ChecksumCollection implementation
4eedb62418 Fix misspelling
1f3cb2db5d When downloading/importing packages, enforce all checksums
c40025a335 Add progress bar on package saving progress
4171a73995 Fix up system test
29e5f4ca10 Vendor import github.com/pkg/errors
05f6c75743 Add PR #506 original author [ci skip]
45d187bc14 Fix up system test
bc7903f86e Rework mirror update (download packages) implementation
72d233b587 Final round of updates, everything except mirror download should be ready
2535367c3c Update Swift published storage to work with new package pool
f4ff8d957f Fix S3 published storage to use new PackagePool interface
7bad358408 Local package pool and local publishing rewritten with new constraints
94b49818a1 Refactor HTTP downloader package
a245b722a8 Merge pull request #555 from smira/288-empty-repo-snapshot
8dc6a14766 Allow snapshot to be created from empty local repo
d66185ca03 Merge pull request #554 from smira/flat-system-test
c3acabe303 Fix system tests for flat repos
4697d8eaf8 Merge pull request #550 from smira/549-fix-deps
8bf71a5561 Rewrite `dep` files into new format
898cbd2c83 Merge pull request #548 from smira/546-fix-depends
62762f1616 Merge branch 'master' into 546-fix-depends
4d38e0bc87 Merge pull request #521 from seeraven/feature_localfiles_publishstorage
25f9c29f00 Implemented filesystem endpoint with support for hardlinks, symlinks and copy.
096b30b5e8 Update `Depends:` for homegrown packages
ac475c0a10 Merge pull request #544 from smira/543-tmp-dirs-leftover
60800b5f25 Fix temporary contents DB being left behind after publishing
36a4d78162 Merge pull request #535 from smira/public-pool-checksums
50cf2b49bd Refactoring: use checksums instead of MD5 for pool/published
675d35c7a1 Merge pull request #508 from smira/dep-verbose-resolve
bc469eecfb Merge branch 'master' into dep-verbose-resolve
bc01d9ed5b Merge pull request #534 from smira/533-ignore-contents-failures
7a5be6736d When contents generation fails, don't bail out
eb48460b7b Update bash completion
85b4a8b1ae Add new option for detailed logging on dependency resolving
e6bad637fd Merge pull request #532 from smira/530-bash-completion
47b5cc27c8 Move bash completion to main aptly repo
ca16841223 Merge pull request #520 from seeraven/feature_skip_existing_packages_latest
800c5c1e06 Merge branch 'master' into feature_skip_existing_packages_latest
7fd8bd0171 Merge pull request #531 from smira/release-1.0.0-preparation
4707efe4d6 Prepare for new release, update build instructions [ci skip]
8ae61f9448 Merge pull request #523 from smira/versioning
a138d0111d Update README to use `go install` which will build with version
af1adb44ce Remove `-x` flag for `go install`
4ddf85bbc1 Rebuilt man page with patched ronn.
9978595c59 Merge branch 'master' into feature_skip_existing_packages_latest
2943422d5d Automatic versioning for aptly
91219e3a0a Merge pull request #522 from smira/man-gen-rework
7f8db9087a Rework man generator with new `go install` format
aa16899c60 Adaption of tests.
16a0d0d428 Added option --skip-existing-packages to speed up mirror update.
66f51d2b17 Added option --skip-existing-packages to speed up mirror update.
92c844b8ac Merge pull request #517 from smira/goreportcard
2b56a3937b Fix goreportcard badge [ci skip]
9cea9b6470 Merge pull request #512 from smira/500-xdg-open
e3e68b9f22 Customize viewer per platform
d56839664d Merge pull request #513 from smira/gometalinter
516dd7b044 Switch to gometalinter
53e59d3765 Merge pull request #509 from smira/golint-govet
11d828b3b1 Add govet/golint into Travis CI build
07472bec50 Merge pull request #511 from smira/dep-experiment
f737787c01 Fix up system tests
c6c1012330 Conver to regular Go vendor + `dep` tool
070347295e Merge pull request #505 from smira/rmedaer-master
acd8d4a6ea Go 1.6 compatibility
c9768416ed Fix up tests
bfb9ffad1d Added expected error on 'Packages.xz' for TestDownload[WithSources]Flat.
9cfe1307e3 Added download tests for xz compression.
db8595711b Added '.xz' reader in HTTP download. This fixed issue when you try to mirror a distribution with only Packages.xz (example 'debian/experimental').
ce0001f94c Merge pull request #504 from smira/go-1.8
b102562478 Fix up system test for Go 1.8
69cbe10690 Add Travis CI build on Go 1.8
e3e4ea91bd Merge pull request #502 from smira/aws-sdk-bump
02c582e227 Merge pull request #503 from smira/pr-template-update
6e96cd29dc Add bash completion to PR template [ci skip]
17044f43dc Bump Go AWS SDK to the latest version
5d3b170ffc Merge pull request #497 from smira/repo-create-from-snap
a0f7b2242d Merge pull request #499 from sobczyk/dbgsym
b8e7ad9022 update changes unit test to account for dbgsym matching
1b80d55ea4 since -dbgsym is for each binary package use that for PackageQuery
a0832adfa5 include dbgsym packages
f17d398e8f Implement new command `aptly repo create ... from snapshot ...`
bc3b2ed5a8 Merge pull request #495 from apachelogger/systemd-activation
07cf8925f9 support systemd activation for `api serve`
564ebf3130 Merge pull request #493 from apachelogger/api-over-socket
dbee214259 support serving the API over unix domain socket
6267c5cb25 Merge pull request #490 from smira/contents-low-footprint
4c06e26d85 Throttle compaction on temporary DB
f2dc4eeec9 Generating contents indexes via temporary LevelDB
f86e6ebf1f Merge pull request #491 from charz/master
0d208c93bc Merge branch 'master' of https://github.com/smira/aptly
485f311498 Fix URL path for Swift.
46b0d637e2 Merge pull request #484 from jola5/master
5a71847b7f Simplify test implementation
38a9917815 Handle dependencies in gomfile
4456f8da57 Refactor
970b1a424a Fix bugged implementation
edffa24658 Test startup checks for serve command
3040e7360a Fix golang.org/x/sys/unix dependency issue
b948180b4e Abort serve command if rootDir is inaccesible
f58d2627c1 Add temporary DB and prefix methods to `Storage`
ab0d77f6f9 Merge pull request #488 from smira/empty-filters
33d6cd8c0a Allow filter to be empty for `aptly * search` commands
4eef4f1803 Merge pull request #481 from smira/data-tar-gz-as-tar
c75d4c749c Add workaround for reading data.tar.gz as data.tar
c8a1b9a1f0 Merge pull request #482 from smira/fix-travis
d8d8973ad5 Fixing Travis build
d1ded5c224 Merge pull request #480 from smira/man-generator
155a801bc1 Add `make` automation to re-generate man page [ci skip]
6212b39264 Merge pull request #475 from jola5/master
92116072c2 Fix and enable broken graph layout tests
b0ab39e07f Manually undo unintended changes
4bf27d1dae Merge branch 'master' into master
207ebffbb8 Merge pull request #472 from sliverc/print_sources
b0dd83335f Merge branch 'master' into print_sources
8df6457931 Merge pull request #478 from smira/476-sorted-paths
7d2a396b27 Merge pull request #474 from apachelogger/support-graph.dot
d5df049630 Sort paths when generating checksums for `Release`/`InRelease`
7c62a706c4 Disable tests failing due to inappropriate test data
96948d6f18 Basic test of graph layout
43e6498713 Add me to authors
91561b40f6 Change 'vertical' argument to a more generic 'layout', fix api
0e8ea6363a Support vertical graph layouts
345fa02fdc Allow requesting the unrendered dot graph from the graph endpoint
064adbae57 generate aptly.1 man page with patched ronn
ab458f4dfc Updated aptly man page and authors
0fdee9cbf6 Added publish show command
50e3e93166 print snapshot sources in snapshot show command
570835227b Merge pull request #470 from smira/templates
781c22e256 Add PR and issue templates
babccfa21f Merge pull request #469 from smira/code-of-conduct
891113717e Add Contributor Covenant Code of Conduct [ci skip]
bfb9045fa9 Merge pull request #465 from SHyx0rmZ/allow-empty-repo-edits-in-api
1c6b174b8a Make comment and defaults nullable in repo edit
fb27fb01ea Allow comment and defaults to be empty when editing a repo through the API
b6327ecc43 Merge pull request #463 from sliverc/download_tries
af71b9541c Fixing typo
f31b5ec3f8 Adjusted test with new maxTries param for download
6becd5a3aa Added max-tries flag for mirror update
653255c728 Merge pull request #462 from smira/goxc-cleanup
5f0ce38161 Fix compression test for Go 1.7+
d100033b46 Fix up build for recent versions of Go
d008cabf07 Add link to `aptly_api_cli` by @TimSusa
f3214144a4 Merge pull request #458 from sliverc/travis-fix2
d41841b84a Make Travis CI be able to run on forks
2a95e0eb1b Merge pull request #441 from ZettaIO/v3-auth
81f8ab2691 Merge pull request #433 from Pryz/master
4e61db8d0f Fix man page (help) for `aptly package show`.
273d4cfa1b Merge pull request #449 from adfinis-forks/bug_415_memoryhandling
d290950d4f Merge pull request #453 from sliverc/update_leveldb
2ade5b8a7f Updating leveldb fixing memory usage issue
fcd4429370 only create bzip file if needed. #415
8e62620880 Fixing tests after adding v3 swift auth
511fb439ac Identity v3 support for Swift
34ea7e8d61 Merge pull request #418 from btkostner/test-fix
543c986885 Add TubeMogul Puppet module to README.rst
f939532461 added exit code 2 for go 1.5 support
aa4e225455 fix unit tests
65541a1df2 Fix system tests.
0a74b50a12 Merge branch 'dstelter-master'
902c6487da Merge branch 'master' of https://github.com/dstelter/aptly into dstelter-master
1d5b7f59cf Update system tests.
1c45c79cc1 Allow overriding architecture info from Release file
85c5aeddae Merge pull request #391 from karras/master
a95e409f52 fix missing comma in man page example
53b571d6fc Attempt to fix the build.
7a8af044ee 0.9.8~dev version.
a667744502 Updte system tests.
aa53b8da15 Go 1.6.
52f7c83f95 Release 0.9.7.
d7665119e4 Few more fixes.
587086beb4 Misc style and simple mistakes fixes.
644d24d1cc Attempt to lower memory usage when publishing with contents.
2fe8cfdc12 Allow credentials for S3 SigV2 to be specified in config once again. #356
2ecd933d50 Merge pull request #372 from amalakar/add_sbt_aptly
90ea1111e2 Merge pull request #371 from smira/s3-list-fix
165a1c53b5 Merge pull request #368 from smira/225-duplicates-package-search
876935050a Add link to scala sbt plugin
d9a1299f6b Replace object listing with SDK-standard iteration.
ff52d2655a Fix package search missing duplicate packages. #225
bc438ff694 Add @bentoi and @geofft to AUTHORS. [ci skip]
0db3cac281 Merge pull request #366 from geofft/signing
9ed6e8dbbd Merge pull request #367 from bentoi/mkdir_mask_bug
7294241c08 Merge branch 's3-sigv2-debug'
60cca0245b Fix system tests.
75b860e0b1 Support SigV2 and S3 debug for publishing.
7f5a7323a6 Fixed mkdir mode from 755 to 777
1069458aee gpg: Sign with SHA-256 for compatibility with APT 1.2.7
76edf9649b Update goleveldb with latest fix.
8b0d293c6a Update public key ID for repo.aptly.info
281d0dd68d Merge branch 'apachelogger-issue/361'
cfaa8f3881 Fix system tests.
f1b6841757 add Checksums-Sha512 to isMultilineField
b966b2eabf Fix HOME expansion.
a4e573bb07 Fix system tests after squeeze->squeeze-lts move.
067d197dac Update to latest version of goleveldb.
18d04c7977 Fix failure not being reported from API. #290
a29453805c Publish under root using `:.` explicit prefix. #339
05b1296144 Merge pull request #354 from smira/313-sha512
29e33069aa Merge pull request #355 from smira/remove-s3-retrying-client
ee05bb23c9 Fix Swift tests for SHA512.
505da096e6 Remove S3 retrying client which is leftover from goamz times.
77be7b9e3b Support for SHA-512 hashes on publishing/downloads.
ffafed472c Merge pull request #347 from smira/skip-contents
8c9cc41099 Fix nil pointer dereference on S3 publishing. #338
f50e008763 Make 'SkipContents' configurable in API. #345
64b04c2764 Merge pull request #346 from smira/api-no-lock-fix
d6c7a9a89c Flush collection contents on each DB unlock in API.
0339f0fe23 Allow additional options for goxc [ci skip]
fcedaa3fc5 Merge branch 'bitglue-aws_sdk' #344
7acfc84c9d Add @bitglue to AUTHORS. [ci skip]
02b937ad17 Fix unit-tests.
7ad1c1ad17 Fix dependencies. #344
640bd2b530 Use official AWS SDK; support STS credentials
06149ef2bb Merge pull request #340 from bryanhong/master
b271e8fe31 another example of aptly in Docker
efc6ab27db goxc-based build system
05c063839d Update to smira/lzma with import path fixed.
fd30b37a0e Bump version to 0.9.7~dev.
9738687116 Add -no-lock to aptly api serve to excercise locking.
219315c01d Fix one more system test on version.
62f44e53fd Version bump to 0.9.6.
b25f8e438c Re-generate man [ci skip]
f14fce01e9 Merge pull request #300 from vincentbernat/fix/api-serve-lock
a790770a19 Add @x539 to AUTHORS. [ci skip]
7bb052ac37 Fix unit-tests. #324
631fe44c6b Security: don't download files we don't have checksums for. #324
ca319c804e Print warning message to stderr. #311
3e368690fd Stop building Go 1.3, only Go 1.4 supported.
339bf0a90b Add new comitters to AUTHORS.
c5b48f0362 Merge pull request #307 from vincentbernat/fix/defer-lock
d5f50732c1 Merge pull request #320 from paul-krohn/master
9d973aeceb shorten regex to match generated error only
7caeac7515 add diagnostic output
7f6a52019f Add a flag to unlock database after each API request
16101b56fe Fix lock handling in cache flusher for API
a294a91685 Cache filepath list in s3.LinkFromPool instead of doing Get checks #297
cf644289a3 Lower limit for goleveldb open files cache to 256 #260
33c905ce02 Upgrade goleveldb to the latest version. #260
8fdc222196 Fix retry policy. #297
1e4d825d36 Disable keep alives, fix return on last retry. #297
76bf7cba04 Fix handling of folded fields in Stanza. #270
08bc5ac934 Fix system tests for Go 1.5.
c160cbccc7 Fix mirror system tests.
c473a5cba8 Really randomize port in Swift unit-tests.
84801bce78 Fix unit-tests
b95b3473bf Switch to Travis CI new build infra.
f1d5caab8b Enable build for Go 1.5.
6a973554ad Update goar to the latest version. #275
698e239f45 Include all aptly contributors in man section AUTHORS.
205297d0b8 Update license to mention that there are many contributors.
ba4669a9c4 Man page for package display format in search commands. #254
8bda799545 Support for Go-style templating in format for aptly * search. #254
6c28e3aca8 Update flat repository.
901babe500 Fix test.
0c6f38ab08 Fix system test.
a131d6093c Fix unit-test.
974cec3e73 Fix publish tests.
442c5f090f Fix package tests.
d04f08c1cf Correctly handle multine fields in Release/non-Release files. #266
767c7ca0db Merge branch '261-fix-multiline-fields'
dd27aad751 Add @sobczyk to the list of AUTHORS. #266
ddfdeaf2d0 Merge pull request #266 from sobczyk/master
4c51350517 fix EOF during mirror update
40e48c963a Revert "Update publish tests, as some multiline fields are actually multiline."
c44d347540 Don't need to manually insert \n, multiline fields are handled correctly.
4a54bff225 Add missing return statements.
e39736153d Update package tests.
f032196d70 Mirror has been updated.
a030e24b96 Update publish tests, as some multiline fields are actually multiline.
c2993c6691 Use other port that doesn't interfere with PostgreSQL.
7d4a70ba25 Make first line of multiline field empty for all fields except for `Description`. #261
38dfe3435a For plusWorkaround, correctly handle cleanup, deletions. #239
313c71dff6 Rework s3 retry policy by copying sources from goamz :( #255
a88d92436f Fix system test for mirrors list.
9d298dee51 Remove deadline timeout. #255
9abc772b16 Change our flat repo for testing, old one is dead.
2f1df39204 Use S3 retrying transport. #255
0f328ec1fe Seed Python random generator on start.
78b6d6ca7b Send error messages to stderr. #249
5cd3c33854 Update goamz library to latest version. #253
9af76843b5 Fix README formatting. [ci skip]
53506124a4 Add integrations to README, aptly API CLI. [ci skip]
9bbf9c7b13 Merge branch 'graph-output-filename'
82e6e8242e Update man page. #242
2bf11a556c Update custom output filename generation. #242
c62828bf14 Merge branch 'graph-specific-output-filename' of https://github.com/gdbdzgd/aptly into graph-output-filename
b53cf7e710 Merge pull request #246 from GLolol/typofix
780277d0a6 Build on go 1.4 as well.
a6f5631542 Fix system tests.
52b1501ec0 Update to new debian archive keyring.
c9339f5cca Typo fix (depdency -> dependency)
a9c23fb4aa Fix silly bug with non-encodable value being encoded.
72e3eaebfe Add optional notice.
f3bcaa6cfb aptly graph specific output filename
1c8f1517f8 Update man. #218 [ci skip]
50ae34cc19 Create S3 with endpoint/multidel param from config. #218
8cc7d1345b Support for new S3 configuration options: endpoint & multi del disabling. #218
0791c88a02 Support for custom endpoints and multi del disabling. #218
ba08ffe38b Add dependency on xz-utils. #142
1bec1e4dc4 Use external binary 'xz' implementation. #142
bcf8074f31 Revert "Use Go native lzma implementation, so that there are no external dependencies. #142"
6a2d564eee Revert "Add liblzma-dev to list of build dependencies in Travis. #142"
709e14ecc1 Use Go native lzma implementation, so that there are no external dependencies. #142
5b1f446a6b Ignore empty 'Depends:' while parsing control file. #233
f41146c750 Revert "Build static binaries on !OS X. #142"
d56ac81fd6 Build static binaries on !OS X. #142
fb213ef6eb Fix system tests. #142
933b019f71 Fix -skip-contents + system tests. #142
6293ca3206 Add -skip-contents flag. #142
d46d8de5f7 Make sure contents don't have duplicate package entries. #142
4e3284cd98 Check contents of contents index being generated. #142
10876b99f5 Check for contents file generation. #142
61d31ce7c0 Check that contents are generated on repo publish. #142
e0f284d68f Check that contents files are generated. #142
df887d871b Skipping contents generation. #142
99f6ffe1ca Fix system test for content generation. #142
138f9f7994 Generate only .gz file for Contents index. #142
3886db9d4f Merge pull request #231 from seaninspace/patch-1
b877e06a02 Update import.go
38f4fc209b Contents index support. #142
b223acdecb Contents index generator. #142
cc8a87b448 Cached calculation of package contents. #142
ee3d414ed5 Don't use shared encodeBuffer, not safe for API mode.
d791aa0f15 Remove debugging output. #142
393ae8adbd Regenerate man page. #163
7037c6be7e Rename -output to -format. #163
c10645f4f2 Support custom output formats for aptly graph. #163
27da1015af Test case for filters. #227
78b0fe0e90 Fix system tests.
4651e41247 Add liblzma-dev to list of build dependencies in Travis. #142
a6c40f3193 Getting contents from .deb files. #142
3e138fd6db Add dependency on .xz and .lzma decompression. This introduces dependency on liblzma. #142
3c20b5472e Tests for aptly repo include with per-repo uploaders.json. #71
8b782ce370 Support for per-repo uploader.json in aptly repo commands. #71
a160a39d53 -uploaders-file for aptly repo edit/create. #71
1c4b44e772 Uploaders to JSON transformation via String. #71
b4b03f2752 Update system tests. #71
1d21d3cfeb Uploader.json from repo overrides global uploaders.json. #71
d2ce33e66a Allow local repo to carry uploaders.json config. #71
f0fbb8259b Document uploaders.json file in man. #71
962c4a842d Additional tests for aptly repo include. #71
54e21afee7 Use uploaders.json in repo include. #71
cc3f5149c6 Return detailed error if uploaders deny upload. #71
c8713aa412 Fix bugs. #71
02a82f3545 Use relaxed config reader. #71
c573746896 Refactor to get Keys from Changes. #71
813b9593fa Uploaders rules facility: controlling who can upload .changes. #71
bc68513708 Implementation of PackageLike interface for Changes. #71
c4692bec3d Matching short/long GPG key IDs. #71
c53060d95a Add system test on package restriction check. #71
22c656d18e Style fix [ci skip]. #71
4d622e467c Refactoring: make PackageQuery work on PackageLike objects (not necessarily Packages). #71
36326788b0 When importing package into local repo, verify that it matches package restriction based on .changes file. #71
782ac1a36a ChangesFile can produce Query each package file should satisfy. #71
8ca07d9acd Fix unit tests. #71
4a57fe3c39 Refactoring: make gpg verification return missing/good key IDs. #71
7579f1998c Fix system tests. #71
67a31d5eaa Merge branch '71-changes-support'
5b9d287b62 Add `aptly repo include` to man. #71
775670181c System tests for -ignore-signatures + -accept-unsigned. #71
2a3bd5546a Unsigned files shouldn't be accepted. #71
197e230ef1 System tests: wrong signature. #71
c6eeac11a4 System test for wrong checkums. #71
90d3b623b4 Check file size as well as checksums. #71
a59c2ac859 Tests for file removal + missing files. #71
103fa5310f First pack of system tests for aptly repo include. #71
71b7de7a63 Initialize empty verifier if -ignore-signatures is given to check for signature. #71
a937ebc744 First version aptly repo include command processing .changes files. #71
925882b253 Collect .changes file in directory hiearchy. #71
615a5ee3f9 Example of package upload with .changes file. #71
4a6d6a85f7 Remove unused error argument.
2937435960 Add missing commands api, config.
2f3b5f5a51 Refactor Changes structure, new method prepare to verify checksums and copy files. #71
5b4563f250 Simple CopyFile utility function. #71
5da4bde428 Fix reference to go-uuid.
42c4644be3 Move go-uuid to GitHub. No more code.google.com. RIP.
1845c493f4 Update mxk/flowcontrol package from Google Code to mxk/flowrate from GitHub.
8a0f754fe2 Snappy has moved, remove reference.
77bb4d423d Update import path for gographviz.
1d483dc817 Update reference to gographviz (code.google.com is going to be shut down).
a7103623af .changes files parsing. #71
903e999cdc Refactor checksum parsing out of package parsing code. #71
69eff97b34 Relax .dsc checkshums parsing. #71
8e20daa927 Refactor out IsClearSigned to separate method. #71
9e39dbf81e Version bump to 0.9.6~dev.
7a4feebe6f Version bump to 0.9.5.
1d1561c6c3 Add missing files.
9a5b3aeedc System test. #193
ed931e7ed4 Fix unit-tests. #153
5ff9cecc5a Regenerate man page. #153
f8bca463bb Add -force-drop to `aptly publish drop`, `?force=1` to `DELETE publish/...` to drop published repositories even if cleanup fails. #153
d5c6f0b623 Collect and report unused package reference sources. #217
7e57f443ed Style fix. #193
b4cf2e7065 Canonical case fixes. #193
2ceabb69e6 Remove extra \n, system tests. #217
aa9d3360ba Canonical case-folding for Debian stanzas. #193
4580a64192 Make import skip file if Name/Version/Arch is empty. #193
4cb0526980 Commands * search should exit with failure on no results. #213
03e2a8d558 Regenerate man page. #217
ab09cbfe3c Add -verbose and -dry-run to aptly db cleanup. #217
0467e0c929 More sophisticated color codes stripper. #217
6e1c9afdd9 Bump version to 0.9.5~dev.
4b3b961b69 Version bump to 0.9.1
e63adffdf5 Introduce back reflist merging without conflict removal. aptly db cleanup requires full reference list collection. #217
d00659b0cb Recommend graphviz for Debian packages.
66e73782e5 Version bump to 0.9.
68f332628d Tests on publish update/switch and delete. #116
01c0d19243 Fix bug with components not being cleaned up after publish update. #116
eb0443ed51 Tests for publish list API + verify that publishing actually creates files. #116
4b974b038c Test for snapshot publishing. #116
2d9ee81c95 Update status code. #116
5c9d4d2844 More tests for repo drop. #116
49a9ad79dd Adjust return code for publish create call. #116
7e60466c7b Fix system test.
233ad2528f Update system tests for new publishing APIs. #116
2f1afa54c2 Publish update/drop APIs, rework prefix, move publishing APIs. #116
6bf910ea56 Update dependency on ssh/terminal.
8fcfedf708 Lock down package pool to make sure that we have no concurrent access. #116
26b46ee2a0 Fix confusing comment. #116
e33a2a6f96 Reverting, as this change was making API LESS RESTful. My bad.
06dc1ef9a4 Make snapshot creation API more RESTful: accept snapshot name from URL. #116
4c57c358b7 One more attempt to fix system tests.
65532b3dbf Fix system tests.
fb25dec58e Consistently rename response fields to CamelCase. #116
e320499f84 Mention SwiftPublishEndpoints. smira/aptly#191
4715b12f16 Simpler apt-key command. #202
c6a30a30de Update README.
618d06678c Style fixes from go vet.
903d4cefba gofmt -s
79292dc6c8 Update system tests. #191
43414be2ee Fix bug with aptly locking up on swift published storage lookup. #191
3c34ae6071 Update CLI help for aptly publish switch. #208
642957e3a3 Update Brightbox Orbit credentials.
e5d646c007 Merge branch 'sbadia-swift'
e0f811dab1 Travis CI setup to run Swift tests. #191
48b8311150 Style fixes. #191
8111460e36 Update aptly man page. #191
0490d0c928 Remove .swift.sh, it is now private.
b323e315d1 Add comments where required.
77f928db69 Fix variable shadowing.
b67f3dd6f7 gofmt #191
88ff4493b0 Publish list API. #116
6e8fd6e907 Update to latest cheggaaa/pb with my pull request merged.
9c3095e42c Fix data race in p.Bar being read and written from different goroutines.
c737b8c544 Flush CollectionFactory every 15 minutes. #116
87cecac4ea Lock down Context. #116
76ee53e9f8 Eliminate data races by using API without Progress. #116
f153c7c3ea We're building on go1.3+, so remove workaround for FreeBSD.
36792bba29 Update progressbar version.
0b05964faa Add ability to Flush CollectionFactory. #116
ff00a5a026 Add @alexanderguy to AUTHORS. [ci skip]
fc0310f468 Merge pull request #201 from alexanderguy/add-suite
63bf30b890 d-i requires the Suite field in order to validate a mirror.
3004473bbb Update to correct reference to ncw/swift.
4356fe5cbe Merge branch 'sbadia-swift' of github.com:sbadia/aptly into sbadia-swift
d6271b6542 Use upstream version of ncw/swift
26a65b2336 swift: Fallback to TempAuth
20adfd49a7 swift: Add support for Swift API v1 (without Keystone)
355a98b51f Use upstream version of ncw/swift
1f73a34a54 Don't put empty Source: fields into package stanza. #195
7925af9fd6 Exit with failure if aptly package search yields no results. #188
fb03a3baf9 Add @shadeslayer and @rra to list of AUTHORS. [ci skip]
f097cd20c1 Add @sbadia to AUTHORS. #191
0489ba9d16 Swift startup script. #191
46b3f8fbaf PEP8 fixes. #191
cacd0cf103 Merge branch 'swift' of https://github.com/sbadia/aptly into sbadia-swift
c933668c16 Merge branch 'mkoval-feature/RepoUpdateAPI'
24418ab0a4 Small fixes to publish update API. #174
4963d0a1d7 Add @mkoval to list of AUTHORS.
ea8bfeb8a7 Merge branch 'feature/RepoUpdateAPI' of https://github.com/mkoval/aptly into mkoval-feature/RepoUpdateAPI
a582493a6e Packages show API with tests. #116
930f76887b Final version of system tests for snapshot API. #168
a4201a40d2 Allow to override architectures when publishing. #116
4990bb98e5 Update gin to latest available version. #116
00d4674aa5 Update (fix) system test.
06b4016338 More fixes related to locking and overall operations. #168
c1b2e4fabb Fix for snapshot creation APIs: locking, package existence checks, consistency checks. #168
f438637a98 Don't expose UUIDs in API. #168
ce208f347e Merge branch 'lebauce-snapshot-api'
06502584cf Check component names (that they do exist) before publish switching. #192
0f22dc590a Fix config tests and update man page
11716f06f0 Add test suite for the Swift backend
1ba06e828d Remove prefix in Filelist and RemoveDir
bc357a19a1 Added swift python tests
9004f8578c Detect if bulk-delete is supported
7f038be1cb Add swift backend for repository publishing
13fc1122f0 Use Python requests URL params instead of manual GET params. #168
cb99cbec58 Fix final system test. #168
5d16cf06cf Gobuild is gone. [ci skip]
b0489117c8 Update system tests for new Package serialization. #168
fa2eef564c Enhance Package JSON representation with Key, ShortKey and FilesHash. #168
d20300b152 Whitespace fix. #168
398303235a Custom JSON marshalling for PackageDiff, updated test for snapshot diff API. #168
25d048fe49 Add Package serialization to JSON via stanza. #168
8c15a0ca95 Add AlekSi/pointer to dependencies. #168
8e8ff8ba65 Revert "Make files hash a type for proper JSON serialization"
1b0eb9d45a Attempt to fix #189 and #130: disable Amazon workaround when using proxy.
403c7272cd When loading package index for the mirror, ignore duplicate packages (and print about them). #183
0412646151 Add @bcandrea to list of authors.
0725003107 Merge pull request #186 from bcandrea/master
7a1553dc55 Update dependency definition in conflicts (fixes #185)
8375a2c30f Update system test.
5bbbdb3c19 Use long gpg key IDs. #178
1fd80c40d0 Add --no-default-keyring to example command. #182
ae5ab2d138 Use https:// in example when talking about Release.key download. #179
eb087fd291 When generating index files, make udeb forced false for "source" architecture. #180
3f6491b8a3 Non-working test on format=details.
9250479846 Extract common part of show and search packages from snapshots and repos. #168
9c60421bd6 Python style fixes. #168
ebea4f10a0 Make snapshot diff GET, not POST (as it doesn't change anything in the system). #168
d828732307 Refactoring: make snapshot sorting non-intrusive to collection contents. #168
7c3629337c Merge branch 'snapshot-api' of https://github.com/lebauce/aptly into lebauce-snapshot-api
a29034caa5 Implemented apiPublishUpdateSwitch.
c1fd633ed7 Add Sylvain Baubeau to authors. [ci skip]
bd2cc45524 Fix order of 'Component' and 'Architecture' fields. #172
0665f2231a Sort packages when generating Packages index file. #172
836abdc81e Bring back "Archive" into canonical order. #172
876eeedb14 Update canonical order of fields in stanza to match what apt tools generate. #172
fd502264a9 Install graphviz in Travis. #169
b155eaa91c Merge branch 'lebauce-graph-api'
a0d7ae28bf Simple tests for graph generation API. #169
2816647809 Allow to generate graph in formats supported by dot. #169
67ce828eeb Lock collections before building graph. #169
427c42f4b8 Move graph into deb/ package, passing collection factory. #169
b50cb70a0e Merge branch 'graph-api' of https://github.com/lebauce/aptly into lebauce-graph-api
c832a5cdc4 Add missed file. #167
1bd625f17f Merge branch 'lebauce-api-version'
a0fa0becc2 Add system test on version API. #167
d489694ea9 Refactoring: simplify version generation. Rename API to /api/version. #167
982b5dc886 Merge branch 'api-version' of https://github.com/lebauce/aptly into lebauce-api-version
1ddaecfb94 New Debian version: update system tests.
129c34806c Pass --no-use-agent when running with --passphare flag. #162
6c7f3b3bbd Add /api route to show API version #116
38cb6bd133 Graph REST API #116
98ca0cdf33 Publish repo REST API. #116
6e32e3dcf4 Fix some variable shadowing.
6a1a871dda Lock snapshot collection before sorting
6bc7048166 Fix wrong method comment
87fbd5201b Add Chris Read to authors.
dcf5798229 Merge remote-tracking branch 'cread/gocheck'
382ad10cf7 Update man page.
ddb2dd7eb6 Fix typo
9b1b43c8b4 Add custom JSON representation of PublishedRepo. #116
ee7d84205b Update system test.
93e8e18ca6 Document lock order acquisition. #116 [ci skip]
d586f31247 Move ParsePrefix into common code. #116
dd9fc8e40e Allow API creation of snapshots using package references
d847cba870 Make repos and snapshots API return JSON objects for packages when asked
d983e10d08 Add snapshots API test suite
a6fc65ff4e Sanitize snapshots API return codes
85f38cd739 Allow setting description on snapshots using API
acde6ff2b2 Fix wrong methods comments
c733129de9 Add search API for packages in snapshots
e138212593 Make files hash a type for proper JSON serialization
64ef342121 Add /snapshots/ API. #116
66c9bb86f5 Move command line snapshot sorting to common snapshot code
923e2e1e50 Update system test.
0e552eda55 When merging reflists, never allow duplicate (name, version, arch) tuples.  #154 Even for conficting packages.
ba32d16c8a Fix system test.
4320144024 Merge pull request #155 from davewongillies/master
2564564601 Typo in an error message fix
f228ad811b Accept MD5 in package from 'MD5Sum' as well. #151
5fe442f191 Fix issue with missing comma in JSON.
50c4aba9ab Upgrade to latest goleveldb. #150
b3627738c2 Add Gitter.im badge. [ci skip]
eec6743fe4 Use ${HOME}, fix test. #146
42bf2f5e98 Fix one more system test. #147
35b9a8ea91 Don't sign repo in test. #146
26c0502307 Introduce new flag -force-components to aptly mirror create to ignore components in Release file while doing checks. #147
5fa487e2dc Add gitter.im notification.
d9c62780c2 When doing db cleanup, consider package references stored in PublishedRepos of local repo publishes. #146
8c54e15a11 Add information about nightly builds, go 1.3. [ci skip]
cc2cc16004 Fix system test.
726f12c537 Repos APIs: searching for packages, adding and deleting packages from the repo. #116
f1c235f5c5 Fix error message.
9072ba5981 Revert part of test that shouldn't have been comitted yet. #140
7beb90d4fc Strings() for PackageList: turning list into sequence of package Ids. #116
61e22743af Fix for stripping part with slashes from component names. #140
036baa2264 Exclude "source" architecture from list of Release architectures. #140
ccd8c2551f Update location of go tool cover.
74f9787884 Implementation of upload file to local repo APIs. #116
83af66a8f6 Refactoring: move package files importing code to common deb from command. #116
daf887e54f Upgrade gocheck
552b11e28d Workaround for '+' escaping in Amazon S3. #130
80a88a2248 Merge branch 'shadeslayer-master'
4c1d6d1463 Fix operator precedence. #131
140a11c04a Continue even when a server replies with 403
7be2ef8b85 Don't fallback between compression methods available unless we get strictly HTTP 404. #129 #125
d2d21c3df7 Update system test.
f81a91bde9 First step of aptly repo add refactoring: extract collection of files. #116
7efd0de67c Fix shadowing of variable. #116
6a9db17460 Stubs for API calls. #116
b1053826e3 Debian 7.7 has been released, update tests.
18953c1c90 Merge pull request #128 from rra/master
aeb85a1b3c Allow variation of formatting of Debian control.tar.gz
0a6d57ea1a Fixing system tests.
aa4dee3c60 Merge branch 'queeno-fix_truncation_bug'
9fbe33b356 System test for file override from pool. #127
2a9871e2e9 We should never ever overwrite files in package pool. #127
951b6e9004 Test to avoid published file truncation when added to repo
2173d3ab65 Fix file truncation bug
9c834f410c API for file upload. #116
eef44f5cd5 Correctly set config override. #123
aa77ea2835 Test for config show. #123
119bb0195b Merge branch 'queeno-add_config_show_command-2'
017dca57ed Re-generate man page. #123 #96
88351503b0 Fix misprint. #96
37b2d49aea A bit more style fixes. #123
0afb1f4306 Style fixes.
6ac0658478 Merge branch 'add_config_show_command' of https://github.com/queeno/aptly into queeno-add_config_show_command-2
50c8e35a90 Re-enable task run command. #96
d6c3389d7c First steps towards /files/ API (file upload). #116
6b83213cf4 Add UploadPath to Context. #116
24927f9a29 config_show should output pretty json
ecbb9ad20c Fixed failing system test
81e9189853 Config show now outputs a clean data structure
8efb7903b2 Added map to to_string and tabs to config_show
c1995beff1 Config_show prints out strings,structs,ints,bools
192152b215 Config command created - config show started
972e8c1373 Merge pull request #124 from queeno/queeno_username_change
c501fc63f8 Change simonaquino's github username to queeno
bf08ad800f Attempt to build in Travis with python & virtualenv. #116
ebc223a895 System tests for API. #116
01b1f23d6b Merge branch '122-gpg-batch'
6b08b64d62 Add latest contributors.
89bb20388f Fix unit tests. #122
9857789204 Regenerate man page. #122
6d1efe0200 Docstrings, gofmt. #122
a85aa11ecd Update flag description/include it everywhere. #122
27ea769ad3 Merge branch 'master' of https://github.com/freehck/aptly into 122-gpg-batch
523d0d0945 Library for API system tests. #116
53f7fef4cf Force flag for API repos delete. #116
b590efa45f Merge branch 'master' of https://github.com/freehck/aptly
59055d7fbd Add batch flag for publish commands
22bcacf143 Typo in a error message fix
877109b3b7 Don't build under go1.2 (gin incompatible), use go 1.3.3. #116
10056b8571 Add first /repos/ API, command `api serve`. #116
ac983ff65d Add RwMutexes to all collections. #116
2ed76f1e4c Add method to convert reflist to list of strings. #116
cb6b18acfe Add missing dependency to github.com/jlaffaye/ftp.
3cd8c5adab Add gin and its dependencies. #116
dd7b7b5f20 Refactor RefList.FilterLatestRefs to be method instead of standalone func.
1f6880fcad Disable api command, it's not committed yet. #117
c8d9bef686 Close database before writing first byte to stdout. #117
8a787d2c35 Refactor by separating AptlyContext into separate package. #116
159608cef3 Make LocalRepo JSON-serializable. #116
52c5934eb6 Lock down CollectionFactory. #116
e4b9e974d2 bytes.Equal should be faster than bytes.Compare.
d541b4f137 Version bump to 0.9~dev.
eece643ea5 Include bash completion into source tarball.
14bd443d4d Disable support for aptly task for now. #96
9109c60c43 Version bump to 0.8.
445ecbe8f3 Update man page. #45 #114
27de979733 More comments. #45 #114
ad11053412 Support for locking, unlocking, interruption, cleanup. #45 #114
a356f3dff9 Marking RemoteRepo as being updated, with worker PID, checking for locks. #45 #114
1042894123 Abort downloader on shutdown, don't wait for downloads to finish. #45 #114
43eb993160 Don't panic on double re-open/close, ignore it. #45 #114
d190ffd39a Update goleveldb to the latest version.
93c1c7aaab Support for closing and re-opening database. #45 #114
3e5ba27cb7 Ability to re-open db after close. #45 #114
cd3b24799a Use less files for the download test.
a0870f6726 Refactor mirror download code, split it into separate methods. #45 #114
d45b456334 Update test. #26
91c753ad2f Add URL to all download errrors, so that they're easier to understand. #26
40509f73b3 Update system test.
1daa076d65 Don't allow '/' in distribution name, auto-replace '/' with '-' while guessing. #110
aeae6009c4 Introduce plusWorkaround: generate copy of file with '+' -> ' ' to workaround S3/apt bug. #98
8049d69793 Update goamz to version with fix for multidel, re-enable S3 delete test.
8aa1954ba7 Support for custom storage class and encryption method. #105
a02a90a3d8 Remove validate argument, not supported by Travi CI boto version.
f303aabf26 Another way to install boto.
735cbac60d Install boto library for system tests.
5d69871ca4 Tests for publishing to Amazon S3.
1afbae8f7c Add AWS credentials.
1ed647e1b0 List storage & prefix in publish list. #113
01b8e9eda5 Fix system tests. #108
f43d514804 Merge branch '108-udebs'
7e8f692b2c Use better words. #108
4b50f817d7 Fix system tests. #108
e123e4dfac .udebs are supported now. #108
4fb09d9e85 Update man page. #108
d9b23167bc Test on publishing repo with .udebs. #108
2c84faaf8d System test for repo adding .udebs. #108
6514b87e3e Add keyring for publish. #108
bd34ba4088 Pregenerate all udebs indexes if at least one udeb has been discovered. #108
fae6e977c3 System tests for publishing snapshot from mirror with .udebs. #108
2ae34cd873 Use Package.MatchesArchitecture instead of homegrown function. #108
b365e5e0b2 System test: regular publish doesn't generate debian-installer files. #108
e171f90fd5 Restore ${HOME} links. #108
db499f872d Major refactoring of the publishing method, now uses helper indexFile(s). #108
8f9944117c Update tests on show mirror format change. #108
ea399a335a Update tests on show mirror format change. #108
976ddb5ff9 Fix tests on arguments help. #108
7d8600b840 Add support for mirroring, showing, and editing remote repos with .udebs. #108
7ad1bb387b Support for .udeb downloads from remote mirrors. #108
2fbf465fbf Support for .udeb in deb.Package. #108
fa786332de Allow changing "download sources" option for the mirror. #109
5e1bd0ff0e Correctly parse boolean flags in combination with config options. #104
9c92b81706 Remove -dry-run flag for aptly snapshot filter, as it is useless. #82
144ccbf809 Make order of configuration file loading clear.
a11805efb4 Update to goleveldb with misspellings fixed.
5b6cea2d62 Fix system test after spelling fixes.
d4699a3b24 Fix system test.
09a695a128 Fix spelling mistakes.
ec4d2bcefe Fix spelling mistakes found by lintian.
3040aceb7f Update goleveldb to the version which reduces memory usage significantly.
61d8639a8a System tests for aptly snapshot filter. #82
b47754a106 Update man page. #82
1b08b7311f Implementation of command aptly snapshot filter. #82
0130fc0392 Add -force-replace flag to repo aptly add to replace conflicting packages. #83
de32595d29 Fix test. #94
95e5fdd34a Update README. [ci skip]
a05f00d9f1 Regenerate man page. #94
97158ef37b Support for --passphrase & --passphrase-file arguments on publishing. #94
f01ac06d97 Remove extra whitespace [ci skip]
a549778754 Fix system tests. #48
47d952f712 System test for ftp:// download. #48
166f31c34d Regenerate man page. #48
4940fdc951 Note support of FTP. #48
7ae785f5a3 Implementation of ftp:// support for downloading. #48
09c8421648 Update man page.
6a2059150f Add Vincent Batoufflet to list of authors.
9b3dfe920d Merge branch 'vbatoufflet-mirror-edit-arch'
72f8e4ab61 Check architectures before applying arch change. #99
755944652f System tests for mirror edit with architectures. #99
b29d42d023 Fix system test, use ${HOME}. #80
f19ece776d Merge branch 'mirror-edit-arch' of https://github.com/vbatoufflet/aptly into vbatoufflet-mirror-edit-arch
839763c0b9 Command package show with tests. #80
c56ecab06f Method PackageRefList.Has(). #80
02d86422a8 Fix tests by introducing stable sort. #80
65efe0cd2a System tests for aptly package search. #80
468b1f11b9 New command: package search to search whole package DB for matching packages. #80
608870265c New common interface for PackgeCollection & PackageList: PackageCatalog. #80
ed03a7c69e New algorithm for dependency resolution, tests. #100 #81
5a42c60af4 Simplify and make more deterministic algorithm for dependency pulling. #100
f66302ef31 Add ability to edit mirror architectures
346a7bcce9 System tests for mirror, snapshot, repo search. #81
9bee7cdd08 Simplify dependency verification code. #81
74eee3496c Capture test results in prepared format. #81
3ef5429212 System tests for aptly mirror search. #81
3030e66d4c Fix -with-deps searching. #81
9ae5a5ffb2 Update system tests. #96
833d37d22c Update system tests. #81
03ec1f97a7 Fix after style fix. #96
a2df51b40e Commands mirror/repo/snapshot search. #81
ae906f525e Style fixes. #96
b4a5a55cac Style fixes. #96
6003764ff5 Add more system tests. #96
099a82c816 Style fixes. #96
ef992e2b44 Merge branch 'queeno-script_run_command'
68e600974d Refactoring: remove context switching, another way to catch panics, colored output. #96
39a1f0ec2d Use go1.3.1.
318fc5b7f4 Merge branch 'script_run_command' of https://github.com/queeno/aptly into queeno-script_run_command
72e54aa3d1 Fixed a bug with the context switching
91ff904ac4 Adding filename flag to specify task run filename.
b59471ad35 Added RunTask acceptance tests
6ff601f4a2 Making sure context is initialised before using it
0c09bdedaa Fixed t03_help:MainTest failing due to new cmd
dfc1f27d4c Better wording for task run message.
005cee572e Aptly script has now become aptly task
18e3ed5d64 aptly script run implementation
3c7696ef7e Refactored main.go
b2779d7a88 Go-shellwords added to Gomfile
cdd34b4759 Added panicked attribute to context.go
1f2ddca32b Add switchContext function to context.go
df06dc356b Added script cmd in cmd.go
b6c82f073f Added new script command
9a03b5f696 Update leveldb to the latest version.

git-subtree-dir: src/github.com/smira/aptly
git-subtree-split: d9607cf88c6ab9aae0886ed81f91348a7f976b18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Added OpenStack Swift backend
3 participants