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>master
							parent
							
								
									ec77b836dd
								
							
						
					
					
						commit
						bc5835ba2d
					
				
							
								
								
									
										6
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										6
									
								
								Makefile
								
								
								
								
							|  | @ -32,10 +32,6 @@ ${PREFIX}/bin/registry-api-descriptor-template: version/version.go $(shell find | ||||||
| 	@echo "+ $@" | 	@echo "+ $@" | ||||||
| 	@go build -o $@ ${GO_LDFLAGS} ${GO_GCFLAGS} ./cmd/registry-api-descriptor-template | 	@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 | docs/spec/api.md: docs/spec/api.md.tmpl ${PREFIX}/bin/registry-api-descriptor-template | ||||||
| 	./bin/registry-api-descriptor-template $< > $@ | 	./bin/registry-api-descriptor-template $< > $@ | ||||||
| 
 | 
 | ||||||
|  | @ -66,7 +62,7 @@ test-full: | ||||||
| 	@echo "+ $@" | 	@echo "+ $@" | ||||||
| 	@go test ./... | 	@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 "+ $@" | 	@echo "+ $@" | ||||||
| 
 | 
 | ||||||
| clean: | clean: | ||||||
|  |  | ||||||
|  | @ -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+.                                                                                                  | | | **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**. | | | **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)                                                                                                                        | | | **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.                                                                                                                                          | | | **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.                                                                                                                                          | | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -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) { |  | ||||||
| } |  | ||||||
|  | @ -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) |  | ||||||
| } |  | ||||||
|  | @ -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) { |  | ||||||
| } |  | ||||||
|  | @ -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) { |  | ||||||
| } |  | ||||||
|  | @ -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 | ||||||
| + /Users/sday/go/src/github.com/docker/distribution/bin/registry-api-descriptor-template | + /Users/sday/go/src/github.com/docker/distribution/bin/registry-api-descriptor-template | ||||||
| + /Users/sday/go/src/github.com/docker/distribution/bin/dist |  | ||||||
| + binaries | + binaries | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue