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.

but my quick howto would be (and damn you knowing how to seduce -- meanwhile
pushing few fixes ;) )

> 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
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 ;)

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 ;)

-- 
Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Research Scientist,            Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        


-- 
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