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
port the debuginfo downloader to dnf #291
Comments
|
The important truncated information is that some plugins may use some undocumented methods. Please don't use them. If needed, let us know and we'll add them to the API. I.e. the "download" plugin now uses a |
for easier debugging. Now you can configure your PYTHONPATH to find reportclient module in src/client-python. Related to #291 Signed-off-by: Jakub Filak <jfilak@redhat.com>
DebugInfoDownload is an abstract template class. DNFDebugInfoDownload and YumDebugInfoDownload implements the abstract methods. I did this in hope to use this schema for adding support of libzypp on OpenSUSE in the future. Related to #291 Signed-off-by: Jakub Filak <jfilak@redhat.com>
There is no need to try to reconstruct the full path to the downloaded package when both yum and dnf already know it. Also unpack_rpm() function appeared to me a bit overloaded because I think this function should have just one responsibility and that is to unpack rpm. Related to #291 Signed-off-by: Jakub Filak <jfilak@redhat.com>
DebugInfoDownload is an abstract template class. DNFDebugInfoDownload and YumDebugInfoDownload implements the abstract methods. I did this in hope to use this schema for adding support of libzypp on OpenSUSE in the future. Related to #291 Signed-off-by: Jakub Filak <jfilak@redhat.com>
There is no need to try to reconstruct the full path to the downloaded package when both yum and dnf already know it. Also unpack_rpm() function appeared to me a bit overloaded because I think this function should have just one responsibility and that is to unpack rpm. Related to #291 Signed-off-by: Jakub Filak <jfilak@redhat.com>
DebugInfoDownload is an abstract template class. DNFDebugInfoDownload and YumDebugInfoDownload implements the abstract methods. I did this in hope to use this schema for adding support of libzypp on OpenSUSE in the future. Related to #291 Signed-off-by: Jakub Filak <jfilak@redhat.com>
There is no need to try to reconstruct the full path to the downloaded package when both yum and dnf already know it. Also unpack_rpm() function appeared to me a bit overloaded because I think this function should have just one responsibility and that is to unpack rpm. Related to #291 Signed-off-by: Jakub Filak <jfilak@redhat.com>
DonwloadCallback.end() has to check the status argument because DNF (librepo) calls this callback for failures too. Related to #291 Signed-off-by: Jakub Filak <jfilak@redhat.com>
Fedora is to replace yum by dnf in F22 [1]
1: http://fedoraproject.org/wiki/Changes/ReplaceYumWithDNF
The text was updated successfully, but these errors were encountered: