Re: How to handle unversioned upstream tarballs?

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

 



>>>>> "DL" == Denis Leroy <denis@xxxxxxxxxxxxx> 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<

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

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux