[Fedora-packaging] How to handle unversioned upstream tarballs?

Jason L Tibbitts III tibbs at math.uh.edu
Fri Aug 29 12:46:31 UTC 2008


>>>>> "DL" == Denis Leroy <denis at poolshark.org> writes:

DL> Still, the lookaside can only keep one version of the tarball
DL> right ?

No.  It differentiates by checksum: one tarball per name/checksum
pair.  If you alter the tarball without renaming and re-upload it, the
old one will still be in the lookaside.

I'm not sure what else I can say to convince folks that yes, the
lookaside really can handle multiple different tarballs with the same
name.  Would you like to see the directory structure?  It looks like:

package-name/
  tarball-name/
    tarball-checksum1/
      tarball-name
    tarball-checksum2/
      tarball-name

For example, the auccu pacjkage has a tarball that changed:
aiccu_20070107.tar.gz is present with two different checksums:

$ ls -R aiccu//aiccu_20070107.tar.gz/
aiccu//aiccu_20070107.tar.gz/:
60c203fa33cad3db9fba2a871e3d9381  67a6d55ef2d6e88a3f17bcb5eec02c61

aiccu//aiccu_20070107.tar.gz/60c203fa33cad3db9fba2a871e3d9381:
aiccu_20070107.tar.gz

aiccu//aiccu_20070107.tar.gz/67a6d55ef2d6e88a3f17bcb5eec02c61:
aiccu_20070107.tar.gz

>From the script that runs when you upload files:
  file_dest = "%s/%s/%s/%s/%s" % (my_topdir, NAME, FILENAME, MD5SUM, FILENAME)

 - J<




More information about the Fedora-packaging mailing list