Skip to content

Conversation

smjagtap
Copy link
Contributor

Added dnf-reposync

  • The page(s) are in the correct platform directories: common, linux, osx, windows, sunos, android, etc.
  • The page description(s) have links to documentation or a homepage.
  • The page(s) follow the content guidelines.
  • The page(s) follow the style guide.
  • The PR contains at most 5 new pages.
  • The PR title conforms to the recommended templates.
  • Version of the command being documented (if known):

Added dnf-reposync
@github-actions github-actions bot added new command Issues requesting creation of a new page or PRs adding a new page for a command. review needed Prioritized PRs marked for reviews from maintainers. labels Oct 14, 2025
@Managor Managor mentioned this pull request Oct 14, 2025
23 tasks
Copy link
Member

@Managor Managor left a comment

Choose a reason for hiding this comment

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

Apply these fixes to the whole page

> See also: `dnf`.
> More information: <https://dnf-plugins-core.readthedocs.io/en/latest/reposync.html>.
- Synchronize all packages from the repository with id “the_repo”. The synchronized copy is saved in “the_repo” subdirectory of the current working directory:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- Synchronize all packages from the repository with id “the_repo”. The synchronized copy is saved in “the_repo” subdirectory of the current working directory:
- Synchronize all packages from the repository with id `repo_name`. The synchronized copy is saved in `repo_name` subdirectory of the current working directory:

- Synchronize all packages from the repository with id “the_repo”. The synchronized copy is saved in “the_repo” subdirectory of the current working directory:

`dnf reposync --repoid={{the_repo}}`
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
`dnf reposync --repoid={{the_repo}}`
`dnf reposync --repoid repo_name`

Can you verify if = is mandatory?


`dnf reposync --repoid={{the_repo}}`

- Synchronize all packages from the repository with id “the_repo”. In this case files are saved in “/path/to/directory” directory:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- Synchronize all packages from the repository with id “the_repo”. In this case files are saved in “/path/to/directory” directory:
- Synchronize all packages and define a custom save location:


- Synchronize all packages from the repository with id “the_repo”. In this case files are saved in “/path/to/directory” directory:

`dnf reposync -p {{/path/to/directory}} --repoid={{the_repo}}`
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
`dnf reposync -p {{/path/to/directory}} --repoid={{the_repo}}`
`dnf reposync {{[-p|--download-path]}} {{path/to/directory}} --repoid {{repo_name}}`

Do not use short options by themselves when long options are available.


`dnf reposync -p {{/path/to/directory}} --repoid={{the_repo}}`

- Synchronize all packages and metadata from “the_repo” repository:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- Synchronize all packages and metadata from “the_repo” repository:
- Synchronize all packages and metadata:


- Download only newest packages per-repo:

`dnf reposync {{-n|--newest-only}} --repoid={{the_repo}}`
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
`dnf reposync {{-n|--newest-only}} --repoid={{the_repo}}`
`dnf reposync {{[-n|--newest-only]}} --repoid={{the_repo}}`

This syntax allows the client to pick one or the other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new command Issues requesting creation of a new page or PRs adding a new page for a command. review needed Prioritized PRs marked for reviews from maintainers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants