Skip to content

Commit a774b91

Browse files
committed
Rename ocitools to oci-runtime-tool
Signed-off-by: Mrunal Patel <[email protected]>
1 parent 4472a78 commit a774b91

File tree

14 files changed

+99
-99
lines changed

14 files changed

+99
-99
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ _testmain.go
2626

2727
# Compiled binaries
2828
oci
29-
/ocitools
29+
/oci-runtime-tool
3030
/runtimetest
3131

3232
*.1

Godeps/Godeps.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,25 @@ BUILDTAGS=
55
export GOPATH:=$(CURDIR)/Godeps/_workspace:$(GOPATH)
66

77
all:
8-
go build -tags "$(BUILDTAGS)" -o ocitools ./cmd/ocitools
8+
go build -tags "$(BUILDTAGS)" -o oci-runtime-tool ./cmd/oci-runtime-tool
99
go build -tags "$(BUILDTAGS)" -o runtimetest ./cmd/runtimetest
1010

1111
.PHONY: man
1212
man:
13-
go-md2man -in "man/ocitools.1.md" -out "ocitools.1"
14-
go-md2man -in "man/ocitools-generate.1.md" -out "ocitools-generate.1"
15-
go-md2man -in "man/ocitools-validate.1.md" -out "ocitools-validate.1"
13+
go-md2man -in "man/oci-runtime-tool.1.md" -out "oci-runtime-tool.1"
14+
go-md2man -in "man/oci-runtime-tool-generate.1.md" -out "oci-runtime-tool-generate.1"
15+
go-md2man -in "man/oci-runtime-tool-validate.1.md" -out "oci-runtime-tool-validate.1"
1616

1717
install: man
1818
install -d -m 755 $(BINDIR)
19-
install -m 755 ocitools $(BINDIR)
19+
install -m 755 oci-runtime-tool $(BINDIR)
2020
install -d -m 755 $(PREFIX)/share/man/man1
2121
install -m 644 *.1 $(PREFIX)/share/man/man1
2222
install -d -m 755 $(PREFIX)/share/bash-completion/completions
23-
install -m 644 completions/bash/ocitools $(PREFIX)/share/bash-completion/completions
23+
install -m 644 completions/bash/oci-runtime-tool $(PREFIX)/share/bash-completion/completions
2424

2525
clean:
26-
rm -f ocitools runtimetest *.1
26+
rm -f oci-runtime-tool runtimetest *.1
2727

2828
.PHONY: test .gofmt .govet .golint
2929

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# ocitools [![Build Status](https://travis-ci.org/opencontainers/ocitools.svg?branch=master)](https://travis-ci.org/opencontainers/ocitools)
1+
# oci-runtime-tool [![Build Status](https://travis-ci.org/opencontainers/oci-runtime-tool.svg?branch=master)](https://travis-ci.org/opencontainers/oci-runtime-tool)
22

3-
ocitools is a collection of tools for working with the [OCI runtime specification][runtime-spec].
3+
oci-runtime-tool is a collection of tools for working with the [OCI runtime specification][runtime-spec].
44

55
## Generating an OCI runtime spec configuration files
66

7-
[`ocitools generate`][generate.1] generates [configuration JSON][config.json] for an [OCI bundle][bundle].
7+
[`oci-runtime-tool generate`][generate.1] generates [configuration JSON][config.json] for an [OCI bundle][bundle].
88
[OCI-compatible runtimes][runtime-spec] like [runC][] expect to read the configuration from `config.json`.
99

1010
```sh
11-
$ ocitools generate --output config.json
11+
$ oci-runtime-tool generate --output config.json
1212
$ cat config.json
1313
{
1414
"ociVersion": "0.5.0",
@@ -18,12 +18,12 @@ $ cat config.json
1818

1919
## Validating an OCI bundle
2020

21-
[`ocitools validate`][validate.1] validates an OCI bundle.
21+
[`oci-runtime-tool validate`][validate.1] validates an OCI bundle.
2222
The error message will be printed if the OCI bundle failed the validation procedure.
2323

2424
```sh
25-
$ ocitools generate
26-
$ ocitools validate
25+
$ oci-runtime-tool generate
26+
$ oci-runtime-tool validate
2727
INFO[0000] Bundle validation succeeded.
2828
```
2929

@@ -49,5 +49,5 @@ Runtime runc passed validation
4949
[runC]: https://github.com/opencontainers/runc
5050
[runtime-spec]: https://github.com/opencontainers/runtime-spec
5151

52-
[generate.1]: man/ocitools-generate.1.md
53-
[validate.1]: man/ocitools-validate.1.md
52+
[generate.1]: man/oci-runtime-tool-generate.1.md
53+
[validate.1]: man/oci-runtime-tool-validate.1.md

cmd/ocitools/generate.go renamed to cmd/oci-runtime-tool/generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"strconv"
88
"strings"
99

10-
"github.com/opencontainers/ocitools/generate"
1110
rspec "github.com/opencontainers/runtime-spec/specs-go"
11+
"github.com/opencontainers/runtime-tools/generate"
1212
"github.com/urfave/cli"
1313
)
1414

File renamed without changes.
File renamed without changes.

cmd/runtimetest/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
"syscall"
1313

1414
"github.com/Sirupsen/logrus"
15-
"github.com/opencontainers/ocitools/cmd/runtimetest/mount"
1615
rspec "github.com/opencontainers/runtime-spec/specs-go"
16+
"github.com/opencontainers/runtime-tools/cmd/runtimetest/mount"
1717
"github.com/syndtr/gocapability/capability"
1818
"github.com/urfave/cli"
1919
)

0 commit comments

Comments
 (0)