[Openstack-devel] Packaging Swift Using git-buildpackage

ghe. rivero ghe.rivero at gmail.com
Tue Jul 17 15:39:22 UTC 2012


H Scott,
    you have two options to fix this issue:
1.- Copy the upstream tgz (or bz2...) to the parent folder (and
sometime also to ../build-area, it depends of the configuration of
your buildpackage)
2.- Create debian/gbp.conf file (at least nova and glance have it...
we should create it for all the others projects too) with the same
contect. That is:

[DEFAULT]
upstream-branch = master
debian-branch = debian/unstable
upstream-tag = %(version)s
compression = xz

[git-buildpackage]
export-dir = ../build-area/


You can get the same result with the command git-buildpackage
----git-upstream-tag=%(version)s

Didn't test this last solution but it should work flawlessly. Please,
report any issues you have with 1.5.0 to start preparing the folsom
release, thanks,

Ghe Rivero


On Tue, Jul 17, 2012 at 3:07 PM, Scott Lavender <slavender at internap.com> wrote:
> Hi All,
>
> I have been using dpkg-buildpackage so far to package our OpenStack Swift. I
> just upgraded toi Swift 1.5.0 and wanted to try switching to use
> git-buildpackage. So, to get started, I cloned
> http://anonscm.debian.org/git/openstack/swift.git, and ran git-buildpackage(
> on Ubuntu 11.10):
>
> dh clean --with python2
>    dh_testdir
>    dh_auto_clean
> running clean
> 'build/lib.linux-x86_64-2.6' does not exist -- can't clean it
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-2.6' does not exist -- can't clean it
> running clean
> 'build/lib.linux-x86_64-2.7' does not exist -- can't clean it
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-2.7' does not exist -- can't clean it
>    debian/rules override_dh_clean
> make[1]: Entering directory `/home/toor/debian.swift'
> dh_clean
> rm -rf swift.egg-info
> rm -rf doc/build/*
> make[1]: Leaving directory `/home/toor/debian.swift'
> gbp:info: swift_1.4.8.orig.tar.gz does not exist, creating from
> 'upstream/1.4.8'
> fatal: Not a valid object name upstream/1.4.8
>
> What is the proper setup to be able to run this?
>
> Thanks.....
> --
>
> Scott Lavender | Cloud Release Engineer
> _____________________________________ _______
>
> Google Voice 678.744.8194
> slavender at internap.com • www.internap.com
>
> INTERNAP ®
> connectivity | colocation | managed hosting | cloud
>
> One Ravinia Drive • Suite 1300 • Atlanta • GA • 30346
>
>
>
> _______________________________________________
> Openstack-devel mailing list
> Openstack-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/openstack-devel
>



-- 
Pinky: "Gee, Brain, what do you want to do tonight?"
The Brain: "The same thing we do every night, Pinky—try to take over the world!"

 .''`.  Pienso, Luego Incordio
: :' :
`. `'
  `-    www.debian.org    www.openstack.com

GPG Key: 26F020F7
GPG fingerprint: 4986 39DA D152 050B 4699  9A71 66DB 5A36 26F0 20F7



More information about the Openstack-devel mailing list