Repository navigation
Various miscellaneous fixes to the manuals - #814
Merged
debarshiray merged 19 commits intoJun 26, 2021
Merged
Conversation
debarshiray
added a commit
to debarshiray/toolbox
that referenced
this pull request
Jun 25, 2021
debarshiray
force-pushed
the
wip/rishi/manuals-fixups
branch
from
June 25, 2021 23:56
d98ec3c to
e42a83a
Compare
|
Build failed.
|
It's good to document the --log-level and --log-podman flags because they can give us some flexibility with the logging in future, but it's still desirable to keep --verbose (and the -vv trick) in the manual. Toolbox is still a small enough code base that not too many log levels are actually needed, yet. The complexity of remembering which log level reveals which detail soon starts to outweigh the simplicity of dumping as much as possible, since there aren't that many log messages to begin with. It's a lot easier to type and remember things like --verbose, -v and -vv, than their newer counterparts, and they are a reasonably widely used convention (eg., flatpak, nmap, ssh, etc.). If some day Toolbox grows to have a significantly larger number of log messages, then it's possible that --verbose would be of less use, but that's not the case today. containers#814
The manuals for the individual commands were already listed above. The entry point of toolbox containers is prominently documented in toolbox-create(1) and toolbox-init-container(1). It's not clear why someone who has just come across toolbox(1) would want to know about the entry point. It's, after all, an implementation detail. They probably don't even know what's an entry point to begin with. The top-level manual should give the reader an overall view of the tool from a user's perspective, and let the other manuals draw them into the finer details of things. containers#814
Some aspects of the Fedora image are described in toolbox-create(1), but the exact URL of the image is an implementation detail. As Toolbox grows, it will become unwieldy to describe these details in the top-level manual. containers#814
This reverts parts of commit ea452d7. containers#814
debarshiray
force-pushed
the
wip/rishi/manuals-fixups
branch
from
June 26, 2021 01:45
e42a83a to
4391b58
Compare
This is a continuation of commit ea452d7, which dropped all references to buildah. containers#814
|
Build failed.
|
The rest of the DESCRIPTION section refers to toolbox containers in the singular, not plural. containers#814
The DESCRIPTION already explains the details of the set-up on Fedora, so there's no need to be so specific here. Plus, conceptually, it's not meant to be Fedora-specific. Fedora is just an example and happens to be the most well-supported one at the moment, but that will change. containers#814
|
Build failed.
|
martymichal
requested changes
Jun 26, 2021
martymichal
left a comment
Member
There was a problem hiding this comment.
Thanks for the review. I highlighted a few points:
It was a deliberate decision to have entry point documented in both toolbox-create(1) and toolbox-init-container(1). For technical documentation it's sometimes good to repeat the same thing if it's sufficiently important. Either to refresh the user's memory or to draw their attention to it. Having to traverse too many references can get disorienting. eg., parts of README.md are already repeated in toolbox(1). In this case, the entry point is very directly related to the create command because the command sets it up, and unlike HTML documents, it's awkward to follow links from manuals. This reverts parts of commit ea452d7. containers#814
This builds upon commit ea452d7. The configuration of a toolbox container is a higher level topic than the entry point, and the entry point is mentioned as one part of it. Therefore, putting the section on toolbox set-up earlier in the text makes it nicely flow from the DESCRIPTION section into the Entry Point sub-section. Emphasize the user-visible features of a toolbox container, and not the underlying implementation details, and avoid using too much jargon about container technology. containers#814
Avoid phrases like "shortcoming of container configuration", because it makes one wonder why a known shortcoming is even being used or not being fixed. Immutability also has its advantages for certain use-cases, and it's beyond the scope of this manual to have a full blown discussion about the pros and cons of OCI containers. Interested readers can research that on their own. containers#814
This reverts parts of commit ea452d7. containers#814
SELinux is always meant to be disabled. The exact location of the code is a historical accident and isn't meant to imply that SELinux might be optionally enabled. containers#814
|
Build failed.
|
debarshiray
added a commit
to debarshiray/containertoolbx.org
that referenced
this pull request
Feb 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.