Skip to content

Commit

Permalink
Format JSON file (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
Smaug123 authored Sep 22, 2024
1 parent f17b64a commit 7508fb4
Showing 1 changed file with 109 additions and 95 deletions.
204 changes: 109 additions & 95 deletions Gitea.Declarative.Test/GiteaConfig.json
Original file line number Diff line number Diff line change
@@ -1,95 +1,109 @@
{
"users": {
"admin": {
"isAdmin": true,
"email": "[email protected]",
"visibility": "private"
},
"nonadmin-user": {
"isAdmin": false,
"email": "[email protected]",
"website": "https://example.com",
"visibility": "public"
}
},
"repos": {
"nonadmin-user": {
"synced-from-github-repo-1": {
"description": "A repo that is imported from GitHub",
"gitHub": {
"uri": "https://github.com/MyName/repo-name"
}
},
"synced-from-github-repo-2": {
"description": "Another repo that is imported from GitHub",
"gitHub": {
"uri": "https://github.com/MyName/repo-name-2"
}
},
"new-repo": {
"description": "A repo that's created directly on this Gitea",
"native": {
"defaultBranch": "main",
"private": false
}
},
"new-repo-mirrored": {
"description": "A repo that's created directly on this Gitea and mirrored to GitHub",
"native": {
"defaultBranch": "main",
"private": false,
"mirror": {
"gitHubAddress": "https://github.com/MyName/repo-name-3"
}
}
},
"new-repo-mirrored-with-branches": {
"description": "A repo that's created directly on this Gitea and mirrored to GitHub",
"native": {
"defaultBranch": "main",
"private": false,
"mirror": {
"gitHubAddress": "https://github.com/MyName/repo-name-3"
},
"protectedBranches": [
{ "branchName": "main" }
]
}
},
"new-repo-mirrored-with-branches-and-protection": {
"description": "A repo that's created directly on this Gitea and mirrored to GitHub",
"native": {
"defaultBranch": "main",
"private": false,
"mirror": {
"gitHubAddress": "https://github.com/MyName/repo-name-3"
},
"protectedBranches": [
{ "branchName": "main", "blockOnOutdatedBranch": true, "requiredStatusChecks": ["all-pr-checks-complete"] }
]
}
},
"deleted-repo": {
"description": "A repo that's been scheduled for deletion at the next run",
"deleted": true,
"native": {
"defaultBranch": "main",
"private": false,
"mirror": {
"gitHubAddress": "https://github.com/MyName/repo-name-3"
},
"protectedBranches": [
{ "branchName": "main", "blockOnOutdatedBranch": true, "requiredStatusChecks": ["all-pr-checks-complete"] }
]
}
},
"deleted-mirror": {
"description": "A repo that's been scheduled for deletion at the next run",
"deleted": true,
"gitHub": {
"uri": "https://github.com/MyName/only-remaining-copy"
}
}
}
}
}
{
"users": {
"admin": {
"isAdmin": true,
"email": "[email protected]",
"visibility": "private"
},
"nonadmin-user": {
"isAdmin": false,
"email": "[email protected]",
"website": "https://example.com",
"visibility": "public"
}
},
"repos": {
"nonadmin-user": {
"synced-from-github-repo-1": {
"description": "A repo that is imported from GitHub",
"gitHub": {
"uri": "https://github.com/MyName/repo-name"
}
},
"synced-from-github-repo-2": {
"description": "Another repo that is imported from GitHub",
"gitHub": {
"uri": "https://github.com/MyName/repo-name-2"
}
},
"new-repo": {
"description": "A repo that's created directly on this Gitea",
"native": {
"defaultBranch": "main",
"private": false
}
},
"new-repo-mirrored": {
"description": "A repo that's created directly on this Gitea and mirrored to GitHub",
"native": {
"defaultBranch": "main",
"private": false,
"mirror": {
"gitHubAddress": "https://github.com/MyName/repo-name-3"
}
}
},
"new-repo-mirrored-with-branches": {
"description": "A repo that's created directly on this Gitea and mirrored to GitHub",
"native": {
"defaultBranch": "main",
"private": false,
"mirror": {
"gitHubAddress": "https://github.com/MyName/repo-name-3"
},
"protectedBranches": [
{
"branchName": "main"
}
]
}
},
"new-repo-mirrored-with-branches-and-protection": {
"description": "A repo that's created directly on this Gitea and mirrored to GitHub",
"native": {
"defaultBranch": "main",
"private": false,
"mirror": {
"gitHubAddress": "https://github.com/MyName/repo-name-3"
},
"protectedBranches": [
{
"branchName": "main",
"blockOnOutdatedBranch": true,
"requiredStatusChecks": [
"all-pr-checks-complete"
]
}
]
}
},
"deleted-repo": {
"description": "A repo that's been scheduled for deletion at the next run",
"deleted": true,
"native": {
"defaultBranch": "main",
"private": false,
"mirror": {
"gitHubAddress": "https://github.com/MyName/repo-name-3"
},
"protectedBranches": [
{
"branchName": "main",
"blockOnOutdatedBranch": true,
"requiredStatusChecks": [
"all-pr-checks-complete"
]
}
]
}
},
"deleted-mirror": {
"description": "A repo that's been scheduled for deletion at the next run",
"deleted": true,
"gitHub": {
"uri": "https://github.com/MyName/only-remaining-copy"
}
}
}
}
}

0 comments on commit 7508fb4

Please sign in to comment.