From 475389a094a3ac95285c689dd4f349c3de44bcfc Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Fri, 13 Mar 2026 16:28:09 -0700 Subject: [PATCH] Move project tracker from Gitea to Forgejo. --- .gitea/issue_template/bug_template.yaml | 77 --------------------- .gitea/issue_template/config.yaml | 1 - .gitea/issue_template/feature_template.yaml | 15 ---- .gitea/pull_request_template.md | 4 -- .gitea/workflows/build.yaml | 31 --------- NEWS | 1 + docs/fetch-contributors | 2 +- 7 files changed, 2 insertions(+), 129 deletions(-) delete mode 100644 .gitea/issue_template/bug_template.yaml delete mode 100644 .gitea/issue_template/config.yaml delete mode 100644 .gitea/issue_template/feature_template.yaml delete mode 100644 .gitea/pull_request_template.md delete mode 100644 .gitea/workflows/build.yaml diff --git a/.gitea/issue_template/bug_template.yaml b/.gitea/issue_template/bug_template.yaml deleted file mode 100644 index 8f4cad12..00000000 --- a/.gitea/issue_template/bug_template.yaml +++ /dev/null @@ -1,77 +0,0 @@ -name: "Bug or question/support" -about: "For filing a bug or getting support" -body: - - type: textarea - id: problem - attributes: - label: What I'm trying to do and why - validations: - required: true - - type: textarea - id: repro_steps - attributes: - label: Steps to reproduce - description: Include (sanitized) borgmatic configuration files if applicable. - validations: - required: false - - type: textarea - id: actual_behavior - attributes: - label: Actual behavior - description: Include (sanitized) `--verbosity 2` output if applicable. - validations: - required: false - - type: textarea - id: expected_behavior - attributes: - label: Expected behavior - validations: - required: false - - type: textarea - id: notes - attributes: - label: Other notes / implementation ideas - validations: - required: false - - type: input - id: borgmatic_version - attributes: - label: borgmatic version - description: Use `sudo borgmatic --version` or `sudo pip show borgmatic | grep ^Version` - validations: - required: false - - type: input - id: borgmatic_install_method - attributes: - label: borgmatic installation method - description: e.g., pip install, Debian package, container, etc. - validations: - required: false - - type: input - id: borg_version - attributes: - label: Borg version - description: Use `sudo borg --version` - validations: - required: false - - type: input - id: python_version - attributes: - label: Python version - description: Use `python3 --version` - validations: - required: false - - type: input - id: database_version - attributes: - label: Database version (if applicable) - description: Use `psql --version` / `mysql --version` / `mongodump --version` / `sqlite3 --version` - validations: - required: false - - type: input - id: operating_system_version - attributes: - label: Operating system and version - description: On Linux, use `cat /etc/os-release` - validations: - required: false diff --git a/.gitea/issue_template/config.yaml b/.gitea/issue_template/config.yaml deleted file mode 100644 index 0086358d..00000000 --- a/.gitea/issue_template/config.yaml +++ /dev/null @@ -1 +0,0 @@ -blank_issues_enabled: true diff --git a/.gitea/issue_template/feature_template.yaml b/.gitea/issue_template/feature_template.yaml deleted file mode 100644 index ac4c38f5..00000000 --- a/.gitea/issue_template/feature_template.yaml +++ /dev/null @@ -1,15 +0,0 @@ -name: "Feature" -about: "For filing a feature request or idea" -body: - - type: textarea - id: request - attributes: - label: What I'd like to do and why - validations: - required: true - - type: textarea - id: notes - attributes: - label: Other notes / implementation ideas - validations: - required: false diff --git a/.gitea/pull_request_template.md b/.gitea/pull_request_template.md deleted file mode 100644 index 1a5da345..00000000 --- a/.gitea/pull_request_template.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -name: "Pull Request" -about: "Pull Request" ---- diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml deleted file mode 100644 index a9ee3dff..00000000 --- a/.gitea/workflows/build.yaml +++ /dev/null @@ -1,31 +0,0 @@ -name: build -run-name: ${{ gitea.actor }} is building -on: - push: - branches: [main] - pull_request: - branches: [main] - -jobs: - test: - runs-on: host - - steps: - - uses: actions/checkout@v4 - - run: scripts/run-end-to-end-tests - - docs: - needs: [test] - runs-on: host - if: gitea.event_name == 'push' - env: - IMAGE_NAME: projects.torsion.org/borgmatic-collective/borgmatic:docs - - steps: - - uses: actions/checkout@v4 - - run: podman login --username "$USERNAME" --password "$PASSWORD" projects.torsion.org - env: - USERNAME: "${{ secrets.REGISTRY_USERNAME }}" - PASSWORD: "${{ secrets.REGISTRY_PASSWORD }}" - - run: podman build --tag "$IMAGE_NAME" --file docs/Dockerfile --storage-opt "overlay.mount_program=/usr/bin/fuse-overlayfs" . - - run: podman push "$IMAGE_NAME" diff --git a/NEWS b/NEWS index 0f64dbd9..5e1ae2a8 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,7 @@ * Switch the default borgmatic installation method from pipx to uv, as uv is faster and used for borgmatic development. If you'd like to switch, see the documentation for more information: https://torsion.org/borgmatic/how-to/upgrade/ + * Move project tracker from Gitea to Forgejo. 2.1.3 * #1175: Add a "files_changed" option for customizing Borg's file modification detection. diff --git a/docs/fetch-contributors b/docs/fetch-contributors index a9734d73..3a753de6 100755 --- a/docs/fetch-contributors +++ b/docs/fetch-contributors @@ -14,7 +14,7 @@ import requests def list_merged_pulls(url): ''' - Given a Gitea or GitHub API endpoint URL for pull requests, fetch and return the corresponding + Given a Forgejo or GitHub API endpoint URL for pull requests, fetch and return the corresponding JSON for all such merged pull requests. ''' response = requests.get(f'{url}?state=closed', headers={'Accept': 'application/json', 'Content-Type': 'application/json'})