Repository navigation
chore(#105): licence GPL-3.0-or-later, paquets .deb et .rpm - #108
Merged
Merged
Conversation
5 tasks
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 #105
Résumé
LICENSE: le texte MIT provisoire est remplacé par le texte officiel de la GPLv3 ;pyproject.tomldéclarelicense = "GPL-3.0-or-later"..py,.sh,install.sh,src/switch-capture,postinst,postrm, et/* ... */dansswitch-capture-taphelper.c. Ils sont placés après le shebang s'il y en a un.License: GPL-3.0-or-laterremplaceProprietary;%license LICENSEdans%files, avecLICENSEcopié dans le tarball parbuild_rpm.sh.packaging/debian/copyrightau format DEP-5 (GPL-3+), installé dans/usr/share/doc/switch-capture/copyrightparbuild_deb.sh, qui vérifie aussi sa présence.tests/test_licence.py: 6 tests (LICENSE, pyproject, spec RPM, copyright Debian, alignement des trois versions pyproject/control/spec, en-têtes SPDX).Dépendances (PyPI)
netmiko MIT ; paramiko LGPL-2.1 ; scp LGPL-2.1-or-later ; PyYAML et loguru MIT ; keyring (optionnelle) MIT ; pykeepass (optionnelle) GPL-3.0. Toutes sont compatibles avec la GPLv3.
Testé
ruff check .etruff format --check .: OK.pytesthors GTK : 757 tests passent, 14 ignorés (GTK). En local, la couverture combinée avec le job gtk n'est pas mesurable (PyGObject ne se construit pas), la CI s'en charge.audit_debug_sorties: 0.packaging/build_deb.shlancé en local : le.debcontient bienusr/share/doc/switch-capture/copyright.rpmbuildn'est pas disponible ici.Limites
v1.0.0n'est pas créé. Il viendra au commit de release surmain.src/locale/switch-capture.potétaient déjà décalées avant cette PR (par exempleswitch_capture_cli.py:282pour une chaîne qui se trouve ligne 311), et aucune vérification ne les contrôle. Elles ne sont pas régénérées ici, ce qui reste un sujet à part.URL:du spec (https://example.invalid/...) etMaintainer:du control (@example.com) restent des valeurs provisoires, hors du périmètre de la licence.