Skip to content

docs(history-rewrite) : retirer .trivyignore de tout l'historique - #457

Merged
jencryzthers merged 3 commits into
mainfrom
docs/rewrite-plan-trivyignore
Oct 14, 2026
Merged

jencryzthers merged 3 commits into
mainfrom
docs/rewrite-plan-trivyignore

Conversation

@jencryzthers

@jencryzthers jencryzthers commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Contexte

Le fichier public .trivyignore lui-même doit disparaître de tout l'historique réécrit. Ses entrées passent dans un fichier privé injecté par la CI, via une PR séparée fusionnée avant la réécriture.

Changement

docs/history-rewrite-plan.md seulement :

  • étape 2 : une passe git filter-repo --invert-paths --path .trivyignore retire toutes les versions passées du fichier de chaque ref réécrit ;
  • précondition : aucune réécriture tant que des entrées .trivyignore sont sur main ; la PR de migration doit être fusionnée et le contrôle Trivy (build et publication) vérifié avec le fichier privé seul ;
  • checklist : deux cases (précondition, retrait vérifié).

Preuve

  • Diff : 1 fichier, ajouts seulement.
  • Recherche sur les lignes ajoutées : aucun identifiant de vulnérabilité, aucun nom de dépôt privé, aucun identifiant d'infrastructure, aucune URL, aucun nom de secret.
  • Dry-run local sur un clone miroir jetable (rien poussé, remote retiré par filter-repo) : 4 commits touchaient .trivyignore avant, 0 commit et 0 blob après.

@jencryzthers
jencryzthers marked this pull request as ready for review October 14, 2026 12:25
@jencryzthers
jencryzthers merged commit 3434148 into main Oct 14, 2026
10 of 12 checks passed
@jencryzthers
jencryzthers deleted the docs/rewrite-plan-trivyignore branch October 14, 2026 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant