[Cubicweb] downloading CubicWeb sources

Julien Cristau julien.cristau at logilab.fr
Mon Mar 2 18:11:52 CET 2015


On Mon, Feb 23, 2015 at 12:29:02 +0100, Dimitri Papadopoulos Orfanos wrote:

> Also there are CubicWeb tarballs outside of:
> http://download.logilab.org/pub/
> For example look in Debian/Ubuntu directories:
> http://download.logilab.org/production/trusty/cubicweb_3.19.5.orig.tar.gz
> 
> How are these tarballs related to the tarballs moved to PiPY?
> https://pypi.python.org/packages/source/c/cubicweb/cubicweb-3.19.5.tar.gz
> 
Both are created by python setup.py sdist, but in two different runs, so
while they should have the same contents they're unfortunately not
bit-for-bit identical.

> The tarball contents are identical, but the tarball sizes are different:
> $ wget
> http://download.logilab.org/production/trusty/cubicweb_3.19.5.orig.tar.gz
> $ wget
> https://pypi.python.org/packages/source/c/cubicweb/cubicweb-3.19.5.tar.gz
> $
> $ ls -l *.gz
> -rw-rw-r-- 1 x x 5888189 nov.  17 23:31 cubicweb_3.19.5.orig.tar.gz
> -rw-rw-r-- 1 x x 5888172 févr. 23 12:22 cubicweb-3.19.5.tar.gz
> $
> $ tar xzf cubicweb_3.19.5.orig.tar.gz
> $ mv cubicweb-3.19.5 cubicweb_3.19.5.orig
> $ tar xzf cubicweb-3.19.5.tar.gz
> $
> $ diff -r cubicweb_3.19.5.orig cubicweb-3.19.5
> $
> 
> Does one *have* to repackage source tarballs for Debian/Ubuntu packages?
> I don't know if it's technically feasible, but keeping a single source
> tarball for each version would clarify the situation.
> 
That is planned, but not feasible as long as we use "python setup.py
upload" to push tarballs to pypi.  The plan is to use twine
(https://pypi.python.org/pypi/twine) to avoid setuptools limitations in
the future.

Cheers,
Julien
-- 
Julien Cristau          <julien.cristau at logilab.fr>
Logilab		        http://www.logilab.fr/
Informatique scientifique & gestion de connaissances



More information about the Cubicweb mailing list