-
Notifications
You must be signed in to change notification settings - Fork 107
Add section on generate-metadata and generate-listing commands #3721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,27 @@ | ||||||
| [id="generating-metadata-and-listing-files-for-syncable-exports"] | ||||||
| = Generating metadata and listing files for syncable exports | ||||||
|
|
||||||
| When exporting content in a syncable format, metadata and listing files are generated automatically. | ||||||
| However, you must manually trigger the generation of these files in the following circumstances: | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Reducing fluff. Any of the circumstances or all of them at once? |
||||||
|
|
||||||
| * When a non-root user is doing the export. | ||||||
| * When the `--async` flag has been passed, for root or non-root user. | ||||||
| * When using the {Project} API or Ansible modules to do the exports. | ||||||
|
|
||||||
| .Prerequisites | ||||||
| * The syncable export directory is accessible on disk. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Avoid passive voice + clarity |
||||||
|
|
||||||
| .Procedure | ||||||
| . Generate metadata for a syncable export: | ||||||
| + | ||||||
| [options="nowrap" subs="+quotes"] | ||||||
| ---- | ||||||
| $ hammer content-export generate-metadata --path=/path/to/syncable/export | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I tried this command on Foreman/Katello 3.14/4.16 but failed: Refs SPEC file Hammer CLI plugin for katello I also checked on Foreman 3.15/Katello 4.17, neither |
||||||
| ---- | ||||||
|
|
||||||
| . Generate listing files for a syncable export directory: | ||||||
| + | ||||||
| [options="nowrap" subs="+quotes"] | ||||||
| ---- | ||||||
| $ hammer content-export generate-listing --path=/path/to/syncable/export | ||||||
| ---- | ||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid passive voice