Infer remote URL when syncing token store

This commit is contained in:
mpabi
2026-04-27 20:54:43 +02:00
parent 147468c48d
commit 2e1b477dc0
3 changed files with 35 additions and 15 deletions
+4 -2
View File
@@ -215,7 +215,7 @@ Jesli token ma zostac tylko w `tokens.json`, usun git remote:
Jesli trzeba ponownie utworzyc remote z sekretem ze store:
```bash
./rvctl tokens sync store r1 --url http://77.90.8.171:3001/edu-tools/rv-launcher.git
./rvctl tokens sync store r1
```
## Komendy
@@ -283,7 +283,9 @@ Nie zmienia git remote URL-a i nie kopiuje sekretu z remote.
### `tokens sync store REMOTE_ID`
Zapisuje dane z rekordu `REMOTE_ID` w `tokens.json` do git remote o tej samej
nazwie. Bez `--repo` zapisuje do repo zawierajacego `rvctl`.
nazwie. Jesli remote jeszcze nie istnieje, URL jest budowany z pol
`server.endpoint`, `org` i `repo` w `tokens.json`. Bez `--repo` zapisuje do repo
zawierajacego `rvctl`.
```bash
./rvctl tokens sync store r1