Set-OPS-Public/promo/formation/contrib-01/slides/commit.html
Daniel Allaire b96f7204d6 docs(formation): module C1, contribuer à Set-OPS
Treize diapositives, lues en ligne, pour les membres certifiés de
l'Alliance : pourquoi l'historique dit qui a écrit, aidé et validé ;
bifurcation et demande de fusion ; commits conventionnels et signés
(DCO) ; outil déclaré par Assisted-by, jamais co-auteur ; journal en
fragments ; commit de fusion et rebase ; ce que le hook refuse ;
aide-mémoire. Source de vérité : CONTRIBUTING.md.

Assisted-by: Claude Code
Signed-off-by: Daniel Allaire <allaire.dan@chezlepro.ca>
2026-11-23 11:21:38 -05:00

11 lines
4.5 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<section id="commit" data-transition="fade" style="background:#131B36;color:#EEF2F8;font-family:'IBM Plex Sans', Arial, sans-serif;padding:128px 128px 160px;display:flex;flex-direction:column;gap:36px">
<div style="display:flex;flex-direction:column;gap:16px">
<p style="font-size:24px;letter-spacing:3px;text-transform:uppercase;color:#4FE3C1;font-weight:600">La forme d’un commit</p>
<h2 style="font-family:'Source Serif 4', Georgia, serif;font-size:68px;font-weight:400;line-height:1.1;color:#EEF2F8">Un titre conventionnel, un corps, des signatures.</h2>
</div>
<div style="display:flex;gap:32px;align-items:stretch"><div style="flex:1.45;display:flex;flex-direction:column;gap:2px;background:#0B1022;padding:30px 32px;border-radius:20px;border-top:6px solid #4FE3C1;font-family:'JetBrains Mono', 'Courier New', monospace;font-size:23px;line-height:1.45"><p style="font-family:'IBM Plex Sans', Arial, sans-serif;font-size:24px;letter-spacing:2px;text-transform:uppercase;color:#4FE3C1;font-weight:600">Un message complet</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">fix(flux): la sonde connectivite mène la poignée TLS</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">&nbsp;</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">Une connexion refermée aussitôt faisait écrire</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">une erreur de poignée à chaque serveur TLS.</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">&nbsp;</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">Assisted-by: Claude Code</p><p style="font-size:23px;color:#EEF2F8;white-space:pre">Signed-off-by: Anne Exemple &lt;anne@exemple.org&gt;</p></div><div style="flex:1;display:flex;flex-direction:column;gap:12px;background:#0B1022;padding:28px 30px;border-radius:20px;border-top:6px solid #56C2FF"><p style="font-size:30px;color:#EEF2F8;font-weight:600">type(portée): description</p><p style="font-size:25px;line-height:1.4;color:#BCC7DA"><b>type</b> : <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">feat</span> <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">fix</span> <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">docs</span> <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">test</span> <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">refactor</span> <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">ci</span> <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">chore</span> <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">perf</span> <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">build</span> <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">style</span> <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">revert</span><br><br><b>portée</b> : le domaine touché (courriel, flux, sauvegarde…)<br><br><b>description</b> : en français, ce qui change ; <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">!</span> après le type marque une rupture</p></div></div>
<p style="font-size:30px;line-height:1.45;color:#BCC7DA;width:1550px">Le corps dit pourquoi, et ce que la mesure a montré. Les trailers ferment le message : l’aide d’un outil s’il y en a eu, puis la signature de l’auteur.</p>
<p style="position:absolute;left:128px;bottom:64px;width:1400px;font-size:24px;color:#8592AD">Set-OPS · Formation · Module C1 — Contribuer à Set-OPS</p>
<p style="position:absolute;right:128px;bottom:64px;width:120px;text-align:right;font-size:24px;color:#8592AD">05</p>
<aside>La forme d’un commit. Le titre suit les commits conventionnels : un type, une portée entre parenthèses, deux-points, puis une description en français. Les types admis sont feat, fix, docs, test, refactor, ci, chore, perf, build, style et revert. La portée nomme le domaine touché : courriel, flux, sauvegarde. Un point d’exclamation après le type marque une rupture. Le corps explique pourquoi, et ce que la mesure a montré. Le message se ferme sur ses trailers : Assisted-by si un outil a aidé, puis Signed-off-by, la signature de l’auteur.</aside>
</section>