Skip to content
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

add --repofromdir option #353

Merged
merged 5 commits into from
Nov 22, 2022

Conversation

oliverkurth
Copy link
Contributor

@oliverkurth oliverkurth commented Oct 6, 2022

This adds the --repofromdir option. It is similar to --repofrompath, except it does not require any metadata. Usage:

tdnf --repofromdir=vim,/root/vim install vim

The directory contains the packages. The directory must be on the filesystem, no URLs will be accepted. All files in the directory with names ending in .rpm will be added. Sub directories will be recursed, skipping names starting with a dot (.).

This is useful for a quick setup without the need to create a repo using createrepo, however it is less efficient than using a repo with metadata.

@oliverkurth oliverkurth merged commit e9d5d4b into vmware:dev Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants