Howdy,

On 30 July 2014 at 12:55, Yaroslav Halchenko wrote:
| 
| On Wed, 30 Jul 2014, Dirk Eddelbuettel wrote:
| 
| 
| > On 28 July 2014 at 00:39, Yaroslav Halchenko wrote:
| > | On Sun, 27 Jul 2014, Dirk Eddelbuettel wrote:
| > | > How much does "rest" differ in the debian/ branch, apart from there 
being a
| > | > debian directory?
| 
| > | should nohow differ -- classical git-buildpackage setup, just not
| > | upstream+master, but master+debian branches ;-)  debian/gbp.conf has 
settings for that
| 
| > | $> git diff origin/master...debian --stat
| > |  debian/README.source                |   8 ++++++++
| > |  debian/TODO                         |   8 ++++++++
| > |  debian/changelog                    | 112 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| > |  debian/compat                       |   1 +
| > |  debian/control                      |  95 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| > |  debian/copyright                    |  42 
++++++++++++++++++++++++++++++++++++++++++
| > |  debian/docs                         |   1 +
| > |  debian/gbp.conf                     |  22 ++++++++++++++++++++++
| > |  debian/libvw-dev.install            |   3 +++
| > |  debian/libvw0.install               |   1 +
| > |  debian/patches/boost_autoconf.patch |  70 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| > |  debian/patches/deb_lpthread         |  21 +++++++++++++++++++++
| > |  debian/patches/series               |   2 ++
| > |  debian/rules                        |  51 
+++++++++++++++++++++++++++++++++++++++++++++++++++
| > |  debian/source/format                |   1 +
| > |  debian/vowpal-wabbit-doc.examples   |   1 +
| > |  debian/vowpal-wabbit.install        |   1 +
| > |  debian/vowpal-wabbit.manpages       |   1 +
| > |  debian/watch                        |   3 +++
| > |  19 files changed, 444 insertions(+)
| 
| > Ack.
| 
| > I will admit that I am not current w.r.t. git-buildpackage and all that.
| 
| > Could I possibly lean on you for a brief tutorial, using this as an example?
| > Google chat and hangout preferred, we could also use #irc if I recall what 
my
| > password for freenode was ...
| 
| > Half an hour any odd evening would be good.  Maybe we can attempt to
| > comaintain VW or something ...
| 
| Hi Dirk,
| 
| I would be delighted to share my very limited wisdom about
| git-buildpackage in hangout or any other media.  where are you now? ( I
| am in EST (EDT to be more precise) time zone which is GMT-4 atm.

I am in Chicago, so one time zone over. [ And I've been here since fall of 
2000. ]
 
| but my quick howto would be (and damn you knowing how to seduce -- meanwhile
| pushing few fixes ;) )

Thanks. I am mostly concerned about the possible little hidden gotchas in
setup files, so appreciate the .gbp.conf.  Very helpful. 

But I don't regularly use debcheckout, and it isn't clear to me how it would
know where to go [oh, wait, VCS in debian/control, I guess -- never mind]
 
| > cat .gbp.conf   # my customization so I build in clean exported env
| [git-buildpackage]
| sign-tags = True
| # use this for more svn-buildpackage like bahaviour:
| export-dir = ../build-area/
| tarball-dir = ../tarballs/
| 
| debcheckout vowpal-wabbit
| cd vowpal-wabbit
| git checkout --track origin/debian  # added now -b debian to Vcs field, so 
will not be needed in the future

That was a related question. Say I cloned you debian/vw repo. How would I
track yours and the original upstream?  Setting two remotes and merging by hand?

| uscan --verbose --rename # to fetch actually even fresher now release 7.7
| 
| for the final build (after I possibly did few fakeroot debian/rules
| binary to succeed ;) ) I usually use smth like
| 
| git-buildpackage --git-verbose --git-ignore-new -uc -us --git-tag 
| 
| and that could be "it" in terms of how much git-buildpackage I use ;)

Ok.
 
| But then you might spot the 'beauty' (and possibly a curse) of the 
git-buildpackage:
| 
| $> git-buildpackage --git-verbose --git-ignore-new -uc -us --git-tag
| ...
| gbp:debug: Looking for orig tarball 'vowpal-wabbit_7.6.orig.tar.gz' at 
'../tarballs/'
| gbp:info: Orig tarball 'vowpal-wabbit_7.6.orig.tar.gz' not found at 
'../tarballs/'
| gbp:debug: ['git', 'ls-tree', '7.6']
| gbp:info: vowpal-wabbit_7.6.orig.tar.gz does not exist, creating from '7.6'
| gbp:debug: Building upstream tarball with compression 'gzip -9'
| 
| because we fetched upstream tarball for 7.7, not 7.6, git-buildpackage then
| generates one for you from the upstream release tag.  It similarly happy
| generates ones from the snapshots (e.g. if version like
| 0.14.0+git393-g959e3e4-1 carries the treeish) -- which comes really handy for
| snapshot releases I do to test prior or after upstream releases.
| 
| I guess that would be git-buildpackage 101 ;)

Thanks.  Might still be useful to do quick parallel session over hangout to
get me going.  Finding time may an issue -- was a little under the weather
and trying to catch.  But me should do this.  VW is way to cool :)

Thanks as always,  Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to