diff --git a/.github/workflows/publish_to_anaconda.yml b/.github/workflows/publish_to_anaconda.yml index 1afdb30..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: appliedgrg, conda-forge" - rattler-build build -c appliedgrg -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 appliedgrg --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 e138eee..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: - - appliedgrg + - bera_tools - conda-forge cache-environment: true 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 diff --git a/README.md b/README.md index ed8a8a8..223c88c 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ 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) -[![PyPI](https://img.shields.io/pypi/v/BERATools)](https://pypi.org/project/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) diff --git a/docs/files/developer/publishing.md b/docs/files/developer/publishing.md index abab305..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/appliedgrg/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 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 `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 @@ -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. @@ -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/bera_tools/beratools) [PyPI BERA Tools](https://pypi.org/project/BERATools) diff --git a/environment.yml b/environment.yml index 786a3bf..0121c08 100644 --- a/environment.yml +++ b/environment.yml @@ -4,7 +4,7 @@ channels: - nodefaults - conda-forge - - appliedgrg + - bera_tools dependencies: - python>=3.12,<3.14 - dask diff --git a/pixi.toml b/pixi.toml index 90c4429..8dd8ce4 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", "bera_tools", "conda-forge"] description = "BERA Tools is toolset to extract and assess line features in forest" name = "bera" platforms = ["win-64", "linux-64"]