fix: rename repo to pearl_bec
All checks were successful
CI for pearl_bec / test (pull_request) Successful in 31s
CI for pearl_bec / test (push) Successful in 28s

This commit was merged in pull request #1.
This commit is contained in:
2026-02-27 15:56:41 +01:00
parent 65fc416516
commit 4e2b37aae3
26 changed files with 20 additions and 20 deletions

View File

@@ -5,5 +5,5 @@
_commit: v1.2.8
_src_path: https://github.com/bec-project/plugin_copier_template.git
make_commit: true
project_name: pearl
project_name: pearl_bec
widget_plugins_input: []

View File

@@ -1,4 +1,4 @@
name: CI for pearl
name: CI for pearl_bec
on:
push:
pull_request:
@@ -49,9 +49,9 @@ jobs:
- name: Checkout BEC Plugin Repository
uses: actions/checkout@v4
with:
repository: bec/pearl
repository: bec/pearl_bec
ref: "${{ inputs.BEC_PLUGIN_REPO_BRANCH || github.head_ref || github.sha }}"
path: ./pearl
path: ./pearl_bec
- name: Lint for merge conflicts from template updates
shell: bash
@@ -95,8 +95,8 @@ jobs:
uv pip install --system -e ./bec/bec_ipython_client
uv pip install --system -e ./bec/bec_server[dev]
uv pip install --system -e ./bec_widgets[dev,pyside6]
uv pip install --system -e ./pearl
uv pip install --system -e ./pearl_bec
- name: Run Pytest with Coverage
id: coverage
run: pytest --random-order --cov=./pearl --cov-config=./pearl/pyproject.toml --cov-branch --cov-report=xml --no-cov-on-fail ./pearl/tests/ || test $? -eq 5
run: pytest --random-order --cov=./pearl_bec --cov-config=./pearl_bec/pyproject.toml --cov-branch --cov-report=xml --no-cov-on-fail ./pearl_bec/tests/ || test $? -eq 5

View File

@@ -1,4 +1,4 @@
name: Create template upgrade PR for pearl
name: Create template upgrade PR for pearl_bec
on:
workflow_dispatch:

View File

@@ -7,7 +7,7 @@ import os
from bec_lib.service_config import ServiceConfig
import pearl
import pearl_bec
def extend_command_line_args(parser):
@@ -23,7 +23,7 @@ def get_config() -> ServiceConfig:
"""
Create and return the ServiceConfig for the plugin repository
"""
deployment_path = os.path.dirname(os.path.dirname(os.path.dirname(pearl.__file__)))
deployment_path = os.path.dirname(os.path.dirname(os.path.dirname(pearl_bec.__file__)))
files = os.listdir(deployment_path)
if "bec_config.yaml" in files:
return ServiceConfig(config_path=os.path.join(deployment_path, "bec_config.yaml"))

View File

@@ -2,5 +2,5 @@
This directory is intended to store macros which will be loaded automatically when starting BEC.
Macros are small functions to make repetitive tasks easier. Functions defined in python files in this directory will be accessible from the BEC console.
Please do not put any code outside of function definitions here. If you wish for code to be automatically run when starting BEC, see the startup script at pearl/bec_ipython_client/startup/post_startup.py
Please do not put any code outside of function definitions here. If you wish for code to be automatically run when starting BEC, see the startup script at pearl_bec/bec_ipython_client/startup/post_startup.py
For a guide on writing macros, please see: https://bec.readthedocs.io/en/latest/user/command_line_interface.html#how-to-write-a-macro

View File

@@ -3,7 +3,7 @@ requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "pearl"
name = "pearl_bec"
version = "0.0.0"
description = "A plugin repository for BEC"
requires-python = ">=3.11"
@@ -28,29 +28,29 @@ dev = [
]
[project.entry-points."bec"]
plugin_bec = "pearl"
plugin_bec = "pearl_bec"
[project.entry-points."bec.deployment.device_server"]
plugin_ds_startup = "pearl.deployments.device_server.startup:run"
plugin_ds_startup = "pearl_bec.deployments.device_server.startup:run"
[project.entry-points."bec.file_writer"]
plugin_file_writer = "pearl.file_writer"
plugin_file_writer = "pearl_bec.file_writer"
[project.entry-points."bec.scans"]
plugin_scans = "pearl.scans"
plugin_scans = "pearl_bec.scans"
[project.entry-points."bec.scans.metadata_schema"]
plugin_metadata_schema = "pearl.scans.metadata_schema"
plugin_metadata_schema = "pearl_bec.scans.metadata_schema"
[project.entry-points."bec.ipython_client_startup"]
plugin_ipython_client_pre = "pearl.bec_ipython_client.startup.pre_startup"
plugin_ipython_client_post = "pearl.bec_ipython_client.startup"
plugin_ipython_client_pre = "pearl_bec.bec_ipython_client.startup.pre_startup"
plugin_ipython_client_post = "pearl_bec.bec_ipython_client.startup"
[project.entry-points."bec.widgets.auto_updates"]
plugin_widgets_update = "pearl.bec_widgets.auto_updates"
plugin_widgets_update = "pearl_bec.bec_widgets.auto_updates"
[project.entry-points."bec.widgets.user_widgets"]
plugin_widgets = "pearl.bec_widgets.widgets"
plugin_widgets = "pearl_bec.bec_widgets.widgets"
[tool.hatch.build.targets.wheel]
include = ["*"]