systems:git

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
systems:git [2012/09/22 17:59] dspsystems:git [2017/09/22 13:28] – external edit 127.0.0.1
Line 16: Line 16:
   - Create the repo on github. Use dash instead of slashes e.g. //pecl/numbers/bitset// becomes //pecl-numbers-bitset// on github   - Create the repo on github. Use dash instead of slashes e.g. //pecl/numbers/bitset// becomes //pecl-numbers-bitset// on github
   - Import the repository using svn2git.   - Import the repository using svn2git.
-    - An author map will be made available soon +    - git init reponame 
 +    - cd reponame 
 +    - svn2git %%--verbose%% %%--authors%% /path/to/authors.map http://svn.php.net/repository/pecl/package 
 +    - The authors.map is in the gitolite-admin.git repo.  
     - Push it to the newly created repository.     - Push it to the newly created repository.
-      - I use git push --all https://git.php.net/push/REPONAME +      - git push %%--all%% https://git.php.net/push/REPONAME 
-      - I use git push --tags https://git.php.net/push/REPONAME+      - git push %%--tags%% https://git.php.net/push/REPONAME
     - Make sure all branches are pushed     - Make sure all branches are pushed
   - Add the appropriate //hooks.mailinglist// config variable   - Add the appropriate //hooks.mailinglist// config variable
     - Do that **AFTER** you pushed the initial repository or people will hate you.     - Do that **AFTER** you pushed the initial repository or people will hate you.
   - Rename <REPO> to <REPO>.git in the //global_avail// file in SVNROOT.   - Rename <REPO> to <REPO>.git in the //global_avail// file in SVNROOT.
 +  - A GitHub repository should be created by an "owner" of the PHP-GitHub project using https://master.php.net/manage/github.php
  
 karma & co is going to be installed automatically. If you have problem call dsp@php.net. karma & co is going to be installed automatically. If you have problem call dsp@php.net.
systems/git.txt · Last modified: 2021/04/06 08:06 by sergey