Updating readme to v0.2
This commit is contained in:
parent
227e9fed59
commit
5fefc41f15
19
readme.md
19
readme.md
@ -1,8 +1,8 @@
|
||||
Merges several Gitea organizations' maven repositories to one path.
|
||||
Merges several Gitea organizations' maven/cargo repositories to one path.
|
||||
|
||||
## usage
|
||||
```shell
|
||||
./maven-on-gitea-redirector-v0.1 config.json
|
||||
./maven-on-gitea-redirector-v0.2 config.json
|
||||
```
|
||||
|
||||
## config
|
||||
@ -22,4 +22,19 @@ Merges several Gitea organizations' maven repositories to one path.
|
||||
"LanguageUtilities"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
## Additional steps
|
||||
### Cargo ([sparse](https://doc.rust-lang.org/cargo/reference/registry-index.html#index-format))
|
||||
|
||||
Client checks first `/config.json`, which contains paths to API roots. Since each organization has its own config,
|
||||
it should be manually redirected (by `nginx` etc.) to custom config which contains paths to wrapper
|
||||
instead of org registry:
|
||||
```json
|
||||
{
|
||||
"dl": "https://cargo.landgrafhomyak.ru/api/v1/crates/",
|
||||
"api": "https://cargo.landgrafhomyak.ru/",
|
||||
"auth-required": false
|
||||
}
|
||||
```
|
||||
Loading…
Reference in New Issue
Block a user