[Openstack-devel] get-vcs-source target in debian/rules

Ola Lundqvist ola at inguza.com
Mon Jun 18 20:29:06 UTC 2012


Hi

We can not guarantee that it will get same checksum. For > 1
versions we must get the one from debian archives.

// Ola

On Mon, Jun 18, 2012 at 07:40:27PM +0200, Loic Dachary wrote:
> On 06/18/2012 07:12 PM, Thomas Goirand wrote:
> > Hi,
> >
> > I found that it's really annoying me to have to manually do the "git add
> > remote", "git fetch", etc. just to get upstream code. So, in nova, I've
> > added in debian/rules:
> >
> > get-vcs-source:
> >   git remote add upstream git://github.com/openstack/nova.git || true
> >   git fetch upstream
> >   git archive --prefix=nova-2012.1/ 2012.1 | xz \
> >       >../nova_2012.1.orig.tar.xz
> >
> > Is this ok for everyone? Do you think it's a good idea? Should we
> > propagate this in all our Openstack packages, and tell about it in
> > http://openstack.alioth.debian.org/?
> >
> I agree that it would be helpful. In case a package with a debian version number > 1 is to be built, will the .xz have the same checksum as the one uploaded ? If not it should only be created of no file already exists to prevent lossage.
> 
> So +1 on this ;-)
> 
> Cheers
> 
> 
> _______________________________________________
> Openstack-devel mailing list
> Openstack-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/openstack-devel
> 

-- 
 --- Inguza Technology AB --- MSc in Information Technology ----
/  ola at inguza.com                    Annebergsslingan 37        \
|  opal at debian.org                   654 65 KARLSTAD            |
|  http://inguza.com/                Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---------------------------------------------------------------



More information about the Openstack-devel mailing list