X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from web130105.mail.mud.yahoo.com (web130105.mail.mud.yahoo.com [66.94.238.132]) by lists.alpinelinux.org (Postfix) with SMTP id A1D611EBFFC for ; Mon, 31 Jan 2011 21:53:25 +0000 (UTC) Received: (qmail 17441 invoked by uid 60001); 31 Jan 2011 21:53:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1296510803; bh=d40rvDrXzWPjBPE6wQDGVroDJ4+1MZs2kDf3AppXp/Y=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=lLwsUOvz0Eps83X4XvVa9Qn8vxD0Q57f39If/k7WtpGNUbOE8BEYLmty7bs+YbgcP/zyytehhxPZiADdjU2C5ktGidCkJWkAbL4liqT5KB+WYiydZ0+FLccZ5oVaHpG84xEVJTvGt1x5G91SAHOPOSbOK6QALTXPpyyO8dulz3I= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=NtC7mj6L0Xu9tZo0+9AEX+e6H3oknUxwWDIbYlwUhcTsCXDdhgnuziQqqkB54pASNg9rONQ4my0i/3uUTrTzMtPvyO323padiJbTjHy4F1Smtn/Tbotqx2LSwfUc/hXlZzoC8EO60Mwbvs3UWnYQFnXUXg7rSxCUeMpl8dGd4X4=; Message-ID: <992739.15355.qm@web130105.mail.mud.yahoo.com> X-YMail-OSG: oRbcLCMVM1mKdjLsxbLjVrPAKuJYd3c108E85ljeuUqbbdv 9jxWSTR7QEwGARWnmd8bVzkKhwMoW3HINXnVf_w1g_YQca7I_F6RBNblSpAN 2_uyDG8Eo4jwn0ndjVeXbuh0cW.QN8FKNHKc683y5K0Qpn2vXez4JoxINrzk JUJf9VCwLxyY8h3GN5XFkkK3fCH61zAbtAKk.lh1RDPn7Stn6W8B2E8OS89N gzyXwKI8YbKeKH0635leMeyCbPcbx3224ppl7LJ3l20Nf0hD1Jfy79sh16l3 MflPQCKW.nM4Ixu4TXuh2TPbfKIkmApYXzDmcLz_ZVJUqVU2GEmyv8_5NCpL i5SdmSYl_4ZHehFoR4KtemnCck4rKcMDLSzFNu0uW9GN0gM3pIbWXmOak0xj CEi.wCfIpChPD Received: from [208.74.141.254] by web130105.mail.mud.yahoo.com via HTTP; Mon, 31 Jan 2011 13:53:23 PST X-Mailer: YahooMailRC/555 YahooMailWebService/0.8.108.291010 References: <20110128194613.213f2fa9@alpinelinux.org> Date: Mon, 31 Jan 2011 13:53:23 -0800 (PST) From: Ted Trask Subject: Re: [alpine-devel] git.alpinelinux.org reorganized To: Natanael Copa , alpine-devel@lists.alpinelinux.org In-Reply-To: <20110128194613.213f2fa9@alpinelinux.org> 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 I like the idea of developers creating there own repos. One problem though.= The =0Aupdate changed the URI of every existing git repository. For instan= ce, =0Aacf-kamailio became acf-kamailio.git. Now, the acf-kamailio APKBUILD= is broken - =0Aboth url and source are wrong. While I could go through and= change ALL of the =0Aexisting APKBUILD files that point to alpinelinux rep= os, it would still leave =0Aall of the existing installed APKs with invalid= url information. Would be much =0Anicer IMHO to modify the cgit config to = change the URIs back to what they were. =0AThoughts?=0A=0ATed=0A=0A=0A=0A--= --- Original Message ----=0AFrom: Natanael Copa =0AT= o: alpine-devel@lists.alpinelinux.org=0ASent: Fri, January 28, 2011 2:46:13= PM=0ASubject: [alpine-devel] git.alpinelinux.org reorganized=0A=0AHi,=0A= =0AI have reorganized the git.alpinelinux.org repos.=0A=0ADevelopers can cr= eate new git repos at will, it is just to put the repo=0Ain ~/cgit and it w= ill show up on the http://git.alpinelinux.org index=0Apage. You can select = in what section the repo should show up by create=0Aa cgitrc file and you c= an set the description.=0A=0ATo create a new project named mytest do the fo= llowing:=0A=0A# create a dir, init git and create a first commit=0Amkdir my= test=0Acd mytest=0Aecho "testing" > test.txt=0Agit init=0Agit add .=0Agit c= ommit -m 'initial commit'=0A=0A=0A# clone it to a bare repo=0Acd ..=0Agit c= lone --bare mytest mytest.git=0A=0A# set the description=0Aecho "My git/cgi= t test" > mytest.git/description=0A=0A# Set the section for cgit=0Aecho "se= ction=3DDeveloper ncopa" > mytest.git/cgitrc=0A=0A# copy to ~/cgit dir on g= it.a.o=0Ascp -r mytest.git git.alpinelinux.org:cgit/=0A=0A# At this point, = the empty repo should be visible on the index page=0A# http://git.alpinelin= ux.org/=0A=0A# Note the ssh clone address on the cgit page:=0A# http://git.= alpinelinux.org/cgit/ncopa/mytest.git/=0A=0A# we no longer need the local b= are repository.=0Arm -rf mytest.git=0A=0ATo continue use the repo you will = mostly like want change the repos=0Aorigin, so you can simply do 'git push'= for pushing it to git.a.o.=0AThere are 2 ways to do it: 1) modify origin i= n .git/config or 2) remove=0Athe mytest dir and use the ssh clone url.=0A= =0A1)=0Acd mytest=0Avim .git/config=0A# add the following lines:=0A[remote = "origin"]=0A fetch =3D +refs/heads/*:refs/remotes/origin/*=0A = url =3D ssh://git.alpinelinux.org/gitroot/ncopa/mytest.git=0A[branch "mast= er"]=0A remote =3D origin=0A merge =3D refs/heads/master=0A= =0A=0A2)=0Arm -rf mytest=0Agit clone ssh://git.alpinelinux.org/gitroot/ncop= a/mytest.git=0A=0ANow you can do local modifications and git push etc.=0A= =0A=0AAlso note that developers with ssh also can put stuff in=0A~/public_h= tml that will show up in http://dev.alpinelinux.org/~user.=0ASee http://dev= .alpinelinux.org/=CC=83~ncopa/alpine for example. This is so=0Adevelopers h= as some http space for uploading sources, bigger patchers=0Aetc. Please do = not abuse it.=0A=0A-nc=0A=0APS. Would be nice if someone could test the abo= ve and put it on the=0Awiki.a.o. thanks!=0A=0A=0A---=0AUnsubscribe: alpine= -devel+unsubscribe@lists.alpinelinux.org=0AHelp: alpine-devel+help@= lists.alpinelinux.org=0A---=0A=0A=0A --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---