[Yum-devel] some outstanding bugs to think about for devel

seth vidal skvidal at linux.duke.edu
Fri Apr 28 05:37:37 UTC 2006


On Thu, 2006-04-27 at 22:12 +0200, Gijs Hollestelle wrote:
> Hi All,
> 
> I was hoping to do some work on Yum again in the near future. I picked
> out this bug to try and fix:
> 
> Bug 469 - yumdownloader --source should understand subpackages
> https://devel.linux.duke.edu/bugzilla/show_bug.cgi?id=469
> 
> The problem here is: if you say yumdownloader --source nscd it should
> download the glibc source rpm because that is what the nscd package is
> built from. This informaton can be found by  looking up the binary rpm
> for nscd and looking at the sourcerpm header there.
> 
> The problem is that this gives a file-name for the source rpm package
> and not a package name and version information. Because this info is
> simply not there I fixed this now by using parsing the name from the
> source rpm filename and using the epoch, version and release from the
> binary rpm.
> 
> The attached patch against yum-downloader implements this, let me know
> if anyone sees a more clean way of implementing it.

If you're sure that the rsplit() will always be correct then yah - it
looks fine to me.


> BTW I noticed that providing multiple arguments to yumdownloader
> appears to be broken or is that just on my system?

If you feel that it is not right for it to not take more than one
argument then it seems like something that you have every right to fix.

:)

thanks - glad to have you back around.
-sv






More information about the Yum-devel mailing list