Skip to content

Commit

Permalink
ccon: Bump to v0.3.0
Browse files Browse the repository at this point in the history
Potentially backwards incompatible changes since v0.2.0:

ccon:

* Replace block_forever with exit(0).
* Shift namespace-path and host-executable file-opens to before the
  clone.

Backwards compatible changes since v0.2.0:

ccon:

* Set parent death signal to SIGKILL.
* Add a --config-string option so you don't need pipes or process
  substitution to pass a config string into ccon.
* Added more config validation, although coverage is still not
  complete.
* Assorted bug fixes.

README:

* Lots of typo fixes.

wrappers (with examples):

* ccon-oci: Add a wrapper for formal OCI compliance (currently just
  the namespace features, not the resource limits).
* ccon-ced: A create/exec/delete wrapper around ccon.
  • Loading branch information
wking committed Jan 5, 2016
1 parent 565066a commit c7529bc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,15 @@ or (using [Bash][bash]'s [process
substitution][bash-process-substitution]):

```
$ ccon --config <(echo '{"version": "0.2.0", "process": …}')
$ ccon --config <(echo '{"version": "0.3.0", "process": …}')
```

You can also specify the config JSON directly on the command line with
`--config-string`, which may be convenient in situations where using
pipes or process substitution are too awkward:

```
$ ccon --config-string '{"version": "0.2.0", "process": …}'
$ ccon --config-string '{"version": "0.3.0", "process": …}'
```

There are additional examples focusing on specific tasks in the
Expand All @@ -137,7 +137,7 @@ The ccon version represented in the config file.
#### Example

```json
"version": "0.2.0"
"version": "0.3.0"
```

### Namespaces
Expand Down
3 changes: 2 additions & 1 deletion ccon.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ static void usage(FILE * stream, char *path)

static void version()
{
printf("ccon 0.2.0\n");
printf("ccon 0.3.0\n");
}

static void kill_child(int signum, siginfo_t * siginfo, void *unused)
Expand Down Expand Up @@ -375,6 +375,7 @@ static int validate_version(json_t * config)
const char *supported_versions[] = {
"0.1.0",
"0.2.0",
"0.3.0",
NULL,
};
int i, err;
Expand Down
2 changes: 1 addition & 1 deletion examples/good/create-exec-delete-root/create.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.1.0",
"version": "0.3.0",
"namespaces": {
"mount": {},
"ipc": {},
Expand Down

0 comments on commit c7529bc

Please sign in to comment.