today's UEC report

Thierry Carrez thierry.carrez at canonical.com
Sat Oct 3 21:12:54 BST 2009


Dustin Kirkland wrote:
> On Sat, Oct 3, 2009 at 5:22 AM, Matt Zimmerman <mdz at canonical.com> wrote:
>> How did you go about creating the .orig.tar.gz?
>>
>> It looks like perhaps we should add a 'get-orig-source' rule to debian/rules
>> so that bzr builddeb simply does the right thing.
> 
> Yes, we should add a get-orig-source.  I would have done so, but I
> wasn't sure my method was correct, though.  I'm hoping Soren might
> shed some light on that bit for us.
> 
> Since Eucalyptus didn't really "release" this random snapshot, I don't
> think they really have an orig tarball.
> 
> So I just branched their tree at that revision, renamed the directory
> to something sensible, rm -rf the .bzr and the debian directories, and
> then tarred it up.  I expect that might be a little messy.  I hope
> there's a better way of doing this.  And upon agreeing upon that
> better way, yes, we should add this to a get-orig-source.

I'd suggest using "bzr export" from upstream branch, it does all the
magic. "bzr export -rXXX --root=eucalyptus-1.6~bzrXXX
eucalyptus_1.6~bzrXXX.orig.tar.gz" should do it, iirc.

-- 
Thierry Carrez
Technical lead, Ubuntu server team || Canonical Ltd.



More information about the ubuntu-devel mailing list