Re: Is package lookaside cache based on file name, or md5sum?

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

 



On 8/13/12 12:43 PM, Tom Lane wrote:
Somebody please refresh my memory on this ... I seem to recall reading
that the lookaside cache stores and retrieves files based on their
md5sum, and won't care if two files with different checksums were given
the same name.  True?

The particular case I have is that I want to re-generate a documentation
PDF file, and re-upload it to lookaside cache, without changing its
name.  So in the "sources" file the md5sum would change, but not the
file name.  Will that work, or screw things up?

(Possibly this is explained somewhere in the project wiki, but I didn't
find it...)

~/fedora/libdrm% fedpkg -v sources
Downloading libdrm-2.4.37.tar.bz2
Creating repo object from /home/ajax/fedora/libdrm
Running curl -H Pragma: -o ./libdrm-2.4.37.tar.bz2 -R -S --fail http://pkgs.fedoraproject.org/repo/pkgs/libdrm/libdrm-2.4.37.tar.bz2/9765919c28d4a54887576db3680137cc/libdrm-2.4.37.tar.bz2 directly on the tty % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 492k 100 492k 0 0 406k 0 0:00:01 0:00:01 --:--:-- 507k


So the format appears to be:

%name / filename / md5 / filename

So yes, that should work fine.

- ajax
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[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