aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/minimal.gitinfo4
-rw-r--r--examples/mirror-only.gitinfo10
-rw-r--r--examples/open-source-project.gitinfo24
3 files changed, 38 insertions, 0 deletions
diff --git a/examples/minimal.gitinfo b/examples/minimal.gitinfo
new file mode 100644
index 0000000..18f5d07
--- /dev/null
+++ b/examples/minimal.gitinfo
@@ -0,0 +1,4 @@
+{
+ "$schema": "https://forgejo.zue.dev/zuedev/gitinfo/raw/branch/main/gitinfo.schema.json",
+ "root": "https://github.com/user/project"
+}
diff --git a/examples/mirror-only.gitinfo b/examples/mirror-only.gitinfo
new file mode 100644
index 0000000..ac24890
--- /dev/null
+++ b/examples/mirror-only.gitinfo
@@ -0,0 +1,10 @@
+{
+ "$schema": "https://forgejo.zue.dev/zuedev/gitinfo/raw/branch/main/gitinfo.schema.json",
+ // This is a read-only mirror. Contributions should go to the root repository.
+ "root": "https://github.com/upstream/project",
+ "description": "Mirror of upstream/project - do not submit PRs here",
+ "mirrors": [
+ "https://gitlab.com/mirror/project",
+ "https://codeberg.org/mirror/project"
+ ]
+}
diff --git a/examples/open-source-project.gitinfo b/examples/open-source-project.gitinfo
new file mode 100644
index 0000000..32cae94
--- /dev/null
+++ b/examples/open-source-project.gitinfo
@@ -0,0 +1,24 @@
+{
+ "$schema": "https://forgejo.zue.dev/zuedev/gitinfo/raw/branch/main/gitinfo.schema.json",
+ "root": "https://github.com/example/awesome-project",
+ "description": "A full-featured open source project with multiple mirrors and maintainers",
+ "license": "MIT",
+ "homepage": "https://awesome-project.dev",
+ "icon": "https://awesome-project.dev/logo.png",
+ "tags": ["cli", "rust", "developer-tools", "productivity"],
+ "gitmail": "patches@awesome-project.dev",
+ "mirrors": [
+ "https://gitlab.com/example/awesome-project",
+ "https://codeberg.org/example/awesome-project",
+ "https://sr.ht/~example/awesome-project"
+ ],
+ "maintainers": [
+ ["Alice Johnson", "alice@awesome-project.dev"],
+ ["Bob Smith", "bob@awesome-project.dev"]
+ ],
+ "funding": [
+ "https://github.com/sponsors/example",
+ "https://opencollective.com/awesome-project"
+ ],
+ "version": "1.0.0"
+}