Skip to content

Conversation

@wking
Copy link
Contributor

@wking wking commented Jul 22, 2016

If the examples are worth documenting, they're worth putting in the man
pages where users who install (but don't develop) ocitools can find them.

Also update the validation example to catch up with recent changes, and add
a --host-specific example to advertize that feature (since folks skimming
the man page quickly might expect the bare 'ocitools validate' to be
host-specific).

Also change #$ in the generate man page to show where you're
likely to need elevated permissions (you don't for generate calls).

wking added 2 commits July 22, 2016 09:04
You can call 'ocitools generate ...' without elevated permissions.

Signed-off-by: W. Trevor King <[email protected]>
If the examples are worth documenting, they're worth putting in the
man pages where users who install (but don't develop) ocitools can
find them.

Also update the validation example to catch up with recent changes,
and add a --host-specific example to advertize that feature (since
folks skimming the man page quickly might expect the bare 'ocitools
validate' to be host-specific).

Signed-off-by: W. Trevor King <[email protected]>
INFO[0000] Bundle validation succeeded.
```

## Testing OCI runtimes
Copy link
Member

@runcom runcom Jul 22, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this example is here? shouldn't it go the man page as well?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the question is: shouldn't testruntime.sh be a part of ocitools?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On Fri, Jul 22, 2016 at 09:43:41AM -0700, Antonio Murdaca wrote:

Testing OCI runtimes

I guess the question is: shouldn't testruntime.sh be a part of ocitools?

Yes, but it's hard to do right ;). See discussion in #61 and #98 (I'm
partial to 1 ;).

@Mashimiao
Copy link

We should have examples in man pages, but I think should also leave examples in README.

@wking
Copy link
Contributor Author

wking commented Feb 14, 2017 via email

@Mashimiao
Copy link

DRY is good but not required. I think by now it more important to let users know how to use runtime-tools easily, just by README.md.
Maybe reopen this PR is necessary in the future.

@Mashimiao Mashimiao closed this Nov 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants