Miloslav Trmač
a4aedae063
Add types.ImageSource and types.ImageDestination
...
Right now, only a declaration.
This will allow writing generalized push/pull between various storage
mechanisms, and reuse of the Docker Registry client code for the Docker
Registry embedded in OpenShift.
2016-05-02 19:43:16 +02:00
Antonio Murdaca
aff6aa7c2c
Merge pull request #41 from projectatomic/fix-url
...
docker.go: do not concatenate url in ping
2016-04-29 16:51:38 +02:00
Antonio Murdaca
6d74750bba
docker.go: do not concatenate url in ping
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-04-29 15:23:06 +02:00
Antonio Murdaca
2b3a4cfdfe
Merge pull request #39 from mtrmac/update-gpgme
...
Update mtrmac/gpgme vendor to fix build on CentOS 7
2016-04-26 18:30:20 +02:00
Miloslav Trmač
e76eecd533
Update mtrmac/gpgme vendor to fix build on CentOS 7
2016-04-26 17:57:40 +02:00
Antonio Murdaca
dfc6352108
Merge pull request #37 from mtrmac/v2s1-manifest-followup
...
v2s1 manifest followup
2016-04-25 18:08:54 +02:00
Miloslav Trmač
23899acadd
Create a new subpackage "dockerutils", starting with manifest computation
...
Move the manifest computation (with v2s1 signature stripping) out of
skopeo/signature into a separate package; it is necessary in the
OpenShift client as well, unrelated to signatures.
Other Docker-specific utilities, like getting a list of layer blobsums
from a manifest, may be also moved here in the future.
2016-04-25 17:27:51 +02:00
Miloslav Trmač
7a7dd84818
Fix fixture file name
...
It is “manifest version 2, schema 1”, not v1.
2016-04-25 17:27:51 +02:00
Antonio Murdaca
8374928f74
Merge pull request #35 from jwhonce/wip/manpage
...
Update man page
2016-04-22 09:13:31 +02:00
Jhon Honce
b52d3c85c6
* Update Authors
2016-04-21 13:44:12 -07:00
Jhon Honce
eab73f3d51
Update man page
...
Resolves https://github.com/projectatomic/skopeo/issues/12
* Convert man page from markdown to nroff
* Fill out man page
* Remove TODO's from go code regarding man page
* Additional information on building instructions
* Update Makfile
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2016-04-21 09:46:02 -07:00
Antonio Murdaca
918a4d9110
Merge pull request #36 from projectatomic/fix-creds
...
fix invalid credentials error
2016-04-21 15:33:14 +02:00
Antonio Murdaca
c7be79e190
fix invalid credentials error
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-04-21 14:32:49 +02:00
Antonio Murdaca
28f2fedab9
Merge pull request #34 from mtrmac/v1s1-manifest-digest
...
Strip signatures from v1s1 manifests before computing the digest
2016-04-19 18:03:57 +02:00
Miloslav Trmač
4e19770a1b
Strip signatures from v1s1 manifests before computing the digest
2016-04-19 17:37:04 +02:00
Antonio Murdaca
68a614d463
Merge pull request #33 from mtrmac/cgo-pthread-ordering-workaround
...
Add a workaround for a glibc bug when -lphtread precedes -lgpgme
2016-04-13 22:40:58 +02:00
Miloslav Trmač
e782275c2e
Add a workaround for a glibc bug when -lphtread precedes -lgpgme
2016-04-13 21:42:19 +02:00
Antonio Murdaca
9d10b0b4ea
Merge pull request #32 from mtrmac/integration-diagnostics
...
Test command output before eror status in signing integration tests
2016-04-12 10:11:39 +02:00
Miloslav Trmač
dd7c2d44fa
Log command output on failures in signing integration tests
2016-04-11 17:41:57 +02:00
Antonio Murdaca
c4e48c8f85
Merge pull request #31 from mtrmac/vendor-fixes
...
Vendor fixes
2016-04-07 09:00:01 +02:00
Miloslav Trmač
f7b81b5627
Fix dependency computation
...
Set GOPATH to start with ./vendor so that we use the dependencies in our
vendored versions instead of dependencies in whatever other version is
elsewhere in GOPATH.
And then undo it when trying to list the non-vendor subpackages in the
current directory.
2016-04-05 17:46:58 +02:00
Miloslav Trmač
96b96735ed
Allow keeping vendor subdirectories in vendored packages
...
github.com/coreos/etcd as of v2.2.5 uses a Godeps subdirectory, and
imports packages by including the Godeps path fragments directly in the
package name; so we can't just remove the subdirectory and vendor the
included package directly. So, add a flag to clone() to surpress
removing the vendor subdirectories.
2016-04-05 17:46:53 +02:00
Antonio Murdaca
d7ae061a83
Merge pull request #28 from runcom/fix-gitcommit
...
remove cmd/ subdir
2016-03-25 12:21:26 +01:00
Antonio Murdaca
1423aab202
remove cmd/ subdir
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-03-25 12:14:43 +01:00
Antonio Murdaca
9e982f0b1d
Merge pull request #25 from mtrmac/signing
...
Signing
2016-03-24 17:40:30 +01:00
Miloslav Trmač
03f6cb89e6
Add standalone-sign and standalone-verify commands
2016-03-24 17:06:30 +01:00
Miloslav Trmač
69d5a131c9
Add signing and verification to the signature package
2016-03-24 11:32:23 +01:00
Miloslav Trmač
9595b3336f
Signature JSON encoding/decoding
...
Adds stretchr/testify dependency.
2016-03-24 11:32:23 +01:00
Antonio Murdaca
10a41bd0fc
Merge pull request #24 from mtrmac/all-dependencies
...
Do not clean test-only dependencies from vendor packages
2016-03-24 00:00:46 +01:00
Miloslav Trmač
e6841d0a27
Do not clean test-only dependencies from vendor packages
...
Instead of only checking dependencies of the "main" packages, include
also test dependencies of all subpackages of the project, and their
transitive dependencies.
2016-03-23 17:17:21 +01:00
Antonio Murdaca
79f09478b4
Merge pull request #22 from runcom/tls
...
support --cert-path and --tls-verify
2016-03-23 15:40:32 +01:00
Antonio Murdaca
1ce21cd233
support cert-path and tls-verify flags
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-03-23 15:35:07 +01:00
Antonio Murdaca
70a6c7b21d
urls const(s)
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-03-23 12:40:32 +01:00
Antonio Murdaca
3a09e2bf8e
clean vendors and bootstrap tls verify
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-03-23 10:27:59 +01:00
Antonio Murdaca
d204183544
Merge pull request #21 from runcom/fix-makefile
...
fix makefile
2016-03-22 18:21:01 +01:00
Antonio Murdaca
e78053938b
fix makefile
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-03-22 18:10:59 +01:00
Antonio Murdaca
37ebb81936
Merge pull request #15 from runcom/enhanc
...
drop docker/ code
2016-03-22 16:34:37 +01:00
Antonio Murdaca
c02155340e
include needed deps
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-03-22 16:29:16 +01:00
Antonio Murdaca
fed651449e
remove vendors ftw
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-03-22 16:02:55 +01:00
Antonio Murdaca
aa6d271975
refactor image manifest
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-03-22 15:50:41 +01:00
Antonio Murdaca
50a2ed1124
fix CI and remove docker/ dir
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-03-22 15:50:41 +01:00
Antonio Murdaca
103420769f
drop docker/ code
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-03-22 15:50:41 +01:00
Antonio Murdaca
7be01242a8
remove duplicate code
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-03-22 15:50:40 +01:00
Antonio Murdaca
60c5561c84
Merge pull request #20 from mtrmac/fix-vendor
...
Fix hack/.vendor-helper.sh for main package move.
2016-03-22 14:41:39 +01:00
Miloslav Trmač
f7ebc0a595
Fix hack/.vendor-helper.sh for main package move.
...
Otherwise the "clean" step of hack/vendor.sh would drop most .go files
from vendor/ as unused.
Also commits refreshed versions of a few of the vendored packages.
2016-03-22 14:33:15 +01:00
Antonio Murdaca
ffcb8f862f
Merge pull request #19 from mtrmac/unit-tests
...
Add infrastructure for running unit tests
2016-03-22 14:22:36 +01:00
Miloslav Trmač
b815271f16
Add collective test targets:
...
- (make check): GNU coding standards-compliant primary entry point,
running all available tests in the best environment (i.e. Docker
container).
- (make test-all-local): Local entry point, running only tests
which do not require a special environment; intended for IDE
integration and quick turnaround cycles.
Also modifies the Travis configuration to run (make check), to prevent
duplication.
2016-03-22 14:12:56 +01:00
Miloslav Trmač
a4fd447146
Run unit tests in Travis
2016-03-22 14:12:56 +01:00
Miloslav Trmač
ab36f62d59
Add 'test-unit' and 'test-unit-local' Makefile targets
...
Running unit tests without the integration tests is non-trivial, so add
a Makefile target to help with this.
2016-03-22 14:12:56 +01:00
Antonio Murdaca
fde4c74547
Merge pull request #17 from mtrmac/validate-uncommitted
...
Use contents of local checkout instead of last commit for validation
2016-03-21 15:41:39 +01:00