mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-06-28 06:41:43 +00:00
split github upload into generic http method and github specific
We might use some features from the http upload for another parser
This commit is contained in:
@ -107,14 +107,14 @@ Remote synchronization settings.
|
||||
|
||||
Group name must refer to architecture, e.g. it should be `github:x86_64` for x86_64 architecture. This feature requires Github key creation (see below).
|
||||
|
||||
* `api_key` - created Github API key. In order to create it do the following:
|
||||
1. Go to [settings page](https://github.com/settings/profile).
|
||||
2. Switch to [developers settings](https://github.com/settings/apps).
|
||||
3. Switch to [personal access tokens](https://github.com/settings/tokens).
|
||||
4. Generate new token. Required scope is `public_repo` (or `repo` for private repository support).
|
||||
* `owner` - Github repository owner, string, required.
|
||||
* `password` - created Github API key. In order to create it do the following:
|
||||
1. Go to [settings page](https://github.com/settings/profile).
|
||||
2. Switch to [developers settings](https://github.com/settings/apps).
|
||||
3. Switch to [personal access tokens](https://github.com/settings/tokens).
|
||||
4. Generate new token. Required scope is `public_repo` (or `repo` for private repository support).
|
||||
* `repository` - Github repository name, string, required. Repository must be created before any action and must have active branch (e.g. with readme).
|
||||
* `username` - Github authorization user, string, optional, default is the same as `owner`.
|
||||
* `username` - Github authorization user, string, required. Basically the same as `owner`.
|
||||
|
||||
### `rsync:*` groups
|
||||
|
||||
|
@ -194,9 +194,10 @@ There are several choices:
|
||||
target = github
|
||||
|
||||
[github]
|
||||
api_key = ...
|
||||
owner = ahriman
|
||||
password = ...
|
||||
repository = repository
|
||||
username = ahriman
|
||||
```
|
||||
|
||||
## Reporting
|
||||
|
Reference in New Issue
Block a user