Remove dist tool from distribution

We are headed in a different direction. The dist tool analog will not be a part
of this repository.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
Stephen J Day 2015-08-06 17:03:05 -07:00
parent ec77b836dd
commit bc5835ba2d
7 changed files with 1 additions and 84 deletions

View file

@ -32,10 +32,6 @@ ${PREFIX}/bin/registry-api-descriptor-template: version/version.go $(shell find
@echo "+ $@"
@go build -o $@ ${GO_LDFLAGS} ${GO_GCFLAGS} ./cmd/registry-api-descriptor-template
${PREFIX}/bin/dist: version/version.go $(shell find . -type f -name '*.go')
@echo "+ $@"
@go build -o $@ ${GO_LDFLAGS} ${GO_GCFLAGS} ./cmd/dist
docs/spec/api.md: docs/spec/api.md.tmpl ${PREFIX}/bin/registry-api-descriptor-template
./bin/registry-api-descriptor-template $< > $@
@ -66,7 +62,7 @@ test-full:
@echo "+ $@"
@go test ./...
binaries: ${PREFIX}/bin/registry ${PREFIX}/bin/registry-api-descriptor-template ${PREFIX}/bin/dist
binaries: ${PREFIX}/bin/registry ${PREFIX}/bin/registry-api-descriptor-template
@echo "+ $@"
clean:

View file

@ -15,7 +15,6 @@ This repository contains the following components:
|--------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **registry** | An implementation of the [Docker Registry HTTP API V2](docs/spec/api.md) for use with docker 1.6+. |
| **libraries** | A rich set of libraries for interacting with,distribution components. Please see [godoc](http://godoc.org/github.com/docker/distribution) for details. **Note**: These libraries are **unstable**. |
| **dist** | An _experimental_ tool to provide distribution, oriented functionality without the `docker` daemon. |
| **specifications** | _Distribution_ related specifications are available in [docs/spec](docs/spec) |
| **documentation** | Docker's full documentation set is available at [docs.docker.com](http://docs.docker.com). This repository [contains the subset](docs/index.md) related just to the registry. |

14
cmd/dist/list.go vendored
View file

@ -1,14 +0,0 @@
package main
import "github.com/codegangsta/cli"
var (
commandList = cli.Command{
Name: "images",
Usage: "List available images",
Action: imageList,
}
)
func imageList(c *cli.Context) {
}

21
cmd/dist/main.go vendored
View file

@ -1,21 +0,0 @@
package main
import (
"os"
"github.com/codegangsta/cli"
)
func main() {
app := cli.NewApp()
app.Name = "dist"
app.Usage = "Package and ship Docker content"
app.Action = commandList.Action
app.Commands = []cli.Command{
commandList,
commandPull,
commandPush,
}
app.Run(os.Args)
}

21
cmd/dist/pull.go vendored
View file

@ -1,21 +0,0 @@
package main
import "github.com/codegangsta/cli"
var (
commandPull = cli.Command{
Name: "pull",
Usage: "Pull and verify an image from a registry",
Action: imagePull,
Flags: []cli.Flag{
cli.StringFlag{
Name: "r,registry",
Value: "hub.docker.io",
Usage: "Registry to use (e.g.: localhost:5000)",
},
},
}
)
func imagePull(c *cli.Context) {
}

21
cmd/dist/push.go vendored
View file

@ -1,21 +0,0 @@
package main
import "github.com/codegangsta/cli"
var (
commandPush = cli.Command{
Name: "push",
Usage: "Push an image to a registry",
Action: imagePush,
Flags: []cli.Flag{
cli.StringFlag{
Name: "r,registry",
Value: "hub.docker.io",
Usage: "Registry to use (e.g.: localhost:5000)",
},
},
}
)
func imagePush(*cli.Context) {
}

View file

@ -99,7 +99,6 @@ ok github.com/docker/distribution/registry/auth/silly 0.011s
...
+ /Users/sday/go/src/github.com/docker/distribution/bin/registry
+ /Users/sday/go/src/github.com/docker/distribution/bin/registry-api-descriptor-template
+ /Users/sday/go/src/github.com/docker/distribution/bin/dist
+ binaries
```