Check the Cypher spec's copies against their tag in CI
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 57/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Python
- Étoiles
- 1
- Forks
- 0
- Merge moyen
- 1 h 16 min
- PR mergées (30 j)
- 74
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 liberation-data/drivine-python
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
liberation-data/drivine-python#154 ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
liberation-data/drivine-python#152 ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
liberation-data/drivine-python#150 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
liberation-data/drivine-python#138 ·
Les mainteneurs répondent en général sous 1 jour
-
Cypher on SQL stores: all(), any(), none() and single() are two-valued where the predicate is nullOuverte
Difficulté 4/5 3-5 jours Accessibilité débutants 55/100
liberation-data/drivine-python#159 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de liberation-data/drivine-python
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
UKGovernmentBEIS/optstop#10 ·
-
maintenance
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
pollen-robotics/reachy_mini#1508 ·
Les mainteneurs répondent en général sous 1 jour
-
[BUG] `cloud-keys.env` values retain enclosing quotes causing 401 Unauthorized, and missing utf-8 encoding crashes on WindowsPeut-être pris @divyanshu07-code l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 77/100
open-jarvis/OpenJarvis#1192 · 1 commentaire ·
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
sylvainmetayer/homelab#851 ·
Les mainteneurs répondent en général sous 1 jour