[Pkg-ime-devel] how to set up git repo for pkg-ime in alioth

Asias He asias.hejun at gmail.com
Wed Mar 23 01:15:12 UTC 2011


On Tue, Mar 22, 2011 at 11:56 PM, Aron Xu <happyaron.xu at gmail.com> wrote:
> On Tue, Mar 22, 2011 at 22:39, Asias He <asias.hejun at gmail.com> wrote:
>> Hi, all
>>
>> F.Y.I
>>
>> --------------------------------
>> set up local git repo
>> --------------------------------
>> prj=ibus-anthy
>> user=asias-guest
>> git import-dsc xxx.dsc
>> mv xxx.dir ${prj}.git
>> cd  ${prj}.git
>> git remote add alioth ssh://${user}@git.debian.org/git/pkg-ime/${prj}.git
>> git push alioth upstream
>> git push alioth master
>> git push alioth --tags
>>
>> --------------------------------
>> set up remote git repo in alioth
>> --------------------------------
>> user=asias-guest
>> ssh $user at alioth.debian.org
>> prj=ibus-anthy
>> cd /git/pkg-ime
>> umask 002
>> mkdir ${prj}.git
>> cd ${prj}.git
>> git --bare init --shared
>> echo "${prj} for debian" >  description
>> mv hooks/post-update.sample hooks/post-update
>> chmod +x hooks/post-update
>>
>>
>> --
>> Best Regards
>> Asias He
>>
>
> The procedure could be simplified:
> 1. Create the remote repository $prj first
> 2. git clone git+ssh://git.debian.org/git/pkg-ime/${prj}.git
> 3. Make changes, or just import anything.
> 4. git commit and git push


This is true for every git repo. But, The reason I use git import-dsc
is that we want to adopt git-buildpackage way.


> --
> Regards,
> Aron Xu
>



-- 
Best Regards
Asias He



More information about the Pkg-ime-devel mailing list