X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail.wtbts.no (mail.wtbts.no [213.234.126.131]) by lists.alpinelinux.org (Postfix) with ESMTP id 402571EBFF5 for ; Fri, 28 Jan 2011 19:46:24 +0000 (UTC) Received: from localhost (bsna.nor.wtbts.net [127.0.0.1]) by mail.wtbts.no (Postfix) with ESMTP id DC4EEAE4003 for ; Fri, 28 Jan 2011 19:46:23 +0000 (UTC) X-Virus-Scanned: Yes Received: from mail.wtbts.no ([127.0.0.1]) by localhost (bsna.nor.wtbts.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I7Mcq4AyL+lH for ; Fri, 28 Jan 2011 19:46:23 +0000 (UTC) Received: from mail.ytre.org (extmail.nor.wtbts.net [10.65.72.14]) by mail.wtbts.no (Postfix) with ESMTP id 0579EAE4001 for ; Fri, 28 Jan 2011 19:46:23 +0000 (UTC) Received: from mail.ytre.org (localhost [127.0.0.1]) by mail.ytre.org (Postfix) with ESMTP id BB70860AAFAA1 for ; Fri, 28 Jan 2011 19:46:22 +0000 (UTC) Received: from localhost (unknown [187.40.193.95]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@ytre.org) by mail.ytre.org (Postfix) with ESMTPSA id 5C29F60AAFAA0 for ; Fri, 28 Jan 2011 19:46:20 +0000 (UTC) Date: Fri, 28 Jan 2011 19:46:13 +0000 From: Natanael Copa To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] git.alpinelinux.org reorganized Message-ID: <20110128194613.213f2fa9@alpinelinux.org> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i686-pc-linux-gnu) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP Hi, I have reorganized the git.alpinelinux.org repos. Developers can create new git repos at will, it is just to put the repo in ~/cgit and it will show up on the http://git.alpinelinux.org index page. You can select in what section the repo should show up by create a cgitrc file and you can set the description. To create a new project named mytest do the following: # create a dir, init git and create a first commit mkdir mytest cd mytest echo "testing" > test.txt git init git add . git commit -m 'initial commit' # clone it to a bare repo cd .. git clone --bare mytest mytest.git # set the description echo "My git/cgit test" > mytest.git/description # Set the section for cgit echo "section=3DDeveloper ncopa" > mytest.git/cgitrc # copy to ~/cgit dir on git.a.o scp -r mytest.git git.alpinelinux.org:cgit/ # At this point, the empty repo should be visible on the index page # http://git.alpinelinux.org/ # Note the ssh clone address on the cgit page: # http://git.alpinelinux.org/cgit/ncopa/mytest.git/ # we no longer need the local bare repository. rm -rf mytest.git To continue use the repo you will mostly like want change the repos origin, so you can simply do 'git push' for pushing it to git.a.o. There are 2 ways to do it: 1) modify origin in .git/config or 2) remove the mytest dir and use the ssh clone url. 1) cd mytest vim .git/config # add the following lines: [remote "origin"] fetch =3D +refs/heads/*:refs/remotes/origin/* url =3D ssh://git.alpinelinux.org/gitroot/ncopa/mytest.git [branch "master"] remote =3D origin merge =3D refs/heads/master 2) rm -rf mytest git clone ssh://git.alpinelinux.org/gitroot/ncopa/mytest.git Now you can do local modifications and git push etc. Also note that developers with ssh also can put stuff in ~/public_html that will show up in http://dev.alpinelinux.org/~user. See http://dev.alpinelinux.org/=CC=83~ncopa/alpine for example. This is so developers has some http space for uploading sources, bigger patchers etc. Please do not abuse it. -nc PS. Would be nice if someone could test the above and put it on the wiki.a.o. thanks! --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---