-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
dnf-reposync: add page #18729
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: main
Are you sure you want to change the base?
dnf-reposync: add page #18729
Conversation
Added dnf-reposync
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.
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: |
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.
- 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}}` |
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.
`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: |
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.
- 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}}` |
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.
`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: |
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.
- 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}}` |
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.
`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.
Added dnf-reposync
common
,linux
,osx
,windows
,sunos
,android
, etc.