Implement use of reusable workflows downstream
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start with the reusable workflow files referenced by the table, then inspect the existing workflow files in the listed PyPSA and energy-models repositories to identify which calls fit and what repo-specific jobs or settings must stay local. Begin with link-check.yml, which the issue describes as the lowest-risk first step. Done means the applicable downstream workflows call the shared workflows, with the listed exceptions, prerequisites, and repository-specific inputs accounted for.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The workflows here are based on those already in various core PyPSA / energy-models org repos. The idea then is to replace those individual repo workflows with references to these reusable ones.
A table of work to be done, generated by AI:
Scope: the core repos of the PyPSA org and the active repos of the energy-models org.
Not included: regional model repos (pypsa-usa, pypsa-de, PyPSA-China, 247-cfe, methanol-uldes), website and utility repos, forks and archived repos.
Legend: ✅ fits now · ⚠️ fits after a change (see Notes) · ❌ does not apply
| Org | Repo | Kind | test.yml | release.yml | benchmark.yml | pypsa-eur.yml | link-check.yml | Notes |
|---|---|---|---|---|---|---|---|---|
| PyPSA | PyPSA | Python package | ⚠️ library | ⚠️ | ❌ | ✅ | ✅ | Extra CI jobs stay local (API legs, plots, docs, mypy). Release keeps its S3 examples upload. Use also-upgrade: linopy. |
| PyPSA | linopy | Python package | ⚠️ library | ✅ | ✅ codspeed | ✅ | ✅ | Move solvers from apt/brew to pixi-add. Pass MOSEKLM_LICENSE_FILE: ${{ secrets.MSK_LICENSE }}. |
| PyPSA | pypsa-eur | Snakemake workflow (pixi) | ⚠️ project | ⚠️ | ❌ | ❌ | ✅ | Disk cleanup, paths filter and pylint stay local. Release: build: false, prepare-command: pixi run update-dags. |
| PyPSA | atlite | Python package | ✅ library | ✅ | ❌ | ✅ | ✅ | Pass CDSAPI_KEY: ${{ secrets.CDSAPI_TOKEN }}. Set vars-env: CDSAPI_URL. Cutout cache via cache-path. |
| PyPSA | powerplantmatching | Python package | ⚠️ library | ✅ | ❌ | ✅ | ✅ | Needs pixi-add: openjdk. Its data rebuild before release maps to prepare-command. |
| PyPSA | technology-data | Snakemake workflow (conda) | ⚠️ project | ⚠️ | ❌ | ❌ | ✅ | Needs a move from conda to pixi first. Releases are manual, so use build: false. |
| PyPSA | grid-builder | Snakemake workflow (pixi) | ✅ project | ❌ | ❌ | ❌ | ✅ | Its CI comes from the Modelblocks template. Replacing it conflicts with template updates. |
| PyPSA | pypsa-app | Python app (Docker) | ⚠️ library | ❌ | ❌ | ❌ | ✅ | Only the SQLite tests fit. The Postgres tests need a service container. Release is a Docker image. |
| PyPSA | snakedispatch | Python app (Docker) | ⚠️ library | ❌ | ❌ | ❌ | ✅ | No trove classifiers, so set python-versions. Use uv-locked: true. |
| PyPSA | snakemake-storage-plugin-cached-http | Python package | ✅ library | ⚠️ | ❌ | ✅ | ✅ | Publishing starts from a GitHub release today. Switch to the tag-push trigger. |
| PyPSA | snakemake-logger-plugin-pypsa | Python package | ⚠️ library | ⚠️ | ❌ | ✅ | ✅ | Has no tests yet. Its version is fixed in pyproject, so it can differ from the tag. |
| energy-models | datarecord | Python package (pixi) | ✅ project | ⚠️ | ❌ | ❌ | ✅ | Its build sets the version with sed. Needs hatch-vcs or a prepare-command. |
| energy-models | mathspec | Python package (pixi) | ✅ project | ⚠️ | ❌ | ❌ | ✅ | Release starts from a push to main. Call release.yml with tag and github-release: false. |
Notes for all repos
- No repo uses shared workflows yet. Each repo has its own copy of its CI, except grid-builder, which uses the Modelblocks template.
- Codecov: PyPSA, linopy, atlite and pypsa-app upload with
CODECOV_TOKENtoday. Turn on OIDC uploads in Codecov before the switch. - Release bot: repos with
prepare-commandneed areleaseenvironment with the secretPYPSA_BOT_PRIVATE_KEY. - Secrets: the workflows accept
CDSAPI_KEY,EARTHDATAHUB_API_KEY,MOSEKLM_LICENSE_FILEandGUROBI_LIC. Map a repo secret with another name in the call. - Benchmarks: only linopy has a benchmark suite (CodSpeed).
- link-check.yml fits every repo. It is the lowest-risk first step for adoption.
- Ngôn ngữ chính
- Python
- Star
- 1
- Fork
- 1
- Merge trung bình
- 1 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Rose22/openlumara#166 ·
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 2 ngày
-
enhancement feature/signals self-driving team/self-driving
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
PostHog/posthog#144208 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue help wanted tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
LMPrado-DZ23/open_notas_br#14 ·
Maintainer thường phản hồi trong vòng 1 ngày