[Yum] yum daily 2.0.X branch - "I broke my promise"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jeff Sheltren wrote:

>By the way, it appears that the header files are different
>(./subversion...hdr is downloaded from the repo,
>/root/hdlist-hdrs/subversion...hdr is generated from the hdlist):
># diff subversion-0-0.32.1-1.i386.hdr
>/root/hdlist-hdrs/subversion-0-0.32.1-1.i386.hdr
>Binary files subversion-0-0.32.1-1.i386.hdr and
>/root/hdlist-hdrs/subversion-0-0.32.1-1.i386.hdr differ
>  
>
That shouldn't be an issue.  Organization of data in hdr file slightly 
differs and they may carry slightly different info (e.g. in headers 
generated from hdlist* there is no Changelog). 

I have a slightly different implementation of the same feature and it 
works just fine, including getting rpms from the main repository (not 
updates) - I didn't have the time to test new yum version yet - so in 
theory it should work ok.  I also noticed that hdr files end up being 
different but it had no impact on functionality. 

There is one thing that I suspect needs to be done in order to get full 
file info in headers.  I think I added the following because I noticed 
that by default headers picked out of the hdlist will not have list of 
files in the rpm.  This forces expansion (and usually makes resultant 
.hdr file much bigger).
--- clientStuff.py.change       2004-02-23 02:13:17.000000000 -0500
+++ clientStuff.py      2004-02-23 17:50:47.000000000 -0500
@@ -879,6 +879,7 @@
         del fd2

         for hdr in hdrlist:
+            hdr.fullFilelist()
             hdrobj = rpmUtils.Header_Work(hdr)
             (n,e,v,r,a) = hdrobj.nevra()
             e = hdrobj.fixedEpoch()


Josko P.

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux