[Pkg-opennebula-devel] OpenNebula

Damien Raude-Morvan drazzib at drazzib.com
Mon Dec 12 15:58:39 UTC 2011


On Mon, 12 Dec 2011 16:06:30 +0100, Jaime Melis <jmelis at opennebula.org>
wrote:
> Hi Damien,

Hi Jaime!

> you're right, I've CC'd the list.
> 
> I'm having trouble understanding the procedure of package creation and
> testing. I've read bit's and pieces about the procedure, but I'm not
sure
> about many things, namely:
> 
> 1 - I clone the official git repo:
> pkg-opennebula-devel at lists.alioth.debian.org . I cd into the directory,
try
> to do debuild and it fails since it doesn't find the tar.gz. Which one
> should I use? Is there a way to recreate it on the fly, or should I
> download the upstream tar.gz ? What name should it have? etc... I guess
> that once I do the most basic debuild without changing everything, I'll
> have a better understanding of the technique.

We don't use debuild directly but a wrapper (git-buildpackage). This
wrapper is in charge of extracting upstream tarball into a temporay area,
copying debian/ directory and some misc stuff.
This tool is documented here [1] (with usage of each git branch).
I've tried to document actual process to build opennebula here [2]. Maybe
it's not really clear...

> 2 - What params should I use to create the pbuilder environment?

git-buildpackage provide some toolkit to ease usage of pbuilder [3].
When releasing a new package, I'm using :
git-buildpackage --git-pbuilder --git-tag
 
[...]

[1]
http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.intro.html#GBP.REPOSITORY
[2] http://wiki.debian.org/Teams/pkg-opennebula/GitWorkflow
[3]
http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.special.html#GBP.SPECIAL.PBUILDER

Cheers,
-- 
Damien



More information about the Pkg-opennebula-devel mailing list