From 7f666c571ec20ca8eb3574ec09cf71ef76580674 Mon Sep 17 00:00:00 2001 From: Peter Storch Date: Sat, 16 Aug 2025 09:51:46 +0200 Subject: [PATCH] codeberg migration --- {.github => .gitea}/ISSUE_TEMPLATE/bug_report.md | 0 .../ISSUE_TEMPLATE/data_not_recorded.md | 0 {.github => .gitea}/ISSUE_TEMPLATE/feature_request.md | 0 {.github => .gitea}/PULL_REQUEST_TEMPLATE.md | 0 .github/FUNDING.yml | 5 ----- .woodpecker/lint.yml | 10 ++++++++++ .woodpecker/test.yml | 10 ++++++++++ README_RELEASE.md | 6 +++--- RELEASE.sh | 2 +- build.gradle | 2 +- 10 files changed, 25 insertions(+), 10 deletions(-) rename {.github => .gitea}/ISSUE_TEMPLATE/bug_report.md (100%) rename {.github => .gitea}/ISSUE_TEMPLATE/data_not_recorded.md (100%) rename {.github => .gitea}/ISSUE_TEMPLATE/feature_request.md (100%) rename {.github => .gitea}/PULL_REQUEST_TEMPLATE.md (100%) delete mode 100644 .github/FUNDING.yml create mode 100644 .woodpecker/lint.yml create mode 100644 .woodpecker/test.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.gitea/ISSUE_TEMPLATE/bug_report.md similarity index 100% rename from .github/ISSUE_TEMPLATE/bug_report.md rename to .gitea/ISSUE_TEMPLATE/bug_report.md diff --git a/.github/ISSUE_TEMPLATE/data_not_recorded.md b/.gitea/ISSUE_TEMPLATE/data_not_recorded.md similarity index 100% rename from .github/ISSUE_TEMPLATE/data_not_recorded.md rename to .gitea/ISSUE_TEMPLATE/data_not_recorded.md diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.gitea/ISSUE_TEMPLATE/feature_request.md similarity index 100% rename from .github/ISSUE_TEMPLATE/feature_request.md rename to .gitea/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.gitea/PULL_REQUEST_TEMPLATE.md similarity index 100% rename from .github/PULL_REQUEST_TEMPLATE.md rename to .gitea/PULL_REQUEST_TEMPLATE.md diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index c8c846a4c..000000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,5 +0,0 @@ -# These are supported funding model platforms - -liberapay: OpenTracks -github: [rgmf, pstorch, dennisguse] -custom: https://play.google.com/store/apps/details?id=de.dennisguse.opentracks.playstore diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml new file mode 100644 index 000000000..32eb6e3a8 --- /dev/null +++ b/.woodpecker/lint.yml @@ -0,0 +1,10 @@ +steps: + build: + when: + event: [ push ] + image: androidsdk/android-31 + commands: + - apt-get update + - apt-get install -y openjdk-17-jdk-headless + - update-java-alternatives -a + - ./gradlew lint diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml new file mode 100644 index 000000000..417fb5bf0 --- /dev/null +++ b/.woodpecker/test.yml @@ -0,0 +1,10 @@ +steps: + build: + when: + event: [ push ] + image: androidsdk/android-31 + commands: + - apt-get update + - apt-get install -y openjdk-17-jdk-headless + - update-java-alternatives -a + - ./gradlew testNightlyDebugUnitTest --stacktrace diff --git a/README_RELEASE.md b/README_RELEASE.md index d80f4a3f5..24b305993 100644 --- a/README_RELEASE.md +++ b/README_RELEASE.md @@ -3,10 +3,10 @@ ## Craft new releases 1. Execute use `RELEASE.sh`. -2. Push to Github -3. Create release on Github (incl. changelog) +2. Push to Codeberg +3. Create release on Codeberg (incl. changelog) This actually creates a tag that is later used by F-Droid -4. Pull from Github +4. Pull from Codeberg 5. Build reproducible release and attach to release 6. ... wait until reproducibility is verified by F-Droid diff --git a/RELEASE.sh b/RELEASE.sh index 8db19de1c..8e9255698 100755 --- a/RELEASE.sh +++ b/RELEASE.sh @@ -48,4 +48,4 @@ read git add -u git commit -m "$COMMIT_MESSAGE" -echo -e "Next steps:\n1. Push to Github\n2. Create release on Github: https://github.com/OpenTracksApp/OpenTracks/releases" \ No newline at end of file +echo -e "Next steps:\n1. Push to Codeberg\n2. Create release on Codeberg: https://codeberg.org/OpenTracksApp/OpenTracks/releases" \ No newline at end of file diff --git a/build.gradle b/build.gradle index 66fafd629..045427904 100644 --- a/build.gradle +++ b/build.gradle @@ -104,7 +104,7 @@ android { versionNameSuffix 'irreproducible' } reproducible { - // Developer Binaries: https://github.com/OpenTracksApp/OSMDashboard/releases/download/v%v/de.dennisguse.opentracks.playstore_%v.apk + // Developer Binaries: https://codeberg.org/OpenTracksApp/OSMDashboard/releases/download/v%v/de.dennisguse.opentracks.playstore_%v.apk // FDroid: https://f-droid.org/de/packages/de.dennisguse.opentracks.playstore // PlayStore: https://play.google.com/store/apps/details?id=de.dennisguse.opentracks.playstore dimension 'version'