Update ReadMe.md
This commit is contained in:
@@ -7,3 +7,39 @@
|
||||
- [ ] right now I just need to get it able to set up a new Gitea instance
|
||||
- [ ] in the future, it needs to be able to push to a new GitHub
|
||||
- [ ] need to be able to recognize/use local repos vs pulled ones
|
||||
|
||||
## JSON format
|
||||
```json
|
||||
{
|
||||
"mirrors": {
|
||||
"https://github.com/": {
|
||||
"TangentFoxy": {
|
||||
"lua-sandbox": {
|
||||
"private": false,
|
||||
"target": "https://gitea.tangentfox.com/forks/lua-sandbox"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"repositories": {
|
||||
"https://github.com/": {
|
||||
"TangentFoxy": {
|
||||
"github.io-podcasts": {
|
||||
"description": "A Lua script to partially automate publishing a podcast on GitHub Pages."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
The idea is to make a tree based on the *source* of a repo,
|
||||
with special keys for what to do with that source,
|
||||
and optional `target` URLs for mirroring.
|
||||
- `description`: Short description typically displayed in lists on hosting services.
|
||||
- `private`: If a repo needs to be created, it will be private only if this is true.
|
||||
- `redundant`: This repo really doesn't need to exist, but hasn't been removed yet. (This is essentially for my own notes.)
|
||||
- `target`: A repo URL to force-push to for mirroring.
|
||||
- `website`: URL, usually displayed clickable on hosting services.
|
||||
|
||||
I'm probably going to remove the artificial separation between mirros and repositories.
|
||||
|
||||
Reference in New Issue
Block a user