@@ -68,7 +68,7 @@ $ sudo apt-get install python3-venv python3-wheel
68
68
$ python3 -m venv .venv
69
69
$ . .venv/bin/activate
70
70
$ pip install -U pip
71
- $ git clone https://github.com/rust-ops /homu.git
71
+ $ git clone https://github.com/rust-lang /homu.git
72
72
$ pip install -e homu
73
73
```
74
74
@@ -84,30 +84,31 @@ the name of the repository you are configuring homu for.
84
84
config values.
85
85
86
86
2 . Create a GitHub account that will be used by Homu. You can also use an
87
- existing account. In the [ account settings] [ settings ] , go to "OAuth
88
- applications " and create a new application:
87
+ existing account. In the [ developer settings] [ settings ] , go to "OAuth
88
+ Apps " and create a new application:
89
89
- Make note of the "Client ID" and "Client Secret"; you will need to put them in
90
90
your ` cfg.toml ` .
91
91
- The OAuth Callback URL should be ` http://HOST:PORT/callback ` .
92
92
- The homepage URL isn't necessary; you could set ` http://HOST:PORT/ ` .
93
93
94
- 3 . Go to the user settings of the GitHub account you created/used in the
94
+ 3 . Go back to the developer settings of the GitHub account you created/used in the
95
95
previous step. Go to "Personal access tokens". Click "Generate new token" and
96
96
choose the "repo" and "user" scopes. Put the token value in your ` cfg.toml ` .
97
97
98
98
4 . Add your new GitHub account as a Collaborator to the GitHub repo you are
99
99
setting up homu for. This can be done in repo (NOT user) "Settings", then
100
- "Collaborators".
100
+ "Collaborators". Enable "Write" access.
101
101
102
102
4.1. Make sure you login as the new GitHub account and that you ** accept
103
103
the collaborator invitation** you just sent!
104
104
105
105
5 . Add a Webhook to your repository. This is done under repo (NOT user)
106
- "Settings", then "Webhooks". Click "Add webhook", the set:
106
+ "Settings", then "Webhooks". Click "Add webhook", then set:
107
107
- Payload URL: ` http://HOST:PORT/github `
108
108
- Content type: ` application/json `
109
109
- Secret: The same as ` repo.NAME.github.secret ` in ` cfg.toml `
110
- - Events: ` Issue Comment ` , ` Pull Request ` , ` Push ` , ` Status ` , ` Check runs `
110
+ - Events: click "Let me select individual events", then pick
111
+ ` Issue comments ` , ` Pull requests ` , ` Pushes ` , ` Statuses ` , ` Check runs `
111
112
112
113
6 . Add a Webhook to your continuous integration service, if necessary. You don't
113
114
need this if using Travis/Appveyor.
@@ -127,7 +128,7 @@ the name of the repository you are configuring homu for.
127
128
7 . Go through the rest of your `cfg.toml` and uncomment (and change, if needed)
128
129
parts of the config you' ll need.
129
130
130
- [settings]: https:// github.com/ settings/ applications
131
+ [settings]: https:// github.com/ settings/ apps
131
132
[travis]: https:// travis- ci.org/ profile/ info
132
133
133
134
# ## How to run
0 commit comments