Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/publish_to_anaconda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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!"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-compatibility-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
condarc: |
channel_priority: strict
channels:
- appliedgrg
- bera_tools
- conda-forge
cache-environment: true

Expand Down
4 changes: 2 additions & 2 deletions CODE_SIGNING_POLICY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
8 changes: 4 additions & 4 deletions docs/files/developer/publishing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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)
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
channels:
- nodefaults
- conda-forge
- appliedgrg
- bera_tools
dependencies:
- python>=3.12,<3.14
- dask
Expand Down
2 changes: 1 addition & 1 deletion pixi.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[workspace]
authors = ["Richard <[email protected]>"]
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"]
Expand Down
Loading