@@ -12,14 +12,7 @@ On each commit of Ruby's Git repository, following git hooks are triggered:
1212### post-receive
1313
1414* Send notification to
[email protected] 15- * Commit automatic styling:
16- * remove trailing spaces
17- * append newline at EOF
18- * expand tabs
19- * Update version.h if date is changed
2015* Request Redmine to fetch changesets
21- * Mirror cgit to GitHub
22- * Notify committer's Slack
2316
2417## The directory structure of ` git.ruby-lang.org `
2518
@@ -39,11 +32,6 @@ On each commit of Ruby's Git repository, following git hooks are triggered:
3932* We use only ` admin ` user for ` git.ruby-lang.org ` 's SSH access.
4033 * You should contact @hsbt , @mame or @k0kubun for accessing ` git.ruby-lang.org ` .
4134
42- ### bin, cgi-bin, hooks
43- * ` git push ` to ` ruby/git.ruby-lang.org ` 's master branch automatically updates them.
44- * ` ruby/git.ruby-lang.org ` push webhook triggers ` cgi-bin/webhook.cgi `
45- * It runs ` sudo -u git bin/update-git-ruby-lang-org.sh `
46-
4735### recipes
4836
4937``` bash
@@ -60,15 +48,6 @@ bin/hocho apply git.ruby-lang.org
6048* How to write a recipe to mount data volume for bare git repository?
6149* How to write a recipe for mackerel with the host key of git.ruby-lang.org?
6250
63- ## How to set up default gem sync
64-
65- 1 . Add your gem repository name to ` DEFAULT_GEM_REPOS ` in [ cgi-bin/webhook.cgi] ( ./cgi-bin/webhook.cgi ) , and push it to master.
66- 2 . Go to ` https://github.com/ruby/{repo_name}/settings/hooks ` , and add a webhook
67- * Payload URL: Set the content of ` ~git/config/git-ruby-lang-org-url ` in git.ruby-lang.org
68- * Content type: application/json
69- * Secret: Set the content of ` ~git/config/git-ruby-lang-org-secret ` in git.ruby-lang.org
70- * Which events: Just the push event.
71-
7251## License
7352
7453[ Ruby License] ( ./license.txt )
0 commit comments