Action plan: order of execution for the ecosystem roadmap and strict self-validation
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 25/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- github-actions, python
- Domaine
- build-system, tooling
Piste de recherche
Start with the linked roadmap issue #105 and the listed prerequisite issues to understand the planned ecosystem and practice work. The roadmap names its validation entry points, including tests/test_ecosystem_contract.py, tests/test_documentation.py, and tests/test_architecture.py; read the relevant contract before taking on a single step. A step is done when its stated repository requirements are met and its pull request passes all listed gates, including strict self-validation.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
The order in which the planned work is done, and the rules every step follows. #105 lists the same work by kind; this issue says what comes next.
Rules for every step
- This project validates itself strictly. CI runs
project-validator --strict --exclude tests/fixtures ., so a warning fails the build. A new check that applies to this project (to Python, or to every project) lands in the same pull request as whatever this repository needs in order to pass it. Each step below says what that is. - One pull request per step, with all gates green:
python -W error -m unittest, ruff check and format, mypy, branch coverage ≥ 95%, lizard, jscpd, and self-validation. - A new ecosystem is one profile module and two fixtures, held to them by
tests/test_ecosystem_contract.py. Nothing inproject_validator/checks/changes for it. The README's "Applies to" column follows from the registry (tests/test_documentation.py). - A new practice is a rule type in
project_validator/rules.pyand one check, which must not import a profile or name a language (tests/test_architecture.py). Each existing profile then supplies its rule, or the check reportsSKIPfor it. - Binary hardening means what the build inserts into a binary (#61). Static analysis counts toward
security-scanning, and dependency audits towarddependency-audit.
Phase 0: land the ecosystem work and make self-validation strict
- Fix the formatting job on #106. ruff 0.17 formats Python code blocks in Markdown and failed on the README's Zig plugin example; fixed in ea084e1.
- Pin the tools CI installs. Every Python tool is pinned in
.github/requirements/, and Dependabot keeps the pins current. jscpd is pinned in the workflow, because Dependabot does not update versions given to npx (f27146b). - Run pip-audit in CI. The
dependency auditworkflow audits the project's dependencies and the tools CI installs, on every change and weekly (f27146b). - Make self-validation strict:
project-validator --strict --exclude tests/fixtures .(f27146b). - Bring #105 up to date: it lists the checks that already grow with each profile, and links this issue.
- Merge #106 (
ecosystem-profiles). Its description lists the breaking changes. - Not our problem for now: GitHub is having trouble provisioning macOS runners, so macOS jobs are sometimes cancelled before they start (runs 41878897566 and 41874288899). We ignore those cancellations.
Phase 1: core prerequisites
Several profiles cannot be built until these land. Done in the core-detection pull request (477a85e).
- #62 build files by pattern. Needed by .NET, Ruby, Swift (Xcode), Haskell, OCaml, Lua, Common Lisp and Docker (
*.Dockerfile). - #63 detection by content, and ambiguous suffixes. Needed by R, Julia, Perl, Fortran, Shell, every data and schema profile, Kubernetes and Ansible.
- #64
--maplists file suffixes no ecosystem recognises.
Phase 2: checks for every project
One stacked pull request per check, to merge in this order: #109 → #110 → #111 → #112 → #113 → #114 → #115 → #116.
These are cheap, and each raises the bar for this repository too.
- #84
data-wellformed(#109). This repository passes already, as long as fixtures that are broken on purpose stay excluded. - #99
license(#110). Passes already (LICENSE.txt). - #104
large-files(#111). Passes already. - #100
security-policy(#112). This repository needs aSECURITY.md(GitHub private vulnerability reporting is enough). - #101
ci-lint(#113). This repository needs actionlint (and zizmor) in CI. - #102
action-pinning(#114). This repository must pin every action to a commit SHA, e.g.actions/checkout@<sha> # v7. Dependabot already updates SHA pins. - #103
secret-scanning(#115). This repository needs gitleaks (or another scanner) in CI. - #58
status-badges(#116). Passes already (CI and Codecov badges in the README).
Phase 3: the practices most profiles refer to
Profile issues list these as later rows. Doing them before the language waves means each new profile supplies their rules once, instead of every profile being revisited.
- #56
committed-artifacts(#119). Extends theBuildOutputsrule thatvcs-ignorealready uses, so every profile gets both checks from one rule. Passes here. - #24
dependency-management(#122). Brings back hash-checked Python dependencies. Decided: this project locks its development tools:.github/requirements/*.txtare compiled withpip-compile --generate-hashesand installed with--require-hashes. - #13
static-analysis(#120). Passes here (ruff check). - #57
type-checking(#121). Passes here (strict mypy).
Phase 4: languages, wave 1
- #65 JavaScript/TypeScript
- #66 JVM (Java and Kotlin, with Maven and Gradle)
- #69 PHP
- #68 Ruby (needs #62)
- #67 .NET (needs #62; research its hardening rule before writing one)
- #70 Swift (needs #62 for Xcode; confirm whether its coverage can report branches)
Phase 5: the remaining practices
- #10
sanitizers. Python is skipped. - #16
fuzz-testing. Decide first: it applies to Python, and this repository has no fuzz tests. Either fuzz its parsers (CI files, YAML) with atheris, run in CI only so the Dependency Policy holds, or treat property-based tests as enough here. - #21
build-tool-version. Python has no rule (a minimum interpreter waslanguage-standard, #19, closed as not planned), so this repository is skipped. - #30
packaging. Passes here (pyproject.tomlwith[build-system]); building a wheel in CI is a bonus. - #31
build-cache. This repository needscache: piponactions/setup-python. - #60 mutation testing. This repository needs a mutmut job, which can run on a pull request's changes only.
- C/C++ only, any time: #18
out-of-source-build, #23compile-commands, #25top-level-guard, #27constexpr-tests.
Phase 6: languages, wave 2
- #73 Elixir/Erlang
- #75 Scala (reuses the JVM profile's JDK patterns)
- #76 Dart/Flutter (confirm its coverage granularity)
- #71 Lua (needs #62)
- #72 Haskell (needs #62)
- #74 OCaml (needs #62)
- #77 R (needs #63)
- #78 Julia (needs #63)
- #80 Perl (needs #63)
- #79 Zig: first move the plugin tests and the README's "Adding an ecosystem" example to a language with no planned built-in profile.
- #81 Fortran: decide first how CMake and Meson are shared between the C/C++ and Fortran profiles.
- #83 Lisp family (needs #62 for Common Lisp)
- #82 Shell and PowerShell: decide first when helper scripts make a project a shell project. This repository has no shell scripts today.
Phase 7: data, schemas and documents
- #85 schema practices and the JSON Schema profile (needs #63)
- #86 XML
- #87 OpenAPI/AsyncAPI
- #88 Protobuf
- #89 GraphQL
- #90 Jupyter notebooks
- #91 documentation sites
- #92 SQL, tabular data, LaTeX and Typst
Phase 8: infrastructure
- #93 Terraform/OpenTofu
- #94 Docker (needs #62)
- #95 Helm/Kubernetes (needs #63)
- #96 Ansible (needs #63)
- #97 Nix
- #98 GitHub Action repositories
Decisions needed
Each blocks only its own step:
- #24: are libraries exempt from committing a lockfile?
- #16: how does this repository meet fuzz-testing?
- #81: are CMake and Meson shared between profiles?
- #82: when do shell scripts make a project a shell project?
- #67: what is binary hardening for .NET (native AOT,
<CetCompat>)? - #70 and #76: do Swift's and Dart's coverage tools report branches?
- Langage dominant
- Python
- Étoiles
- 4
- Forks
- 1
- Merge moyen
- 10 h 41 min
- PR mergées (30 j)
- 79
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de cpp-best-practices/project_validator
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
cpp-best-practices/project_validator#267 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
cpp-best-practices/project_validator#263 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
cpp-best-practices/project_validator#260 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
cpp-best-practices/project_validator#259 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
cpp-best-practices/project_validator#255 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de cpp-best-practices/project_validator
Issues similaires
-
add entry to blockOuverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 65/100
StevenBlack/hosts#3299 ·
-
`garak --report` overwrites the input report when its name has no ".report"Peut-être pris @0z5a l’a pris aujourd’hui. Ouverteneeds-triage
Difficulté 2/5 Une demi-journée Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 2 jours
-
plot_graph crashes when a mesh node has no m2m edgePeut-être pris @tygvi l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
mllam/neural-lam#883 · 1 commentaire ·
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
future-agi/future-agi#4092 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
transcript analytics: a text whose only protected spans the prose pass redacts is withheld wholeOuverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 82/100
WingedGuardian/GENesis-AGI#4641 ·
Les mainteneurs répondent en général sous 1 jour