On Tue, Jun 30, 2009 at 11:20:38PM -0400, Martin Owens wrote:
> On Tue, 2009-06-30 at 22:43 -0400, Chris Frey wrote:
> > I'm working under the impression that Ubuntu PPA and Fedora 11 packages
> > by Christopher Stover are allowed, and encouraged, to be snapshots from
> > the git repo.  This taks a bit of work on the part of the volunteer.
> 
> I don't understand what that means, but I'll put it on my list to sort
> out a git pull combined with a build service, hopefully it can be
> scripted and popped into a crontab.

When I build a snapshot, I do it on a Debian Lenny system with all
build dependencies installed.  I use my own private devel git repo,
which is available publically at http://repo.or.cz/w/barry.git

In this repo are a number of branches.  'master' is the source code,
and another one called 'scripts' is where I keep helper scripts for myself.
In this branch I have a 'snapshot.sh' script which goes through the
process of generating autoconf files, building the documentation,
deleting unnecessary cache files, and compressing it into a tarball.
It also creates a debian source package (tar, diff, dsc).

So, when I say creating snapshots from the git repo, I mean grabbing
the latest git tree, and running the snapshot.sh script, which can be
part of the binary package process.

So this looks something like this:

        git clone http://repo.or.cz/w/barry.git barry
        git clone http://repo.or.cz/w/barry.git handy-scripts
        cd handy-scripts
        git checkout -b scripts origin/scripts
        cd ../barry
        ../handy-scripts/snapshot.sh 0 15 master

And a tarball appears under maintainer/build.

Alternately, you can skip all that, and just build straight from the
git tree:

        git clone http://repo.or.cz/w/barry.git barry
        cd barry
        ./buildgen.sh
        fakeroot -- debian/rules binary

And .deb binary packages appear in the parent directory.

I don't know if PPA binaries are built on the Ubuntu servers or on your
own machine.

Maybe you could explain your PPA process, and I could see how my releases
fit into that?


> Of course, sorry for the pause in service then, I basically let is slide
> when that other fellow chipped in and said he'd been official barry
> packer for a while.

No worries.  I need to sit down and have a long think about how I want to
handle releases and binary packages too.  I think services like your PPA
and Chris Stover's Fedora packages end up being the most user-friendly
for end users, so I'm re-evaluating my OBS work.

Barry needs to be easy to install and run, and to get there has to be
a team effort. :-)

- Chris


------------------------------------------------------------------------------
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to