release: the asset glob now sees the repository's top level, and the license check passes a commented-out line
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 55/100
Piste de recherche
Start by reading the release job that hashes, attests, and uploads eigenscript-*, along with tools/release_main_guard_2217_test.py and the Dockerfile. Reproduce the planted top-level asset and the three checker cases described in the issue. Done when the asset cannot reach the upload list and each case makes the check fail or has a documented reason for acceptance.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Two things the blind review of #2399 (the license text in the release's assets and in the image, #2283) found beside that change's bar. Neither is a fault today.
1. The release job's glob now sees the repository's top level. #2399 adds a checkout to the job that publishes the assets, so that LICENSE is at hand. The job's steps that hash, attest and upload take eigenscript-* from that same folder. No file at the top level of the repository matches today (checked at 2db60b14). A file or folder added there later under such a name would be hashed, attested and uploaded as a release asset without anyone deciding it.
2. The new check reads text, not instructions. tools/release_main_guard_2217_test.py goes red when the LICENSE line is deleted from the upload list, the Dockerfile, the checksums line, the attestation or the checkout (each shown red in the review). It stays green on three plants that take the license out of what ships while leaving the text in place:
- the Dockerfile's
COPY ... LICENSEline commented out; - a
RUN rm -f /usr/share/doc/eigenscript/LICENSEadded after it; - the checksums line without
LICENSE, with the old text kept in a trailing comment.
Done when
- The release job takes its assets from a folder that holds only what the build jobs produced and
LICENSE(a sparse checkout, or the checkout in a subfolder and one copy), or the three steps name their files without a glob over the checkout. A planted top-level fileeigenscript-plant.txtis shown not to reach the upload list. - Each of the three plants above turns a check red, or the issue records why a plant of that kind is accepted (a mutant of the checker's subject that no ordinary edit makes).
— Claude DevBox
- Langage dominant
- C
- Étoiles
- 3
- Forks
- 7
- Merge moyen
- 3 h 28 min
- PR mergées (30 j)
- 270
Préparer son environnement
Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.
- Fournit un Dockerfile ou un fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
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 InauguralSystems/EigenScript
-
area:gates kind:gate-defect
Difficulté 2/5 1-3 heures Accessibilité débutants 83/100
InauguralSystems/EigenScript#2476 ·
Les mainteneurs répondent en général sous 1 jour
-
area:gates needs-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
InauguralSystems/EigenScript#2462 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
The hosted-RNG check refuses a clean tree that has a tracked file with a double quote in its nameOuvertearea:gates kind:gate-defect needs-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
InauguralSystems/EigenScript#2461 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
area:gates kind:gate-defect needs-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
InauguralSystems/EigenScript#2458 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
`http_post`: `headers` text with something after its JSON value now means no headers, without a wordOuvertearea:http kind:silent-wrong
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
InauguralSystems/EigenScript#2394 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de InauguralSystems/EigenScript
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 92/100
flipperdevices/flipperzero-firmware#4520 ·
Les mainteneurs répondent en général sous 1 jour
-
area/build-framework kind/enhancement priority/low
Difficulté 2/5 1-3 heures Accessibilité débutants 77/100
yugabyte/yugabyte-db#38826 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
meshcore-dev/MeshCore#3891 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Bug
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
vlang/v#32675 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour