Great! Thanks for the help. I'm going to try to integrate this into our build/release/package task...<div><br></div><div>Is there going to be a set of Debian files for python-swiftclient, now that it has been separated?<br>
<br><div class="gmail_quote">On Tue, Jul 17, 2012 at 1:31 PM, ghe. rivero <span dir="ltr"><<a href="mailto:ghe.rivero@gmail.com" target="_blank">ghe.rivero@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Add also this one<br>
--git-builder="dpkg-buildpackage -i -I -uc -us"<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Jul 17, 2012 at 7:20 PM, Scott Lavender <<a href="mailto:slavender@internap.com">slavender@internap.com</a>> wrote:<br>
> Even installed gnupg and still get:<br>
><br>
> ...<br>
> Finished running lintian.<br>
> Now signing changes and any dsc files...<br>
> Could not find a signing program (pgp or gpg)!<br>
> debuild: fatal error at line 1269:<br>
> running debsign failed<br>
> gbp:error: debuild -i -I returned 29<br>
> gbp:error: Couldn't run 'debuild -i -I'<br>
><br>
> On Tue, Jul 17, 2012 at 1:03 PM, ghe. rivero <<a href="mailto:ghe.rivero@gmail.com">ghe.rivero@gmail.com</a>> wrote:<br>
>><br>
>> Add --git-no-sign-tags to the git-buildpackage command<br>
>><br>
>> Ghe Rivero<br>
>><br>
>> On Tue, Jul 17, 2012 at 6:57 PM, Scott Lavender <<a href="mailto:slavender@internap.com">slavender@internap.com</a>><br>
>> wrote:<br>
>> > I must be missing a few things in my test environment:<br>
>> ><br>
>> > Could not find a signing program (pgp or gpg)!<br>
>> > debuild: fatal error at line 1269:<br>
>> > running debsign failed<br>
>> > gbp:error: debuild -i -I returned 29<br>
>> > gbp:error: Couldn't run 'debuild -i -I'<br>
>> ><br>
>> > How do I instal bgp?<br>
>> ><br>
>> > On Tue, Jul 17, 2012 at 12:48 PM, ghe. rivero <<a href="mailto:ghe.rivero@gmail.com">ghe.rivero@gmail.com</a>><br>
>> > wrote:<br>
>> >><br>
>> >> That error is cause there is no debian folder with the necessary data<br>
>> >> (and you skip the inclusion of other data with --git-ignore-new)<br>
>> >><br>
>> >> Follow those steps:<br>
>> >><br>
>> >> git clone <a href="http://anonscm.debian.org/git/openstack/swift.git" target="_blank">http://anonscm.debian.org/git/openstack/swift.git</a><br>
>> >> cd swift/<br>
>> >> git remote add upstream <a href="http://github.com/openstack/swift.git" target="_blank">http://github.com/openstack/swift.git</a><br>
>> >> git fetch upstream<br>
>> >> git merge 1.5.0<br>
>> >> git checkout 1.5.0 swift/__init__.py<br>
>> >> dch -v 1.5.0-1 New upstream release<br>
>> >> dch -r unstable<br>
>> >> git commit -a -m"1.5.0"<br>
>> >> git-buildpackage --git-upstream-tag="%(version)s"<br>
>> >><br>
>> >> Et voilà!<br>
>> >><br>
>> >><br>
>> >> On Tue, Jul 17, 2012 at 6:35 PM, Scott Lavender<br>
>> >> <<a href="mailto:slavender@internap.com">slavender@internap.com</a>><br>
>> >> wrote:<br>
>> >> > I was able to get past the missing source package, by creating one<br>
>> >> > from<br>
>> >> > my<br>
>> >> > own Swift repo(python setup.py sdist). Using the instructions found<br>
>> >> > here:<br>
>> >> > <a href="http://grumbel.blogspot.com/2010/05/how-to-build-ubuntu-package.html" target="_blank">http://grumbel.blogspot.com/2010/05/how-to-build-ubuntu-package.html</a>,<br>
>> >> > I<br>
>> >> > was<br>
>> >> > able to get to this point:<br>
>> >> ><br>
>> >> > toor@clbuild2:~/ubuntu/swift$ git-buildpackage --git-ignore-new<br>
>> >> > dh clean --with python2<br>
>> >> >    dh_testdir<br>
>> >> >    dh_auto_clean<br>
>> >> > running clean<br>
>> >> > 'build/lib.linux-x86_64-2.6' does not exist -- can't clean it<br>
>> >> > 'build/bdist.linux-x86_64' does not exist -- can't clean it<br>
>> >> > 'build/scripts-2.6' does not exist -- can't clean it<br>
>> >> > running clean<br>
>> >> > 'build/lib.linux-x86_64-2.7' does not exist -- can't clean it<br>
>> >> > 'build/bdist.linux-x86_64' does not exist -- can't clean it<br>
>> >> > 'build/scripts-2.7' does not exist -- can't clean it<br>
>> >> >    debian/rules override_dh_clean<br>
>> >> > make[1]: Entering directory `/home/toor/ubuntu/swift'<br>
>> >> > dh_clean<br>
>> >> > rm -rf swift.egg-info<br>
>> >> > rm -rf doc/build/*<br>
>> >> > make[1]: Leaving directory `/home/toor/ubuntu/swift'<br>
>> >> > gbp:info: Exporting 'HEAD' to<br>
>> >> > '/home/toor/ubuntu/build-area/swift-tmp'<br>
>> >> > Traceback (most recent call last):<br>
>> >> >   File "/usr/bin/git-buildpackage", line 573, in <module><br>
>> >> >     sys.exit(main(sys.argv))<br>
>> >> >   File "/usr/bin/git-buildpackage", line 509, in main<br>
>> >> >     cp = du.parse_changelog(filename=os.path.join(tmp_dir, 'debian',<br>
>> >> > 'changelog'))<br>
>> >> >   File "/usr/lib/python2.7/dist-packages/gbp/deb.py", line 369, in<br>
>> >> > parse_changelog<br>
>> >> >     raise NoChangelogError, "Changelog %s not found" % (filename, )<br>
>> >> > gbp.deb.NoChangelogError: Changelog<br>
>> >> > /home/toor/ubuntu/build-area/swift-tmp/debian/changelog not found<br>
>> >> ><br>
>> >> ><br>
>> >> > On Tue, Jul 17, 2012 at 11:46 AM, ghe. rivero <<a href="mailto:ghe.rivero@gmail.com">ghe.rivero@gmail.com</a>><br>
>> >> > wrote:<br>
>> >> >><br>
>> >> >> On Tue, Jul 17, 2012 at 5:39 PM, ghe. rivero <<a href="mailto:ghe.rivero@gmail.com">ghe.rivero@gmail.com</a>><br>
>> >> >> wrote:<br>
>> >> >> > You can get the same result with the command git-buildpackage<br>
>> >> >> > ----git-upstream-tag=%(version)s<br>
>> >> >><br>
>> >> >> Tested and working with a minimal change:<br>
>> >> >> git-buildpackage --git-upstream-tag="%(version)s"<br>
>> >> >><br>
>> >> >> ><br>
>> >> >> > On Tue, Jul 17, 2012 at 3:07 PM, Scott Lavender<br>
>> >> >> > <<a href="mailto:slavender@internap.com">slavender@internap.com</a>><br>
>> >> >> > wrote:<br>
>> >> >> >> Hi All,<br>
>> >> >> >><br>
>> >> >> >> I have been using dpkg-buildpackage so far to package our<br>
>> >> >> >> OpenStack<br>
>> >> >> >> Swift. I<br>
>> >> >> >> just upgraded toi Swift 1.5.0 and wanted to try switching to use<br>
>> >> >> >> git-buildpackage. So, to get started, I cloned<br>
>> >> >> >> <a href="http://anonscm.debian.org/git/openstack/swift.git" target="_blank">http://anonscm.debian.org/git/openstack/swift.git</a>, and ran<br>
>> >> >> >> git-buildpackage(<br>
>> >> >> >> on Ubuntu 11.10):<br>
>> >> >> >><br>
>> >> >> >> dh clean --with python2<br>
>> >> >> >>    dh_testdir<br>
>> >> >> >>    dh_auto_clean<br>
>> >> >> >> running clean<br>
>> >> >> >> 'build/lib.linux-x86_64-2.6' does not exist -- can't clean it<br>
>> >> >> >> 'build/bdist.linux-x86_64' does not exist -- can't clean it<br>
>> >> >> >> 'build/scripts-2.6' does not exist -- can't clean it<br>
>> >> >> >> running clean<br>
>> >> >> >> 'build/lib.linux-x86_64-2.7' does not exist -- can't clean it<br>
>> >> >> >> 'build/bdist.linux-x86_64' does not exist -- can't clean it<br>
>> >> >> >> 'build/scripts-2.7' does not exist -- can't clean it<br>
>> >> >> >>    debian/rules override_dh_clean<br>
>> >> >> >> make[1]: Entering directory `/home/toor/debian.swift'<br>
>> >> >> >> dh_clean<br>
>> >> >> >> rm -rf swift.egg-info<br>
>> >> >> >> rm -rf doc/build/*<br>
>> >> >> >> make[1]: Leaving directory `/home/toor/debian.swift'<br>
>> >> >> >> gbp:info: swift_1.4.8.orig.tar.gz does not exist, creating from<br>
>> >> >> >> 'upstream/1.4.8'<br>
>> >> >> >> fatal: Not a valid object name upstream/1.4.8<br>
>> >> >> >><br>
>> >> >> >> What is the proper setup to be able to run this?<br>
>> >> >> >><br>
>> >> >> >> Thanks.....<br>
>> >> >> >> --<br>
>> >> >> >><br>
>> >> >> >> Scott Lavender | Cloud Release Engineer<br>
>> >> >> >> _____________________________________ _______<br>
>> >> >> >><br>
>> >> >> >> Google Voice 678.744.8194<br>
>> >> >> >> <a href="mailto:slavender@internap.com">slavender@internap.com</a> • <a href="http://www.internap.com" target="_blank">www.internap.com</a><br>
>> >> >> >><br>
>> >> >> >> INTERNAP ®<br>
>> >> >> >> connectivity | colocation | managed hosting | cloud<br>
>> >> >> >><br>
>> >> >> >> One Ravinia Drive • Suite 1300 • Atlanta • GA • 30346<br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >> _______________________________________________<br>
>> >> >> >> Openstack-devel mailing list<br>
>> >> >> >> <a href="mailto:Openstack-devel@lists.alioth.debian.org">Openstack-devel@lists.alioth.debian.org</a><br>
>> >> >> >> <a href="http://lists.alioth.debian.org/mailman/listinfo/openstack-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/openstack-devel</a><br>
>> >> >> >><br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> > --<br>
>> >> >> > Pinky: "Gee, Brain, what do you want to do tonight?"<br>
>> >> >> > The Brain: "The same thing we do every night, Pinky—try to take<br>
>> >> >> > over<br>
>> >> >> > the<br>
>> >> >> > world!"<br>
>> >> >> ><br>
>> >> >> >  .''`.  Pienso, Luego Incordio<br>
>> >> >> > : :' :<br>
>> >> >> > `. `'<br>
>> >> >> >   `-    <a href="http://www.debian.org" target="_blank">www.debian.org</a>    <a href="http://www.openstack.com" target="_blank">www.openstack.com</a><br>
>> >> >> ><br>
>> >> >> > GPG Key: 26F020F7<br>
>> >> >> > GPG fingerprint: 4986 39DA D152 050B 4699  9A71 66DB 5A36 26F0<br>
>> >> >> > 20F7<br>
>> >> >><br>
>> >> >><br>
>> >> >><br>
>> >> >> --<br>
>> >> >> Pinky: "Gee, Brain, what do you want to do tonight?"<br>
>> >> >> The Brain: "The same thing we do every night, Pinky—try to take over<br>
>> >> >> the<br>
>> >> >> world!"<br>
>> >> >><br>
>> >> >>  .''`.  Pienso, Luego Incordio<br>
>> >> >> : :' :<br>
>> >> >> `. `'<br>
>> >> >>   `-    <a href="http://www.debian.org" target="_blank">www.debian.org</a>    <a href="http://www.openstack.com" target="_blank">www.openstack.com</a><br>
>> >> >><br>
>> >> >> GPG Key: 26F020F7<br>
>> >> >> GPG fingerprint: 4986 39DA D152 050B 4699  9A71 66DB 5A36 26F0 20F7<br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> > --<br>
>> >> ><br>
>> >> > Scott Lavender | Cloud Release Engineer<br>
>> >> > _____________________________________ _______<br>
>> >> ><br>
>> >> > Google Voice 678.744.8194<br>
>> >> > <a href="mailto:slavender@internap.com">slavender@internap.com</a> • <a href="http://www.internap.com" target="_blank">www.internap.com</a><br>
>> >> ><br>
>> >> > INTERNAP ®<br>
>> >> > connectivity | colocation | managed hosting | cloud<br>
>> >> ><br>
>> >> > One Ravinia Drive • Suite 1300 • Atlanta • GA • 30346<br>
>> >> ><br>
>> >> ><br>
>> >><br>
>> >><br>
>> >><br>
>> >> --<br>
>> >> Pinky: "Gee, Brain, what do you want to do tonight?"<br>
>> >> The Brain: "The same thing we do every night, Pinky—try to take over<br>
>> >> the<br>
>> >> world!"<br>
>> >><br>
>> >>  .''`.  Pienso, Luego Incordio<br>
>> >> : :' :<br>
>> >> `. `'<br>
>> >>   `-    <a href="http://www.debian.org" target="_blank">www.debian.org</a>    <a href="http://www.openstack.com" target="_blank">www.openstack.com</a><br>
>> >><br>
>> >> GPG Key: 26F020F7<br>
>> >> GPG fingerprint: 4986 39DA D152 050B 4699  9A71 66DB 5A36 26F0 20F7<br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> ><br>
>> > Scott Lavender | Cloud Release Engineer<br>
>> > _____________________________________ _______<br>
>> ><br>
>> > Google Voice 678.744.8194<br>
>> > <a href="mailto:slavender@internap.com">slavender@internap.com</a> • <a href="http://www.internap.com" target="_blank">www.internap.com</a><br>
>> ><br>
>> > INTERNAP ®<br>
>> > connectivity | colocation | managed hosting | cloud<br>
>> ><br>
>> > One Ravinia Drive • Suite 1300 • Atlanta • GA • 30346<br>
>> ><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> Pinky: "Gee, Brain, what do you want to do tonight?"<br>
>> The Brain: "The same thing we do every night, Pinky—try to take over the<br>
>> world!"<br>
>><br>
>>  .''`.  Pienso, Luego Incordio<br>
>> : :' :<br>
>> `. `'<br>
>>   `-    <a href="http://www.debian.org" target="_blank">www.debian.org</a>    <a href="http://www.openstack.com" target="_blank">www.openstack.com</a><br>
>><br>
>> GPG Key: 26F020F7<br>
>> GPG fingerprint: 4986 39DA D152 050B 4699  9A71 66DB 5A36 26F0 20F7<br>
><br>
><br>
><br>
><br>
> --<br>
><br>
> Scott Lavender | Cloud Release Engineer<br>
> _____________________________________ _______<br>
><br>
> Google Voice 678.744.8194<br>
> <a href="mailto:slavender@internap.com">slavender@internap.com</a> • <a href="http://www.internap.com" target="_blank">www.internap.com</a><br>
><br>
> INTERNAP ®<br>
> connectivity | colocation | managed hosting | cloud<br>
><br>
> One Ravinia Drive • Suite 1300 • Atlanta • GA • 30346<br>
><br>
><br>
<br>
<br>
<br>
--<br>
Pinky: "Gee, Brain, what do you want to do tonight?"<br>
The Brain: "The same thing we do every night, Pinky—try to take over the world!"<br>
<br>
 .''`.  Pienso, Luego Incordio<br>
: :' :<br>
`. `'<br>
  `-    <a href="http://www.debian.org" target="_blank">www.debian.org</a>    <a href="http://www.openstack.com" target="_blank">www.openstack.com</a><br>
<br>
GPG Key: 26F020F7<br>
GPG fingerprint: 4986 39DA D152 050B 4699  9A71 66DB 5A36 26F0 20F7<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div><font><p style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in"><b style="font-family:Times;font-size:medium"><span style="font-size:11px;font-family:Arial;color:rgb(81,82,93);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">Scott Lavender | Cloud Release Engineer</span><br>
<span style="font-size:11px;font-family:Arial;color:rgb(81,82,93);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">_____________________________________ _______</span><br><span style="font-size:11px;font-family:Arial;color:rgb(81,82,93);font-weight:normal;vertical-align:baseline;white-space:pre-wrap"></span><br>
<span style="font-size:11px;font-family:Arial;color:rgb(81,82,93);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">Google Voice 678.744.8194</span><br><a href="mailto:slavender@internap.com" target="_blank"><span style="font-size:11px;font-family:Arial;color:rgb(21,50,95);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">slavender@internap.com</span></a><span style="font-size:11px;font-family:Arial;color:rgb(81,82,93);font-weight:normal;vertical-align:baseline;white-space:pre-wrap"> </span><span style="font-size:11px;font-family:Arial;color:rgb(21,28,44);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">•</span><span style="font-size:11px;font-family:Arial;color:rgb(81,82,93);font-weight:normal;vertical-align:baseline;white-space:pre-wrap"> </span><a href="http://www.internap.com/" target="_blank"><span style="font-size:11px;font-family:Arial;color:rgb(21,50,95);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">www.internap.com</span></a><br>
<a href="http://www.internap.com/" target="_blank"><span style="font-size:11px;font-family:Arial;color:rgb(21,50,95);font-weight:normal;vertical-align:baseline;white-space:pre-wrap"></span></a><br><span style="font-size:17px;font-family:Arial;color:rgb(21,50,95);font-style:italic;vertical-align:baseline;white-space:pre-wrap">INTERNAP</span><span style="font-size:10px;font-family:Arial;color:rgb(21,50,95);font-style:italic;vertical-align:super;white-space:pre-wrap"> </span><span style="font-size:10px;font-family:Arial;color:rgb(21,50,95);font-weight:normal;vertical-align:super;white-space:pre-wrap">®</span><span style="font-size:17px;font-family:Arial;color:rgb(21,50,95);font-style:italic;vertical-align:baseline;white-space:pre-wrap"> </span><br>
<span style="font-size:9px;font-family:Arial;color:rgb(81,82,93);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">connectivity | colocation | managed hosting | cloud</span><br><span style="font-size:9px;font-family:Arial;color:rgb(81,82,93);font-weight:normal;vertical-align:baseline;white-space:pre-wrap"></span><br>
<span style="font-size:9px;font-family:Arial;color:rgb(81,82,93);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">One Ravinia Drive </span><span style="font-size:9px;font-family:Arial;color:rgb(21,28,44);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">• </span><span style="font-size:9px;font-family:Arial;color:rgb(81,82,93);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">Suite 1300 </span><span style="font-size:9px;font-family:Arial;color:rgb(21,28,44);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">• </span><span style="font-size:9px;font-family:Arial;color:rgb(81,82,93);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">Atlanta </span><span style="font-size:9px;font-family:Arial;color:rgb(21,28,44);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">• </span><span style="font-size:9px;font-family:Arial;color:rgb(81,82,93);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">GA </span><span style="font-size:9px;font-family:Arial;color:rgb(21,28,44);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">• </span><span style="font-size:9px;font-family:Arial;color:rgb(81,82,93);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">30346</span></b></p>
</font></div></div><br>
</div>