Andrey Smirnov
50cf2b49bd
Refactoring: use checksums instead of MD5 for pool/published
...
This is related to #506
As a first step, don't pass MD5 explicitly, pass checksum info object,
so that as a next step we can choose which hash to use.
There should be no functional changes so far.
Next step: stop returning explicit paths from public package pool.
2017-04-01 00:12:31 +03:00
Andrey Smirnov
675d35c7a1
Merge pull request #508 from smira/dep-verbose-resolve
...
Add new option for detailed logging on dependency resolving
2017-03-31 19:58:23 +03:00
Andrey Smirnov
bc469eecfb
Merge branch 'master' into dep-verbose-resolve
2017-03-31 19:17:57 +03:00
Andrey Smirnov
bc01d9ed5b
Merge pull request #534 from smira/533-ignore-contents-failures
...
When contents generation fails, don't bail out
2017-03-31 16:38:25 +03:00
Andrey Smirnov
7a5be6736d
When contents generation fails, don't bail out
...
This replaces `panic` which aborts aptly execution with warning
message on console. So aptly continues publishing actions, but
`Contents` indexes might be incomplete.
Error will be printed every time contents generation is triggered.
2017-03-31 00:57:18 +03:00
Andrey Smirnov
eb48460b7b
Update bash completion
2017-03-28 22:58:53 +03: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
e6bad637fd
Merge pull request #532 from smira/530-bash-completion
...
Move bash completion to main aptly repo
2017-03-28 22:22:10 +03:00
Andrey Smirnov
47b5cc27c8
Move bash completion to main aptly repo
...
Fixes #530
Original repository: https://github.com/aptly-dev/aptly-bash-completion
2017-03-28 21:41:57 +03:00
Andrey Smirnov
ca16841223
Merge pull request #520 from seeraven/feature_skip_existing_packages_latest
...
Add option -skip-existing-packages to mirror update to speed up download queue setup
2017-03-28 21:39:36 +03:00
Andrey Smirnov
800c5c1e06
Merge branch 'master' into feature_skip_existing_packages_latest
2017-03-28 21:26:28 +03:00
Andrey Smirnov
7fd8bd0171
Merge pull request #531 from smira/release-1.0.0-preparation
...
Prepare for new release, update build instructions [ci skip]
v1.0.0
2017-03-28 00:17:08 +03:00
Andrey Smirnov
4707efe4d6
Prepare for new release, update build instructions [ci skip]
2017-03-28 00:15:41 +03:00
Andrey Smirnov
8ae61f9448
Merge pull request #523 from smira/versioning
...
Automatic versioning for aptly
2017-03-27 16:02:25 +03:00
Andrey Smirnov
a138d0111d
Update README to use go install which will build with version
2017-03-26 19:24:32 +03:00
Andrey Smirnov
af1adb44ce
Remove -x flag for go install
2017-03-26 19:23:53 +03:00
Clemens Rabe
4ddf85bbc1
Rebuilt man page with patched ronn.
2017-03-25 08:52:08 +01:00
Clemens Rabe
9978595c59
Merge branch 'master' into feature_skip_existing_packages_latest
2017-03-25 08:50:24 +01:00
Andrey Smirnov
2943422d5d
Automatic versioning for aptly
...
New version format:
* for releases, `x.y.z` (follows tag without leading `v`)
* for nightly builds, `x.y.z+N+hash` (previous version, not the upcoming one)
This means that each nightly build `aptly` would report
correct version now.
Version is now complied into the aptly binary, system tests
automatically check for current version, no need to update them
anymore.
2017-03-25 00:18:45 +03:00
Andrey Smirnov
91219e3a0a
Merge pull request #522 from smira/man-gen-rework
...
Rework man generator with new `go install` format
2017-03-24 21:50:28 +03:00
Andrey Smirnov
7f8db9087a
Rework man generator with new go install format
...
With previous version, `go install` automatically picks up
package `man` and installs `gen.go` as `main` to the $GOPATH/bin which
is not what is expected. Move man page generator to separate
private folder.
2017-03-24 21:07:38 +03:00
Clemens Rabe
aa16899c60
Adaption of tests.
2017-03-24 06:25:46 +01:00
Clemens Rabe
16a0d0d428
Added option --skip-existing-packages to speed up mirror update.
2017-03-23 22:01:11 +01:00
Clemens Rabe
66f51d2b17
Added option --skip-existing-packages to speed up mirror update.
2017-03-23 21:55:22 +01:00
Andrey Smirnov
92c844b8ac
Merge pull request #517 from smira/goreportcard
...
Fix goreportcard badge [ci skip]
2017-03-23 18:33:00 +03:00
Andrey Smirnov
2b56a3937b
Fix goreportcard badge [ci skip]
2017-03-23 18:32:00 +03:00
Andrey Smirnov
9cea9b6470
Merge pull request #512 from smira/500-xdg-open
...
Customize viewer per platform
2017-03-23 18:28:24 +03:00
Andrey Smirnov
e3e68b9f22
Customize viewer per platform
2017-03-23 17:12:34 +03:00
Andrey Smirnov
d56839664d
Merge pull request #513 from smira/gometalinter
...
Switch to gometalinter
2017-03-23 16:32:33 +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
Andrey Smirnov
53e59d3765
Merge pull request #509 from smira/golint-govet
...
Add govet/golint into Travis CI build
2017-03-22 22:14:30 +03:00
Andrey Smirnov
11d828b3b1
Add govet/golint into Travis CI build
...
Fix current issues
2017-03-22 21:49:16 +03:00
Andrey Smirnov
07472bec50
Merge pull request #511 from smira/dep-experiment
...
Convert to regular Go vendor + `dep` tool
2017-03-22 20:34:36 +03:00
Andrey Smirnov
f737787c01
Fix up system tests
2017-03-22 19:56:23 +03:00
Andrey Smirnov
c6c1012330
Conver to regular Go vendor + dep tool
2017-03-22 19:24:06 +03:00
Andrey Smirnov
070347295e
Merge pull request #505 from smira/rmedaer-master
...
Added '.xz' extension in HTTP download.
2017-03-17 00:47:33 +03:00
Andrey Smirnov
acd8d4a6ea
Go 1.6 compatibility
2017-03-17 00:17:07 +03:00
Andrey Smirnov
c9768416ed
Fix up tests
2017-03-16 23:06:41 +03:00
Raphael Medaer
bfb9ffad1d
Added expected error on 'Packages.xz' for TestDownload[WithSources]Flat.
2017-03-16 22:41:25 +03:00
Raphael Medaer
9cfe1307e3
Added download tests for xz compression.
2017-03-16 22:41:25 +03:00
Raphael Medaer
db8595711b
Added '.xz' reader in HTTP download. This fixed issue when you try to mirror a distribution with only Packages.xz (example 'debian/experimental').
2017-03-16 22:41:25 +03:00
Andrey Smirnov
ce0001f94c
Merge pull request #504 from smira/go-1.8
...
Add Travis CI build on Go 1.8
2017-03-16 22:16:01 +03:00
Andrey Smirnov
b102562478
Fix up system test for Go 1.8
2017-03-16 20:58:21 +03:00
Andrey Smirnov
69cbe10690
Add Travis CI build on Go 1.8
2017-03-16 18:46:03 +03:00
Andrey Smirnov
e3e4ea91bd
Merge pull request #502 from smira/aws-sdk-bump
...
Bump Go AWS SDK to the latest version
2017-03-16 18:45:26 +03:00
Andrey Smirnov
02c582e227
Merge pull request #503 from smira/pr-template-update
...
Add bash completion to PR template [ci skip]
2017-03-16 01:31:52 +03:00
Andrey Smirnov
6e96cd29dc
Add bash completion to PR template [ci skip]
2017-03-16 01:30:00 +03:00
Andrey Smirnov
17044f43dc
Bump Go AWS SDK to the latest version
...
This seems to fix `NotImplemented` S3 error
2017-03-16 01:28:44 +03:00
Andrey Smirnov
5d3b170ffc
Merge pull request #497 from smira/repo-create-from-snap
...
Implement new command `aptly repo create ... from snapshot ...`
2017-03-16 01:12:09 +03:00
Andrey Smirnov
a0f7b2242d
Merge pull request #499 from sobczyk/dbgsym
...
include dbgsym packages
2017-03-14 22:51:24 +03:00