[Debian-olpc-devel] sugar-datastore_0.8.0~git.13d354b-7_amd64.changes ACCEPTED

Jonas Smedegaard dr at jones.dk
Fri Mar 21 14:21:16 UTC 2008


On Fri, Mar 21, 2008 at 03:16:35PM +0100, Jonas Smedegaard wrote:
>On Fri, Mar 21, 2008 at 02:15:53PM +0100, Santiago Ruano Rincón wrote:
>>"Attached is my small convenience scripts to 1) initiate a local 
>>packaging environment based on upstream Git, and 2) push the locally 
>>prepared packaging into a new Git at Alioth."
>
>Oooh, those. :-)
>
>I recently switched to mutt as Mail User Agent, and have not yet gotten 
>used to the "write first, compose headers and attachments afterwards" 
>concept and forgot to attach them.
>
>They should be attached with this email.

Gee - I forgot it _again_ :-P

3 is a magic number...

  - Jonas

P.S.

The scripts has my Alioth username hardcoded - but of course you 
wouldn't ever run a script without reading it first anyway, right...? 
;-)


-- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  - Enden er nær: http://www.shibumi.org/eoti.htm
-------------- next part --------------
#!/bin/sh

set -e

pkg=$1
shift

upstream_pkg=${1:-$pkg}

mkdir $pkg
cd $pkg
git init
git remote add origin ssh://js@git.debian.org/git/collab-maint/$pkg
git config branch.master.merge refs/heads/master
git remote add -t master -m master upstream-repo git://dev.laptop.org/$upstream_pkg
git fetch upstream-repo
git checkout -b upstream upstream-repo/master
git checkout -b master
cd ..
-------------- next part --------------
#!/bin/sh

set -e

pkg=$1
shift

ssh js at git.debian.org "cd /git/collab-maint && ./setup-repository $pkg $pkg Debian packaging"
cd $pkg
git push --all
git push --tags
cd ..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-olpc-devel/attachments/20080321/704da9c7/attachment.pgp 


More information about the Debian-olpc-devel mailing list