Repository navigation
feat(#30): licence GPL-3.0-or-later et règle de version du socle - #34
Merged
Merged
Conversation
This was referenced Oct 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #30
Résumé
LICENSE: texte officiel de la GPLv3 (celui que GitHub reconnaît commeGPL-3.0).pyproject.toml:license = "GPL-3.0-or-later"; version0.0.0inchangée (modèle).# SPDX-License-Identifier: GPL-3.0-or-laterdans tous les fichiers descripts/ettests/(après le shebang).SOCLE.md§1 « Licence et version » : GPL-3.0-or-later par défaut ; exceptions intégrations Home Assistant (MIT), IAO (MIT, origine), Gcm4 (code amont en GPL-3.0 seule), forks ; nouvelle règle de version (pyproject.tomlsource de vérité,package.json/manifest.jsonalignés, tagvX.Y.Zau commit de release).scripts/audit_socle.py) : le contrôle « licence » attendGPL-3.0. Une exception peut désormais être un objet{"spdx": "MIT", "raison": …}: la licence est alors vérifiée (une intégration HA sans licence ou en GPL est signalée), au lieu d'être seulement assumée.audit-exceptions.json: exceptions MIT des 6 intégrations HACS (Atmo-Qualite-Air, Besancon-Emoi, Ginko-Trafic, Tarif-Eau, Tarif-Energie, Vigicrues) et d'IAO ; raisons de Gcm4 et AsyncVnc4 mises à jour.README.md,CONTRIBUTING.md,profile/README.md: mention de la licence mise à jour.PULL_REQUEST_TEMPLATE.mdne parle pas de licence.Testé
make test: 135 tests verts, couverture 100 % (lignes et branches) ; 5 nouveaux tests de l'audit (MIT non conforme par défaut, exception MIT vérifiée et non respectée, objet sansspdx, contenu deaudit-exceptions.json).yamllint --strict,py_compile scripts/*.py.Limites
modele-depot(§10) :LICENSE,pyproject.toml,scripts/check_branch_protection.pyettests/test_check_branch_protection.pysont partagés. Ils différeront jusqu'à la PR de modele-depot#15, qui reprendra exactement les mêmes contenus.LICENSE: la différence repose sur les métadonnées et les en-têtes SPDX.