[wp-meta] [Making WordPress.org] #633: Add sync for develop.git.wordpress.org with Github
Making WordPress.org
noreply at wordpress.org
Mon Dec 19 01:29:53 UTC 2016
#633: Add sync for develop.git.wordpress.org with Github
-----------------------------+------------------
Reporter: jorbin | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Version Control | Resolution:
Keywords: |
-----------------------------+------------------
Comment (by pento):
So, trying to understand the magic of git mirrors, I think this is what we
need:
* A new user on GitHub (say, `wordpressdotorg`), with `push` permissions
to `WordPress/wordpress-develop`.
* On the w.org Git server, add `wordpressdotorg`'s private key to
`~/.ssh/config`, as:
{{{
Host github.com
IdentityFile ~/.ssh/id_rsa_github
}}}
* Add to the `post-receive` file: `git push -f --mirror
git at github.com:WordPress/wordpress-develop.git`
Can a git expert please confirm/deny this process? It seems far too simple
to be the correct way to do things with git.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/633#comment:23>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list