-
Notifications
You must be signed in to change notification settings - Fork 36
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
Does offline flag apply to dnf repos? #626
Comments
Would be obsoleted with a CLI design similar to #627 |
The following DNF commands get executed in offline mode:
The last command will become obsolete with the upcoming rpm extraction PR #615
|
currently any dnf command run in offline mode will go online (if it has access) if it is not able to do it in offline mode. If it doesn't have online access, it will fail only in download step that too after 4 attempts. It doesn't error out in resolving steps. Just prints No match for argument. After merging PR #615, in offline mode it will not go online (even if it has access) in download step and return error. For resolving packages and files, the behavior remains same as before (it will go online and resolve the files). |
@rchiossi Also, any reason why |
The way things are implemented right now, a mix is always expected to be based of something. There are many commands and internal checks that will use the value provided by It might be nice to consider an |
Conclusion: No, the offline flag does not apply to dnf repos and packages. It only applies to the fetching of bundle definition files. |
Mixer will supply a default
clear
repo during initialization. If a user supplies the--offline
flag for all mixer commands and also supplies a local file:// repo URL, the upstream repo is still enabled in.yum-mix.conf
and dnf will have the option of reaching out to the online repo. Is this the intended behavior?The text was updated successfully, but these errors were encountered: