mirror of
https://github.com/containers/skopeo.git
synced 2025-07-06 11:26:54 +00:00
Merge pull request #536 from SUSE/update-github-references
Complete transition from the `projectactomic` project to the `containers` one
This commit is contained in:
commit
fef142f811
@ -15,7 +15,7 @@ that we follow.
|
|||||||
## Reporting Issues
|
## Reporting Issues
|
||||||
|
|
||||||
Before reporting an issue, check our backlog of
|
Before reporting an issue, check our backlog of
|
||||||
[open issues](https://github.com/projectatomic/skopeo/issues)
|
[open issues](https://github.com/containers/skopeo/issues)
|
||||||
to see if someone else has already reported it. If so, feel free to add
|
to see if someone else has already reported it. If so, feel free to add
|
||||||
your scenario, or additional information, to the discussion. Or simply
|
your scenario, or additional information, to the discussion. Or simply
|
||||||
"subscribe" to it to be notified when it is updated.
|
"subscribe" to it to be notified when it is updated.
|
||||||
@ -122,9 +122,9 @@ IRC group on `irc.freenode.net` called `container-projects`
|
|||||||
that has been setup.
|
that has been setup.
|
||||||
|
|
||||||
For discussions around issues/bugs and features, you can use the github
|
For discussions around issues/bugs and features, you can use the github
|
||||||
[issues](https://github.com/projectatomic/skopeo/issues)
|
[issues](https://github.com/containers/skopeo/issues)
|
||||||
and
|
and
|
||||||
[PRs](https://github.com/projectatomic/skopeo/pulls)
|
[PRs](https://github.com/containers/skopeo/pulls)
|
||||||
tracking system.
|
tracking system.
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
@ -43,7 +43,7 @@ RUN set -x \
|
|||||||
ENV GOPATH /usr/share/gocode:/go
|
ENV GOPATH /usr/share/gocode:/go
|
||||||
ENV PATH $GOPATH/bin:/usr/share/gocode/bin:$PATH
|
ENV PATH $GOPATH/bin:/usr/share/gocode/bin:$PATH
|
||||||
RUN go get github.com/golang/lint/golint
|
RUN go get github.com/golang/lint/golint
|
||||||
WORKDIR /go/src/github.com/projectatomic/skopeo
|
WORKDIR /go/src/github.com/containers/skopeo
|
||||||
COPY . /go/src/github.com/projectatomic/skopeo
|
COPY . /go/src/github.com/containers/skopeo
|
||||||
|
|
||||||
#ENTRYPOINT ["hack/dind"]
|
#ENTRYPOINT ["hack/dind"]
|
||||||
|
@ -11,4 +11,4 @@ RUN apt-get update && apt-get install -y \
|
|||||||
libostree-dev
|
libostree-dev
|
||||||
|
|
||||||
ENV GOPATH=/
|
ENV GOPATH=/
|
||||||
WORKDIR /src/github.com/projectatomic/skopeo
|
WORKDIR /src/github.com/containers/skopeo
|
||||||
|
6
Makefile
6
Makefile
@ -73,14 +73,14 @@ binary: cmd/skopeo
|
|||||||
ifneq ($(DISABLE_CGO), 1)
|
ifneq ($(DISABLE_CGO), 1)
|
||||||
docker build ${DOCKER_BUILD_ARGS} -f Dockerfile.build -t $(DOCKER_BUILD_IMAGE) .
|
docker build ${DOCKER_BUILD_ARGS} -f Dockerfile.build -t $(DOCKER_BUILD_IMAGE) .
|
||||||
endif
|
endif
|
||||||
docker run --rm --security-opt label:disable -v $$(pwd):/src/github.com/projectatomic/skopeo \
|
docker run --rm --security-opt label:disable -v $$(pwd):/src/github.com/containers/skopeo \
|
||||||
$(DOCKER_BUILD_IMAGE) make binary-local $(if $(DEBUG),DEBUG=$(DEBUG)) BUILDTAGS='$(BUILDTAGS)'
|
$(DOCKER_BUILD_IMAGE) make binary-local $(if $(DEBUG),DEBUG=$(DEBUG)) BUILDTAGS='$(BUILDTAGS)'
|
||||||
|
|
||||||
binary-static: cmd/skopeo
|
binary-static: cmd/skopeo
|
||||||
ifneq ($(DISABLE_CGO), 1)
|
ifneq ($(DISABLE_CGO), 1)
|
||||||
docker build ${DOCKER_BUILD_ARGS} -f Dockerfile.build -t $(DOCKER_BUILD_IMAGE) .
|
docker build ${DOCKER_BUILD_ARGS} -f Dockerfile.build -t $(DOCKER_BUILD_IMAGE) .
|
||||||
endif
|
endif
|
||||||
docker run --rm --security-opt label:disable -v $$(pwd):/src/github.com/projectatomic/skopeo \
|
docker run --rm --security-opt label:disable -v $$(pwd):/src/github.com/containers/skopeo \
|
||||||
$(DOCKER_BUILD_IMAGE) make binary-local-static $(if $(DEBUG),DEBUG=$(DEBUG)) BUILDTAGS='$(BUILDTAGS)'
|
$(DOCKER_BUILD_IMAGE) make binary-local-static $(if $(DEBUG),DEBUG=$(DEBUG)) BUILDTAGS='$(BUILDTAGS)'
|
||||||
|
|
||||||
# Build w/o using Docker containers
|
# Build w/o using Docker containers
|
||||||
@ -144,7 +144,7 @@ validate-local:
|
|||||||
hack/make.sh validate-git-marks validate-gofmt validate-lint validate-vet
|
hack/make.sh validate-git-marks validate-gofmt validate-lint validate-vet
|
||||||
|
|
||||||
test-unit-local:
|
test-unit-local:
|
||||||
$(GPGME_ENV) $(GO) test -tags "$(BUILDTAGS)" $$($(GO) list -tags "$(BUILDTAGS)" -e ./... | grep -v '^github\.com/projectatomic/skopeo/\(integration\|vendor/.*\)$$')
|
$(GPGME_ENV) $(GO) test -tags "$(BUILDTAGS)" $$($(GO) list -tags "$(BUILDTAGS)" -e ./... | grep -v '^github\.com/containers/skopeo/\(integration\|vendor/.*\)$$')
|
||||||
|
|
||||||
vendor: vendor.conf
|
vendor: vendor.conf
|
||||||
vndr -whitelist '^github.com/containers/image/docs/.*'
|
vndr -whitelist '^github.com/containers/image/docs/.*'
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
skopeo [](https://travis-ci.org/projectatomic/skopeo)
|
skopeo [](https://travis-ci.org/containers/skopeo)
|
||||||
=
|
=
|
||||||
|
|
||||||
<img src="https://cdn.rawgit.com/projectatomic/skopeo/master/docs/skopeo.svg" width="250">
|
<img src="https://cdn.rawgit.com/containers/skopeo/master/docs/skopeo.svg" width="250">
|
||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
@ -178,8 +178,8 @@ macOS$ brew install gpgme
|
|||||||
Make sure to clone this repository in your `GOPATH` - otherwise compilation fails.
|
Make sure to clone this repository in your `GOPATH` - otherwise compilation fails.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ git clone https://github.com/projectatomic/skopeo $GOPATH/src/github.com/projectatomic/skopeo
|
$ git clone https://github.com/containers/skopeo $GOPATH/src/github.com/containers/skopeo
|
||||||
$ cd $GOPATH/src/github.com/projectatomic/skopeo && make binary-local
|
$ cd $GOPATH/src/github.com/containers/skopeo && make binary-local
|
||||||
```
|
```
|
||||||
|
|
||||||
### Building in a container
|
### Building in a container
|
||||||
|
@ -5,8 +5,8 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/containers/image/signature"
|
"github.com/containers/image/signature"
|
||||||
|
"github.com/containers/skopeo/version"
|
||||||
"github.com/containers/storage/pkg/reexec"
|
"github.com/containers/storage/pkg/reexec"
|
||||||
"github.com/projectatomic/skopeo/version"
|
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
@ -6,7 +6,7 @@ set -e
|
|||||||
#
|
#
|
||||||
# Requirements:
|
# Requirements:
|
||||||
# - The current directory should be a checkout of the skopeo source code
|
# - The current directory should be a checkout of the skopeo source code
|
||||||
# (https://github.com/projectatomic/skopeo). Whatever version is checked out
|
# (https://github.com/containers/skopeo). Whatever version is checked out
|
||||||
# will be built.
|
# will be built.
|
||||||
# - The script is intended to be run inside the docker container specified
|
# - The script is intended to be run inside the docker container specified
|
||||||
# in the Dockerfile at the root of the source. In other words:
|
# in the Dockerfile at the root of the source. In other words:
|
||||||
@ -19,7 +19,7 @@ set -e
|
|||||||
|
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
export SKOPEO_PKG='github.com/projectatomic/skopeo'
|
export SKOPEO_PKG='github.com/containers/skopeo'
|
||||||
export SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
export SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
export MAKEDIR="$SCRIPTDIR/make"
|
export MAKEDIR="$SCRIPTDIR/make"
|
||||||
|
|
||||||
|
@ -4,13 +4,13 @@ set -e
|
|||||||
export GOPATH=$(pwd)/_gopath
|
export GOPATH=$(pwd)/_gopath
|
||||||
export PATH=$GOPATH/bin:$PATH
|
export PATH=$GOPATH/bin:$PATH
|
||||||
|
|
||||||
_projectatomic="${GOPATH}/src/github.com/projectatomic"
|
_containers="${GOPATH}/src/github.com/containers"
|
||||||
mkdir -vp ${_projectatomic}
|
mkdir -vp ${_containers}
|
||||||
ln -vsf $(pwd) ${_projectatomic}/skopeo
|
ln -vsf $(pwd) ${_containers}/skopeo
|
||||||
|
|
||||||
go get -u github.com/cpuguy83/go-md2man github.com/golang/lint/golint
|
go get -u github.com/cpuguy83/go-md2man github.com/golang/lint/golint
|
||||||
|
|
||||||
cd ${_projectatomic}/skopeo
|
cd ${_containers}/skopeo
|
||||||
make validate-local test-unit-local binary-local
|
make validate-local test-unit-local binary-local
|
||||||
sudo make install
|
sudo make install
|
||||||
skopeo -v
|
skopeo -v
|
||||||
|
@ -5,8 +5,8 @@ import (
|
|||||||
"os/exec"
|
"os/exec"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/containers/skopeo/version"
|
||||||
"github.com/go-check/check"
|
"github.com/go-check/check"
|
||||||
"github.com/projectatomic/skopeo/version"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
Loading…
Reference in New Issue
Block a user