Check the Cypher spec's copies against their tag in CI
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 57/100
Rechercherichtung
Start by reading scripts/sync_cypher_spec.py and the related check in drivine4j, then inspect how CI is configured in this repository. Add a CI check beside the sync script that compares the copied cases with the spec tag in VERSION and warns when a later tag exists. Done means mismatches fail with guidance to sync, newer tags emit a GitHub Actions warning, and the check runs in CI; the issue says this lands with or after compiler port #60.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Port of liberation-data/drivine4j#172.
The Cypher spec's cases are copied from a tag of drivine-cypher-spec into tests/cypher, unchanged, with the tag recorded in VERSION beside them, by scripts/sync_cypher_spec.py. Nothing checks either half: a case edited here and never sent to the spec, or a library left on an old tag, goes unnoticed.
drivine4j now runs scripts/check-cypher-spec.sh as a CI job of its own. It:
- fails when a copied file differs from the spec at the tag
VERSIONnames, saying to change the spec, tag it and sync; - warns (a GitHub Actions
::warning::, not a failure) when the spec has a later tag (git ls-remote --tags), naming the sync command for it.
It reads the spec's public tarball and tags, so it needs no token.
The same check here, beside scripts/sync_cypher_spec.py, run in CI. The copies and the sync script come with the compiler port (#60), so this lands with it or after it.
- Vorherrschende Sprache
- Python
- Sterne
- 1
- Forks
- 0
- Ø Merge
- 1 Std. 21 Min.
- Gemergte PRs (30 T.)
- 128
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus liberation-data/drivine-python
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
liberation-data/drivine-python#250 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
liberation-data/drivine-python#209 ·
Maintainer antworten meist innerhalb von 1 Tag
-
CI: three Oracle-only tests in test_cypher_compiled.py never run, as -k oracle doesn't select themOffen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
liberation-data/drivine-python#178 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
liberation-data/drivine-python#280 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 68/100
liberation-data/drivine-python#279 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in liberation-data/drivine-python
Ähnliche Issues
-
enhancement help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Git-Hospital/githealthcheck#61 ·
Maintainer antworten meist innerhalb von 1 Tag
-
changelog investigate
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
ramnes/notion-sdk-py#433 ·
-
Partial method descriptors raise on class accessEvtl. vergeben @Gambit-Checkmate hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 19 Tagen
-
docs pkg:core
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 84/100
pydantic/pydantic-ai#11929 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
intake/intake-esm#789 ·