mirror of
https://github.com/genuinetools/reg.git
synced 2024-05-20 03:58:32 -04:00
move repo from jessfraz to genuinetools and update paths
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
8033ffd22d
commit
1c31bc4260
6
Makefile
6
Makefile
|
@ -157,7 +157,7 @@ dind: ## Starts a docker-in-docker container for running the tests with
|
|||
--name $(DIND_CONTAINER) \
|
||||
--privileged \
|
||||
-v $(CURDIR)/.certs:/etc/docker/ssl \
|
||||
-v $(CURDIR):/go/src/github.com/jessfraz/reg \
|
||||
-v $(CURDIR):/go/src/github.com/genuinetools/reg \
|
||||
-v /tmp:/tmp \
|
||||
$(DIND_DOCKER_IMAGE) \
|
||||
dockerd -D --storage-driver $(DOCKER_GRAPHDRIVER) \
|
||||
|
@ -175,8 +175,8 @@ DOCKER_IMAGE := reg-dev
|
|||
dtest: ## Run the tests in a docker container
|
||||
docker build --rm --force-rm -f Dockerfile.dev -t $(DOCKER_IMAGE) .
|
||||
docker run --rm -i $(DOCKER_FLAGS) \
|
||||
-v $(CURDIR):/go/src/github.com/jessfraz/reg \
|
||||
--workdir /go/src/github.com/jessfraz/reg \
|
||||
-v $(CURDIR):/go/src/github.com/genuinetools/reg \
|
||||
--workdir /go/src/github.com/genuinetools/reg \
|
||||
-v $(CURDIR)/.certs:/etc/docker/ssl:ro \
|
||||
-v /tmp:/tmp \
|
||||
--net container:$(DIND_CONTAINER) \
|
||||
|
|
12
README.md
12
README.md
|
@ -1,6 +1,6 @@
|
|||
# reg
|
||||
|
||||
[![Travis CI](https://travis-ci.org/jessfraz/reg.svg?branch=master)](https://travis-ci.org/jessfraz/reg)
|
||||
[![Travis CI](https://travis-ci.org/genuinetools/reg.svg?branch=master)](https://travis-ci.org/genuinetools/reg)
|
||||
|
||||
Docker registry v2 command line client.
|
||||
|
||||
|
@ -18,14 +18,14 @@ Docker registry v2 command line client.
|
|||
|
||||
#### Binaries
|
||||
|
||||
- **darwin** [386](https://github.com/jessfraz/reg/releases/download/v0.12.0/reg-darwin-386) / [amd64](https://github.com/jessfraz/reg/releases/download/v0.12.0/reg-darwin-amd64)
|
||||
- **linux** [386](https://github.com/jessfraz/reg/releases/download/v0.12.0/reg-linux-386) / [amd64](https://github.com/jessfraz/reg/releases/download/v0.12.0/reg-linux-amd64) / [arm](https://github.com/jessfraz/reg/releases/download/v0.12.0/reg-linux-arm) / [arm64](https://github.com/jessfraz/reg/releases/download/v0.12.0/reg-linux-arm64)
|
||||
- **windows** [386](https://github.com/jessfraz/reg/releases/download/v0.12.0/reg-windows-386) / [amd64](https://github.com/jessfraz/reg/releases/download/v0.12.0/reg-windows-amd64)
|
||||
- **darwin** [386](https://github.com/genuinetools/reg/releases/download/v0.12.0/reg-darwin-386) / [amd64](https://github.com/genuinetools/reg/releases/download/v0.12.0/reg-darwin-amd64)
|
||||
- **linux** [386](https://github.com/genuinetools/reg/releases/download/v0.12.0/reg-linux-386) / [amd64](https://github.com/genuinetools/reg/releases/download/v0.12.0/reg-linux-amd64) / [arm](https://github.com/genuinetools/reg/releases/download/v0.12.0/reg-linux-arm) / [arm64](https://github.com/genuinetools/reg/releases/download/v0.12.0/reg-linux-arm64)
|
||||
- **windows** [386](https://github.com/genuinetools/reg/releases/download/v0.12.0/reg-windows-386) / [amd64](https://github.com/genuinetools/reg/releases/download/v0.12.0/reg-windows-amd64)
|
||||
|
||||
#### Via Go
|
||||
|
||||
```bash
|
||||
$ go get github.com/jessfraz/reg
|
||||
$ go get github.com/genuinetools/reg
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
@ -42,7 +42,7 @@ VERSION:
|
|||
version v0.12.0, build 3b7dafb
|
||||
|
||||
AUTHOR:
|
||||
@jessfraz <no-reply@butts.com>
|
||||
The Genuinetools Authors <no-reply@butts.com>
|
||||
|
||||
COMMANDS:
|
||||
delete, rm delete a specific reference of a repository
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/docker/distribution/manifest/schema1"
|
||||
"github.com/jessfraz/reg/registry"
|
||||
"github.com/genuinetools/reg/registry"
|
||||
)
|
||||
|
||||
// Vulnerabilities scans the given repo and tag
|
||||
|
|
|
@ -3,7 +3,7 @@ package main
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/jessfraz/reg/repoutils"
|
||||
"github.com/genuinetools/reg/repoutils"
|
||||
"github.com/urfave/cli"
|
||||
)
|
||||
|
||||
|
|
2
layer.go
2
layer.go
|
@ -5,7 +5,7 @@ import (
|
|||
"io/ioutil"
|
||||
"os"
|
||||
|
||||
"github.com/jessfraz/reg/repoutils"
|
||||
"github.com/genuinetools/reg/repoutils"
|
||||
digest "github.com/opencontainers/go-digest"
|
||||
"github.com/urfave/cli"
|
||||
)
|
||||
|
|
2
list.go
2
list.go
|
@ -45,7 +45,7 @@ var listCommand = cli.Command{
|
|||
out := fmt.Sprintf("%s\t%s\n", repo, strings.Join(tags, ", "))
|
||||
|
||||
// Lock around the tabwriter to prevent garbled output.
|
||||
// See: https://github.com/jessfraz/reg/issues/54
|
||||
// See: https://github.com/genuinetools/reg/issues/54
|
||||
l.Lock()
|
||||
w.Write([]byte(out))
|
||||
l.Unlock()
|
||||
|
|
8
main.go
8
main.go
|
@ -6,9 +6,9 @@ import (
|
|||
"strings"
|
||||
|
||||
"github.com/docker/docker/api/types"
|
||||
"github.com/jessfraz/reg/registry"
|
||||
"github.com/jessfraz/reg/repoutils"
|
||||
"github.com/jessfraz/reg/version"
|
||||
"github.com/genuinetools/reg/registry"
|
||||
"github.com/genuinetools/reg/repoutils"
|
||||
"github.com/genuinetools/reg/version"
|
||||
"github.com/sirupsen/logrus"
|
||||
"github.com/urfave/cli"
|
||||
)
|
||||
|
@ -22,7 +22,7 @@ func main() {
|
|||
app := cli.NewApp()
|
||||
app.Name = "reg"
|
||||
app.Version = fmt.Sprintf("version %s, build %s", version.VERSION, version.GITCOMMIT)
|
||||
app.Author = "@jessfraz"
|
||||
app.Author = "The Genuinetools Authors"
|
||||
app.Email = "no-reply@butts.com"
|
||||
app.Usage = "Docker registry v2 client."
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
"testing"
|
||||
|
||||
"github.com/docker/docker/client"
|
||||
"github.com/jessfraz/reg/testutils"
|
||||
"github.com/genuinetools/reg/testutils"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"encoding/json"
|
||||
"fmt"
|
||||
|
||||
"github.com/jessfraz/reg/repoutils"
|
||||
"github.com/genuinetools/reg/repoutils"
|
||||
"github.com/urfave/cli"
|
||||
)
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ func GetAuthConfig(username, password, registry string) (types.AuthConfig, error
|
|||
}
|
||||
|
||||
// add https:// to user input and try again
|
||||
// see https://github.com/jessfraz/reg/issues/32
|
||||
// see https://github.com/genuinetools/reg/issues/32
|
||||
if !strings.HasPrefix(registry, "https://") && !strings.HasPrefix(registry, "http://") {
|
||||
if creds, ok := authConfigs["https://"+registry]; ok {
|
||||
return creds, nil
|
||||
|
|
|
@ -13,8 +13,8 @@ RUN set -x \
|
|||
gcc \
|
||||
libc-dev \
|
||||
libgcc \
|
||||
&& go get -v github.com/jessfraz/reg \
|
||||
&& cd /go/src/github.com/jessfraz/reg \
|
||||
&& go get -v github.com/genuinetools/reg \
|
||||
&& cd /go/src/github.com/genuinetools/reg \
|
||||
&& CGO_ENABLED=0 go build -a -tags netgo -ldflags '-extldflags "-static"' -o /usr/bin/reg-server ./server \
|
||||
&& apk del .build-deps \
|
||||
&& rm -rf /go \
|
||||
|
|
|
@ -19,7 +19,7 @@ VERSION:
|
|||
v0.1.0
|
||||
|
||||
AUTHOR:
|
||||
@jessfraz <no-reply@butts.com>
|
||||
The Genuinetools Authors <no-reply@butts.com>
|
||||
|
||||
COMMANDS:
|
||||
help, h Shows a list of commands or help for one command
|
||||
|
|
|
@ -10,9 +10,9 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/genuinetools/reg/clair"
|
||||
"github.com/genuinetools/reg/registry"
|
||||
"github.com/gorilla/mux"
|
||||
"github.com/jessfraz/reg/clair"
|
||||
"github.com/jessfraz/reg/registry"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
|
|
|
@ -8,10 +8,10 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/genuinetools/reg/clair"
|
||||
"github.com/genuinetools/reg/registry"
|
||||
"github.com/genuinetools/reg/repoutils"
|
||||
"github.com/gorilla/mux"
|
||||
"github.com/jessfraz/reg/clair"
|
||||
"github.com/jessfraz/reg/registry"
|
||||
"github.com/jessfraz/reg/repoutils"
|
||||
wordwrap "github.com/mitchellh/go-wordwrap"
|
||||
"github.com/sirupsen/logrus"
|
||||
"github.com/urfave/cli"
|
||||
|
@ -43,7 +43,7 @@ func main() {
|
|||
app := cli.NewApp()
|
||||
app.Name = "reg-server"
|
||||
app.Version = VERSION
|
||||
app.Author = "@jessfraz"
|
||||
app.Author = "The Genuinetools Authors"
|
||||
app.Email = "no-reply@butts.com"
|
||||
app.Usage = "Docker registry v2 static UI server."
|
||||
app.Before = preload
|
||||
|
|
Loading…
Reference in a new issue