tools: add repo creation script and helper README
This commit is contained in:
parent
6b9307289b
commit
59863b4214
3 changed files with 291 additions and 0 deletions
21
tools/README.md
Normal file
21
tools/README.md
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# Railiance Tools
|
||||
|
||||
## create_railiance_repo.sh
|
||||
Creates a new Railiance repo in Gitea (user or org), with a minimal scaffold.
|
||||
|
||||
**Requires:** `~/.railiance_gitea.conf`
|
||||
|
||||
```bash
|
||||
GITEA_URL="https://git.example.com"
|
||||
GITEA_USER="your-username"
|
||||
GITEA_ORG="" # or your org name
|
||||
GITEA_TOKEN="xxxxxxxxxxxxxxxx" # scopes: read:user + write:repository
|
||||
|
||||
|
||||
## Usage
|
||||
./tools/create_railiance_repo.sh
|
||||
./tools/create_railiance_repo.sh --repo my-repo --public --desc "My desc"
|
||||
./tools/create_railiance_repo.sh --org coulomb
|
||||
|
||||
## Misc
|
||||
The script relies on your Git credential helper or SSH key for the initial push.
|
||||
Loading…
Add table
Add a link
Reference in a new issue