tools: add repo creation script and helper README
Some checks failed
railiance-tests / smoke (push) Has been cancelled

This commit is contained in:
2025-09-12 02:11:37 +02:00
parent 6b9307289b
commit 59863b4214
3 changed files with 291 additions and 0 deletions

21
tools/README.md Normal file
View 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.