Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Check the Cypher spec's copies against their tag in CI

Offen
#72 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

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
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
git, github-actions, python
Bereich
ci-cd, testing

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 VERSION names, 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

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus liberation-data/drivine-python

Alle Issues in liberation-data/drivine-python

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.