Re: Eternal 'good file hashes' list

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

 





On Tue, 20 Oct 2009, Ralf Ertzinger wrote:

Hi.

On Tue, 20 Oct 2009 14:18:03 +0300 (EEST), Panu Matilainen wrote:

To make any use of that data you'll obviously need the file names
too, so:
[pmatilai@localhost Packages]$ rpm -qap --qf "[%{filedigests} %{filenames}\n]" *.rpm |wc
 430716  804104 47467960

That has to be databased somehow, probably compressed... hm.
Might not turn out all that bad spacewise.


...but rpm stores paths indexed by directory, storing flat paths as
returned by %{filenames} wastes tonnes of space. Also note that
directories and symlinks dont have associated hashes. And of course
there's a whole lot more metadata that you need to take into account
when verifying: user+group, permissions, symlink targets etc.

So basically the RPM file content without the actual file contents,
right?

You could, of course, just have koji keep the pkgs and then you could use the existing metadata to grab the header from the pkgs and access the information that way.

-sv

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux