From c57dfc0c61a9388b789081bb294ac5974c6d5d98 Mon Sep 17 00:00:00 2001 From: Maverick <87385184+Maverick-F@users.noreply.github.com> Date: Thu, 29 Oct 2026 12:55:04 -0600 Subject: [PATCH 1/6] Switch Anaconda channel from appliedgrg to beratools Update conda channels in workflows, environment.yml and pixi.toml, upload target in publish workflow, and Anaconda links in README and docs. --- .github/workflows/publish_to_anaconda.yml | 6 +++--- .github/workflows/python-compatibility-tests.yml | 2 +- README.md | 2 +- docs/files/developer/publishing.md | 6 +++--- environment.yml | 2 +- pixi.toml | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/publish_to_anaconda.yml b/.github/workflows/publish_to_anaconda.yml index 1afdb30..7f65a21 100644 --- a/.github/workflows/publish_to_anaconda.yml +++ b/.github/workflows/publish_to_anaconda.yml @@ -104,8 +104,8 @@ jobs: run: | set -euo pipefail echo "🏗️ Building version: $VERSION" - echo "📌 Using channels: appliedgrg, conda-forge" - rattler-build build -c appliedgrg -c conda-forge + echo "📌 Using channels: beratools, conda-forge" + rattler-build build -c beratools -c conda-forge echo "Build complete. Outputs under ./output" - name: Collect artifacts to ./dist/conda @@ -186,7 +186,7 @@ jobs: echo "🚀 Uploading ${files[0]}" # Pixi exposes `binstar` (not `anaconda`). Use --label (not --channel). binstar -t "$ANACONDA_API_TOKEN" upload --fail "${files[0]}" \ - --user appliedgrg --label main + --user beratools --label main echo "🎉 Upload complete!" diff --git a/.github/workflows/python-compatibility-tests.yml b/.github/workflows/python-compatibility-tests.yml index e138eee..a015422 100644 --- a/.github/workflows/python-compatibility-tests.yml +++ b/.github/workflows/python-compatibility-tests.yml @@ -56,7 +56,7 @@ jobs: condarc: | channel_priority: strict channels: - - appliedgrg + - beratools - conda-forge cache-environment: true diff --git a/README.md b/README.md index ed8a8a8..50b3341 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ BERA Tools is successor of [Forest Line Mapper](https://github.com/appliedgrg/fl [![Python Integration Tests](https://img.shields.io/github/actions/workflow/status/BERATool/beratools/python-integration-tests.yml?branch=main)](https://github.com/BERATool/beratools/actions/workflows/python-integration-tests.yml) [![GitHub Pages](https://img.shields.io/github/deployments/BERATool/beratools/github-pages?label=docs)](https://beratool.github.io/beratools/) -[![Conda Version](https://img.shields.io/conda/v/AppliedGRG/beratools)](https://anaconda.org/AppliedGRG/beratools) +[![Conda Version](https://img.shields.io/conda/v/beratools/beratools)](https://anaconda.org/beratools/beratools) [![PyPI](https://img.shields.io/pypi/v/BERATools)](https://pypi.org/project/BERATools/) [![Python Version](https://img.shields.io/badge/python-3.12--3.14-blue)](https://www.python.org/downloads/) [![License: GPL-3.0](https://img.shields.io/badge/License-GPL%203.0-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) diff --git a/docs/files/developer/publishing.md b/docs/files/developer/publishing.md index abab305..691e61a 100644 --- a/docs/files/developer/publishing.md +++ b/docs/files/developer/publishing.md @@ -74,9 +74,9 @@ For an Anaconda release: 2. Optionally dispatch the workflow without a version tag to test the selected branch's current commit. 3. Confirm the version is absent from Anaconda. 4. Dispatch the workflow from `main` and enter the chosen tag in **Version tag to publish**. -5. Confirm the build and smoke test pass and the package appears on [Anaconda BERA Tools](https://anaconda.org/appliedgrg/beratools). +5. Confirm the build and smoke test pass and the package appears on [Anaconda BERA Tools](https://anaconda.org/beratools/beratools). -The workflow builds the tagged recipe, installs the resulting package into a separate smoke-test environment, checks its version and CLI, and runs the tagged processing integration test before uploading. The upload targets the existing AppliedGRG Anaconda account. A successful dry run uploads a GitHub Actions artifact, not an Anaconda package. Check the source summary for `release` mode and the **Upload to Anaconda.org** step for actual publication. +The workflow builds the tagged recipe, installs the resulting package into a separate smoke-test environment, checks its version and CLI, and runs the tagged processing integration test before uploading. The upload targets the `beratools` Anaconda account. A successful dry run uploads a GitHub Actions artifact, not an Anaconda package. Check the source summary for `release` mode and the **Upload to Anaconda.org** step for actual publication. ## Windows Installer Signing @@ -170,6 +170,6 @@ After any portal or artifact-configuration change, run the manual signing test. ## Releases -[Anaconda BERA Tools](https://anaconda.org/appliedgrg/beratools) +[Anaconda BERA Tools](https://anaconda.org/beratools/beratools) [PyPI BERA Tools](https://pypi.org/project/BERATools) diff --git a/environment.yml b/environment.yml index 786a3bf..1380b3f 100644 --- a/environment.yml +++ b/environment.yml @@ -4,7 +4,7 @@ channels: - nodefaults - conda-forge - - appliedgrg + - beratools dependencies: - python>=3.12,<3.14 - dask diff --git a/pixi.toml b/pixi.toml index 90c4429..90a5fb9 100644 --- a/pixi.toml +++ b/pixi.toml @@ -1,6 +1,6 @@ [workspace] authors = ["Richard <502763+RichardQZeng@users.noreply.github.com>"] -channels = ["nodefaults", "appliedgrg", "conda-forge"] +channels = ["nodefaults", "beratools", "conda-forge"] description = "BERA Tools is toolset to extract and assess line features in forest" name = "bera" platforms = ["win-64", "linux-64"] From 1f10255b70bc946e2012ea7b59a29d144dfd1721 Mon Sep 17 00:00:00 2001 From: Maverick <87385184+Maverick-F@users.noreply.github.com> Date: Thu, 29 Oct 2026 12:56:29 -0600 Subject: [PATCH 2/6] Point SignPath release-signing origin at BERATool/beratools --- docs/files/developer/publishing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/files/developer/publishing.md b/docs/files/developer/publishing.md index 691e61a..0d12486 100644 --- a/docs/files/developer/publishing.md +++ b/docs/files/developer/publishing.md @@ -140,7 +140,7 @@ Open **Projects -> beratools -> Signing policies** in SignPath to review policy | Allowed build definition | `.github/workflows/build-win-installer.yml` | `.github/workflows/build-win-installer.yml` | | Result | Actions artifact only | Approved GitHub Release | -For `release-signing`, require trusted-build-system verification and origin verification. Set the repository URL to `https://github.com/appliedgrg/beratools.git`, the allowed branch to `main`, and the allowed build definition to `.github/workflows/build-win-installer.yml`. +For `release-signing`, require trusted-build-system verification and origin verification. Set the repository URL to `https://github.com/BERATool/beratools.git`, the allowed branch to `main`, and the allowed build definition to `.github/workflows/build-win-installer.yml`. Release signing is dispatched from `main`, while the source is checked out at the validated tag. SignPath obtains origin metadata from GitHub's run context. When enabling signing after the portal update, test an older-tag build and inspect the signing request's origin alongside the recorded source SHA and workflow SHA. Verify that the connector and signing policy accept the intended tagged source; do not assume the dispatched `main` SHA is the source SHA of an older release. From d1cee94c3c6be5f4363a081a1f82872860490c3e Mon Sep 17 00:00:00 2001 From: Maverick <87385184+Maverick-F@users.noreply.github.com> Date: Thu, 29 Oct 2026 12:58:25 -0600 Subject: [PATCH 3/6] Point code signing team roles at BERATool org teams --- CODE_SIGNING_POLICY.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CODE_SIGNING_POLICY.md b/CODE_SIGNING_POLICY.md index dc4d4e0..068a6ef 100644 --- a/CODE_SIGNING_POLICY.md +++ b/CODE_SIGNING_POLICY.md @@ -4,8 +4,8 @@ Free code signing is provided by [SignPath.io](https://about.signpath.io/), cert ## Team roles -- Committers and reviewers: [AppliedGRG developers](https://github.com/orgs/appliedgrg/teams/developers) -- Approvers: [AppliedGRG administrators](https://github.com/orgs/appliedgrg/teams/admin) +- Committers and reviewers: [BERATool developers](https://github.com/orgs/BERATool/teams/developers) +- Approvers: [BERATool administrators](https://github.com/orgs/BERATool/teams/admin) ## Release process From 6d69b4ad365bb40da6f7dd8111fc366f175f17cb Mon Sep 17 00:00:00 2001 From: Maverick <87385184+Maverick-F@users.noreply.github.com> Date: Thu, 29 Oct 2026 13:08:12 -0600 Subject: [PATCH 4/6] Use bera_tools Anaconda channel (BERA_Tools org) --- .github/workflows/publish_to_anaconda.yml | 6 +++--- .github/workflows/python-compatibility-tests.yml | 2 +- README.md | 2 +- docs/files/developer/publishing.md | 6 +++--- environment.yml | 2 +- pixi.toml | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/publish_to_anaconda.yml b/.github/workflows/publish_to_anaconda.yml index 7f65a21..3518520 100644 --- a/.github/workflows/publish_to_anaconda.yml +++ b/.github/workflows/publish_to_anaconda.yml @@ -104,8 +104,8 @@ jobs: run: | set -euo pipefail echo "🏗️ Building version: $VERSION" - echo "📌 Using channels: beratools, conda-forge" - rattler-build build -c beratools -c conda-forge + echo "📌 Using channels: bera_tools, conda-forge" + rattler-build build -c bera_tools -c conda-forge echo "Build complete. Outputs under ./output" - name: Collect artifacts to ./dist/conda @@ -186,7 +186,7 @@ jobs: echo "🚀 Uploading ${files[0]}" # Pixi exposes `binstar` (not `anaconda`). Use --label (not --channel). binstar -t "$ANACONDA_API_TOKEN" upload --fail "${files[0]}" \ - --user beratools --label main + --user bera_tools --label main echo "🎉 Upload complete!" diff --git a/.github/workflows/python-compatibility-tests.yml b/.github/workflows/python-compatibility-tests.yml index a015422..8407fae 100644 --- a/.github/workflows/python-compatibility-tests.yml +++ b/.github/workflows/python-compatibility-tests.yml @@ -56,7 +56,7 @@ jobs: condarc: | channel_priority: strict channels: - - beratools + - bera_tools - conda-forge cache-environment: true diff --git a/README.md b/README.md index 50b3341..e79c62f 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ BERA Tools is successor of [Forest Line Mapper](https://github.com/appliedgrg/fl [![Python Integration Tests](https://img.shields.io/github/actions/workflow/status/BERATool/beratools/python-integration-tests.yml?branch=main)](https://github.com/BERATool/beratools/actions/workflows/python-integration-tests.yml) [![GitHub Pages](https://img.shields.io/github/deployments/BERATool/beratools/github-pages?label=docs)](https://beratool.github.io/beratools/) -[![Conda Version](https://img.shields.io/conda/v/beratools/beratools)](https://anaconda.org/beratools/beratools) +[![Conda Version](https://img.shields.io/conda/v/bera_tools/beratools)](https://anaconda.org/bera_tools/beratools) [![PyPI](https://img.shields.io/pypi/v/BERATools)](https://pypi.org/project/BERATools/) [![Python Version](https://img.shields.io/badge/python-3.12--3.14-blue)](https://www.python.org/downloads/) [![License: GPL-3.0](https://img.shields.io/badge/License-GPL%203.0-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) diff --git a/docs/files/developer/publishing.md b/docs/files/developer/publishing.md index 0d12486..2794040 100644 --- a/docs/files/developer/publishing.md +++ b/docs/files/developer/publishing.md @@ -74,9 +74,9 @@ For an Anaconda release: 2. Optionally dispatch the workflow without a version tag to test the selected branch's current commit. 3. Confirm the version is absent from Anaconda. 4. Dispatch the workflow from `main` and enter the chosen tag in **Version tag to publish**. -5. Confirm the build and smoke test pass and the package appears on [Anaconda BERA Tools](https://anaconda.org/beratools/beratools). +5. Confirm the build and smoke test pass and the package appears on [Anaconda BERA Tools](https://anaconda.org/bera_tools/beratools). -The workflow builds the tagged recipe, installs the resulting package into a separate smoke-test environment, checks its version and CLI, and runs the tagged processing integration test before uploading. The upload targets the `beratools` Anaconda account. A successful dry run uploads a GitHub Actions artifact, not an Anaconda package. Check the source summary for `release` mode and the **Upload to Anaconda.org** step for actual publication. +The workflow builds the tagged recipe, installs the resulting package into a separate smoke-test environment, checks its version and CLI, and runs the tagged processing integration test before uploading. The upload targets the `bera_tools` Anaconda organization. A successful dry run uploads a GitHub Actions artifact, not an Anaconda package. Check the source summary for `release` mode and the **Upload to Anaconda.org** step for actual publication. ## Windows Installer Signing @@ -170,6 +170,6 @@ After any portal or artifact-configuration change, run the manual signing test. ## Releases -[Anaconda BERA Tools](https://anaconda.org/beratools/beratools) +[Anaconda BERA Tools](https://anaconda.org/bera_tools/beratools) [PyPI BERA Tools](https://pypi.org/project/BERATools) diff --git a/environment.yml b/environment.yml index 1380b3f..0121c08 100644 --- a/environment.yml +++ b/environment.yml @@ -4,7 +4,7 @@ channels: - nodefaults - conda-forge - - beratools + - bera_tools dependencies: - python>=3.12,<3.14 - dask diff --git a/pixi.toml b/pixi.toml index 90a5fb9..8dd8ce4 100644 --- a/pixi.toml +++ b/pixi.toml @@ -1,6 +1,6 @@ [workspace] authors = ["Richard <502763+RichardQZeng@users.noreply.github.com>"] -channels = ["nodefaults", "beratools", "conda-forge"] +channels = ["nodefaults", "bera_tools", "conda-forge"] description = "BERA Tools is toolset to extract and assess line features in forest" name = "bera" platforms = ["win-64", "linux-64"] From 9ecd967ae494e7c43dfd9032b22bcebd0f8ad0a2 Mon Sep 17 00:00:00 2001 From: Maverick <87385184+Maverick-F@users.noreply.github.com> Date: Thu, 29 Oct 2026 16:13:19 -0600 Subject: [PATCH 5/6] Refresh PyPI badge cache in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e79c62f..b39bffb 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ BERA Tools is successor of [Forest Line Mapper](https://github.com/appliedgrg/fl [![Python Integration Tests](https://img.shields.io/github/actions/workflow/status/BERATool/beratools/python-integration-tests.yml?branch=main)](https://github.com/BERATool/beratools/actions/workflows/python-integration-tests.yml) [![GitHub Pages](https://img.shields.io/github/deployments/BERATool/beratools/github-pages?label=docs)](https://beratool.github.io/beratools/) [![Conda Version](https://img.shields.io/conda/v/bera_tools/beratools)](https://anaconda.org/bera_tools/beratools) -[![PyPI](https://img.shields.io/pypi/v/BERATools)](https://pypi.org/project/BERATools/) +[![PyPI](https://img.shields.io/pypi/v/BERATools?cacheSeconds=3600)](https://pypi.org/project/BERATools/) [![Python Version](https://img.shields.io/badge/python-3.12--3.14-blue)](https://www.python.org/downloads/) [![License: GPL-3.0](https://img.shields.io/badge/License-GPL%203.0-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) From 70788f912c1483d6edb94eec33600de402779147 Mon Sep 17 00:00:00 2001 From: Maverick <87385184+Maverick-F@users.noreply.github.com> Date: Thu, 29 Oct 2026 16:13:56 -0600 Subject: [PATCH 6/6] Refresh conda badge cache in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b39bffb..223c88c 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ BERA Tools is successor of [Forest Line Mapper](https://github.com/appliedgrg/fl [![Python Integration Tests](https://img.shields.io/github/actions/workflow/status/BERATool/beratools/python-integration-tests.yml?branch=main)](https://github.com/BERATool/beratools/actions/workflows/python-integration-tests.yml) [![GitHub Pages](https://img.shields.io/github/deployments/BERATool/beratools/github-pages?label=docs)](https://beratool.github.io/beratools/) -[![Conda Version](https://img.shields.io/conda/v/bera_tools/beratools)](https://anaconda.org/bera_tools/beratools) +[![Conda Version](https://img.shields.io/conda/v/bera_tools/beratools?cacheSeconds=3600)](https://anaconda.org/bera_tools/beratools) [![PyPI](https://img.shields.io/pypi/v/BERATools?cacheSeconds=3600)](https://pypi.org/project/BERATools/) [![Python Version](https://img.shields.io/badge/python-3.12--3.14-blue)](https://www.python.org/downloads/) [![License: GPL-3.0](https://img.shields.io/badge/License-GPL%203.0-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)