KDAB / knut

Knut is an automation tool for code transformation using scripts.
Other
5 stars 8 forks source link

feat: fix some reuse lint problem #75

Open Montel opened 6 days ago

Montel commented 6 days ago
 reuse lint
# MAUVAISES LICENCES

'LicenseRef-Slint-commercial' trouvé dans :
* src/gui/gui/slint.xml

# LICENCES MANQUANTES

'BSD-3-Clause' trouvé dans :
* .clangd
* .clazy
* .codespellrc
* .gitattributes
* .github/workflows/documentation.yml
* .gitignore
* .gitmodules
* .pre-commit-config.yaml
'LicenseRef-Slint-commercial' trouvé dans :
* src/gui/gui/slint.xml

# INFORMATION DE DROITS D'AUTEUR ET DE LICENCE MANQUANTE

Les fichiers suivants ne contiennent pas de données de droits d'auteur et de licence :
* 3RDPARTY.md
* 3rdparty/.clang-format
* 3rdparty-kdab/CMakeLists.txt
* CMakePresets.json
* cmake/CheckSubmodule.cmake
* cmake/InstallDependency.cmake
* docs/API/script/action.md
* docs/API/script/asset.md
* docs/API/script/classsymbol.md
* docs/API/script/codedocument.md
* docs/API/script/cppdocument.md
* docs/API/script/dataexchange.md
* docs/API/script/dataexchangeentry.md
* docs/API/script/dir.md
* docs/API/script/document.md
* docs/API/script/file.md
* docs/API/script/fileinfo.md
* docs/API/script/functionargument.md
* docs/API/script/functionsymbol.md
* docs/API/script/mark.md
* docs/API/script/menu.md
* docs/API/script/menuitem.md
* docs/API/script/message.md
* docs/API/script/messagemap.md
* docs/API/script/messagemapentry.md
* docs/API/script/project.md
* docs/API/script/qdirvaluetype.md
* docs/API/script/qfileinfovaluetype.md
* docs/API/script/qttsdocument.md
* docs/API/script/qttsmessage.md
* docs/API/script/qtuidocument.md
* docs/API/script/qtuiwidget.md
* docs/API/script/querycapture.md
* docs/API/script/querymatch.md
* docs/API/script/rangemark.md
* docs/API/script/rcdocument.md
* docs/API/script/ribbon.md
* docs/API/script/ribboncategory.md
* docs/API/script/ribboncontext.md
* docs/API/script/ribbonelement.md
* docs/API/script/ribbonmenu.md
* docs/API/script/ribbonpanel.md
* docs/API/script/script.md
* docs/API/script/scriptdialog.md
* docs/API/script/settings.md
* docs/API/script/shortcut.md
* docs/API/script/string.md
* docs/API/script/symbol.md
* docs/API/script/textdocument.md
* docs/API/script/textlocation.md
* docs/API/script/textrange.md
* docs/API/script/toolbar.md
* docs/API/script/toolbaritem.md
* docs/API/script/userdialog.md
* docs/API/script/utils.md
* docs/API/script/widget.md
* docs/API/script.test/testcase.md
* docs/API/script.test/testutil.md
* docs/assets/architecture.puml
* docs/assets/overview.puml
* docs/assets/project-classes.puml
* docs/assets/transparentWhiteKDAB.svg
* docs/contributing/architecture.md
* docs/contributing/getting-involved.md
* docs/contributing/unit-tests.md
* docs/getting-started/cli-qtcreator.png
* docs/getting-started/cli.md
* docs/getting-started/gui-historyscript.gif
* docs/getting-started/gui-knut.png
* docs/getting-started/gui-options.png
* docs/getting-started/gui-palette.png
* docs/getting-started/gui-recordscript.gif
* docs/getting-started/gui-transform.png
* docs/getting-started/gui.md
* docs/getting-started/overview-settings.png
* docs/getting-started/overview.md
* docs/getting-started/script-dialog.png
* docs/getting-started/script.md
* docs/getting-started/treesitter.md
* docs/stylesheets/extra.css
* examples/ex_gui_interactive.qml
* examples/ex_gui_interactive.ui
* examples/ex_gui_progressbar.qml
* examples/ex_gui_progressbar.ui
* examples/ex_script_dialog.qml
* examples/ex_script_dialog.ui
* knut.code-workspace
* src/core/core/settings.json
* src/core/core.qrc
* src/core/qml/Script/Test/TestCase.qml
* src/core/qml/Script/Test/qmldir
* src/core/scriptprogressdialog.ui
* src/core/version.cpp.in
* src/core/version.h
* src/gui/apiexecutorwidget.ui
* src/gui/findwidget.ui
* src/gui/gui/application-edit.png
* src/gui/gui/application.png
* src/gui/gui/close.png
* src/gui/gui/content-save.png
* src/gui/gui/default-dialog.ui
* src/gui/gui/delete-sweep.png
* src/gui/gui/eye.png
* src/gui/gui/file-document.png
* src/gui/gui/file.png
* src/gui/gui/folder-open.png
* src/gui/gui/format-letter-case.png
* src/gui/gui/icons/knut-16.png
* src/gui/gui/icons/knut-24.png
* src/gui/gui/icons/knut-256.png
* src/gui/gui/icons/knut-32.png
* src/gui/gui/icons/knut-64.png
* src/gui/gui/lightbulb.png
* src/gui/gui/magnify-minus.png
* src/gui/gui/magnify-plus.png
* src/gui/gui/play.png
* src/gui/gui/rc.xml
* src/gui/gui/regex.png
* src/gui/gui/tile.png
* src/gui/gui/whole-word.png
* src/gui/gui.qrc
* src/gui/interfacesettings.ui
* src/gui/mainwindow.ui
* src/gui/optionsdialog.ui
* src/gui/palette.ui
* src/gui/rctoqrcdialog.ui
* src/gui/rctouidialog.ui
* src/gui/runscriptwidget.ui
* src/gui/shortcutsettings.ui
* src/gui/transformpreviewdialog.ui
* src/gui/treesitterinspector.ui
* src/knut.ico
* src/knut.rc
* src/rcui/rcfileview.ui
* test_data/.clang-format
* test_data/projects/cpp-project/.gitignore
* test_data/projects/cpp-project/main.cpp
* test_data/projects/cpp-project/myobject.cpp
* test_data/projects/cpp-project/myobject.h
* test_data/projects/mfc-tutorial/MFC_UpdateGUI.rc
* test_data/projects/mfc-tutorial/Resource.h
* test_data/projects/mfc-tutorial/TutorialApp.cpp
* test_data/projects/mfc-tutorial/TutorialApp.h
* test_data/projects/mfc-tutorial/TutorialDlg.cpp
* test_data/projects/mfc-tutorial/TutorialDlg.h
* test_data/projects/mfc-tutorial/res/MFC_UpdateGUI.ico
* test_data/projects/mfc-tutorial/res/MFC_UpdateGUI.rc2
* test_data/projects/mfc-tutorial/stdafx.cpp
* test_data/projects/mfc-tutorial/stdafx.h
* test_data/rcfiles/2048Game/res/2048Game.ico
* test_data/rcfiles/2048Game/res/My2048Game.rc2
* test_data/rcfiles/2048Game/res/Toolbar.bmp
* test_data/rcfiles/2048Game/res/Toolbar256.bmp
* test_data/rcfiles/2048Game/res/classview.bmp
* test_data/rcfiles/2048Game/res/classview_hc.bmp
* test_data/rcfiles/2048Game/res/fileview.bmp
* test_data/rcfiles/2048Game/res/fileview_hc.bmp
* test_data/rcfiles/2048Game/res/menuimages.bmp
* test_data/rcfiles/2048Game/res/menuimages_hc.bmp
* test_data/rcfiles/2048Game/res/properties.bmp
* test_data/rcfiles/2048Game/res/properties_hc.bmp
* test_data/rcfiles/2048Game/resource.h
* test_data/rcfiles/accelerators/Accelerators.rc
* test_data/rcfiles/cryEdit/CryEdit.rc
* test_data/rcfiles/dialog/dialog.rc
* test_data/rcfiles/dialog/res/dialog.ico
* test_data/rcfiles/dialog/resource.h
* test_data/rcfiles/luaDebugger/LuaDebugger.rc
* test_data/rcfiles/ribbon/RibbonApplication.rc
* test_data/rcfiles/ribbon/res/ribbon.mfcribbon-ms
* test_data/rcfiles/ribbon/resource.h
* test_data/tst_client/main.cpp
* test_data/tst_client/myobject.cpp
* test_data/tst_client/myobject.h
* test_data/tst_codedocument/ast/header.h.original
* test_data/tst_codedocument/notifyEditorChanges/section.cpp.original
* test_data/tst_codedocument/notifyEditorChanges/section.h
* test_data/tst_cppdocument/addMember/addmember.cpp.expected
* test_data/tst_cppdocument/addMember/addmember.cpp.original
* test_data/tst_cppdocument/addMethodDeclaration/addmethoddecl.cpp.expected
* test_data/tst_cppdocument/addMethodDeclaration/addmethoddecl.cpp.original
* test_data/tst_cppdocument/addMethodDefinition/addmethoddef.cpp.expected
* test_data/tst_cppdocument/addMethodDefinition/addmethoddef.cpp.original
* test_data/tst_cppdocument/blockStartEnd/source.cpp
* test_data/tst_cppdocument/changeBaseClass/myobject.cpp.expected
* test_data/tst_cppdocument/changeBaseClass/myobject.cpp.original
* test_data/tst_cppdocument/changeBaseClass/myobject.h.expected
* test_data/tst_cppdocument/changeBaseClass/myobject.h.original
* test_data/tst_cppdocument/commentSelection/main-01.cpp
* test_data/tst_cppdocument/commentSelection/main-02.cpp
* test_data/tst_cppdocument/commentSelection/main-03.cpp
* test_data/tst_cppdocument/commentSelection/main-04.cpp
* test_data/tst_cppdocument/commentSelection/main-05.cpp
* test_data/tst_cppdocument/commentSelection/main-06.cpp
* test_data/tst_cppdocument/commentSelection/main-07.cpp
* test_data/tst_cppdocument/commentSelection/main-08.cpp
* test_data/tst_cppdocument/commentSelection/main-no-change.cpp
* test_data/tst_cppdocument/commentSelection/main.cpp
* test_data/tst_cppdocument/deleteMethod/myobject.cpp.expected
* test_data/tst_cppdocument/deleteMethod/myobject.cpp.original
* test_data/tst_cppdocument/deleteMethod/myobject.h.expected
* test_data/tst_cppdocument/deleteMethod/myobject.h.original
* test_data/tst_cppdocument/forwardDeclaration/header-guard.h.expected
* test_data/tst_cppdocument/forwardDeclaration/header-guard.h.original
* test_data/tst_cppdocument/forwardDeclaration/header-pragma.h.expected
* test_data/tst_cppdocument/forwardDeclaration/header-pragma.h.original
* test_data/tst_cppdocument/forwardDeclaration/header.h.expected
* test_data/tst_cppdocument/forwardDeclaration/header.h.original
* test_data/tst_cppdocument/insertCodeInMethod/myobject.cpp.expected
* test_data/tst_cppdocument/insertCodeInMethod/myobject.cpp.original
* test_data/tst_cppdocument/insertCodeInMethod/myobject.h
* test_data/tst_cppdocument/insertRemoveInclude/guards.h.expected
* test_data/tst_cppdocument/insertRemoveInclude/guards.h.original
* test_data/tst_cppdocument/insertRemoveInclude/include.cpp.expected
* test_data/tst_cppdocument/insertRemoveInclude/include.cpp.original
* test_data/tst_cppdocument/insertRemoveInclude/include.h.expected
* test_data/tst_cppdocument/insertRemoveInclude/include.h.original
* test_data/tst_cppdocument/insertRemoveInclude/pragma.h.expected
* test_data/tst_cppdocument/insertRemoveInclude/pragma.h.original
* test_data/tst_cppdocument/message_map/TutorialDialogWithNamespace.cpp
* test_data/tst_cppdocument/message_map/TutorialDlg.cpp.expected
* test_data/tst_cppdocument/message_map/TutorialDlg.cpp.original
* test_data/tst_cppdocument/message_map/afx_msg_declaration.h.expected
* test_data/tst_cppdocument/message_map/afx_msg_declaration.h.original
* test_data/tst_cppdocument/query/myclass.cpp
* test_data/tst_cppdocument/query/myclass.h
* test_data/tst_cppdocument/toggleSection/section.cpp.expected
* test_data/tst_cppdocument/toggleSection/section.cpp.original
* test_data/tst_cppdocument/toggleSection/section.h
* test_data/tst_dir/a
* test_data/tst_dir/b
* test_data/tst_dir/c
* test_data/tst_dir/x/abc.txt
* test_data/tst_dir/x/data
* test_data/tst_dir/x/def.txt
* test_data/tst_dir/x/hij.data
* test_data/tst_dir/x/klm.data
* test_data/tst_dir/y/foo
* test_data/tst_fileinfo/test.cpp
* test_data/tst_jsontransforms/regexPattern/dot-to-arrow.cpp.expected
* test_data/tst_jsontransforms/regexPattern/dot-to-arrow.cpp.original
* test_data/tst_jsontransforms/regexPattern/dot-to-arrow.json
* test_data/tst_jsontransforms/transformSymbol/dot-to-arrow.json
* test_data/tst_jsontransforms/transformSymbol/main.cpp.expected
* test_data/tst_jsontransforms/transformSymbol/main.cpp.original
* test_data/tst_jsontransforms/transformSymbol/myobject.h
* test_data/tst_qttsdocument/language.ts
* test_data/tst_qttsdocument/language_context.ts
* test_data/tst_qttsdocument/language_several_contexts.ts
* test_data/tst_qttsdocument/language_several_messages.ts
* test_data/tst_qttsdocument/sourcelanguage.ts
* test_data/tst_qtuidocument/IDD_ABCCOMPILE.ui
* test_data/tst_qtuidocument/IDD_LIGHTING.ui.expected
* test_data/tst_qtuidocument/IDD_LIGHTING.ui.original
* test_data/tst_qtuidocument/MyDialog.ui.expected
* test_data/tst_qtuidocument/MyMainWindow.ui.expected
* test_data/tst_qtuidocument/TutorialDlg.ui
* test_data/tst_rcwriter/IDD_ABCCOMPILE.ui
* test_data/tst_rcwriter/IDD_CHARACTER_EDITOR_AUTO_EVENTS.ui
* test_data/tst_rcwriter/IDD_CHARPANEL_ANIMATION.ui
* test_data/tst_rcwriter/IDD_LIGHTING.ui
* test_data/tst_rcwriter/IDD_PANEL_DISPLAY_STEREO.ui
* test_data/tst_rcwriter/IDD_PANEL_TERRAIN_MODIFY.ui
* test_data/tst_rcwriter/qrc_expected_default.qrc
* test_data/tst_rcwriter/qrc_expected_noalias_onlyexist.qrc
* test_data/tst_settings/knut.json
* test_data/tst_settings/setValue/knut.json.expected
* test_data/tst_settings/setValue/knut.json.original
* test_data/tst_textdocument/edition/loremipsum.txt.expected
* test_data/tst_textdocument/edition/loremipsum.txt.original
* test_data/tst_textdocument/findRegex/findregex.txt.expected
* test_data/tst_textdocument/findRegex/findregex.txt.original
* test_data/tst_textdocument/findReplace/findreplace.txt.expected
* test_data/tst_textdocument/findReplace/findreplace.txt.original
* test_data/tst_textdocument/findReplaceRegexInRange/loremipsum.txt.expected
* test_data/tst_textdocument/findReplaceRegexInRange/loremipsum.txt.original
* test_data/tst_textdocument/indent/indent.txt.expected
* test_data/tst_textdocument/indent/indent.txt.original
* test_data/tst_textdocument/loremipsum_crlf_ansi.txt
* test_data/tst_textdocument/loremipsum_crlf_utf8.txt
* test_data/tst_textdocument/loremipsum_crlf_utf8bom.txt
* test_data/tst_textdocument/loremipsum_lf_utf8.txt
* test_data/tst_treesitter/main-arrow.cpp
* test_data/tst_treesitter/main.cpp
* test_data/tst_treesitter/mfc-TutorialDlg.cpp
* tools/spec2cpp/spec2cpp.qrc
* tools/spec2cpp/specification-3-16.md
* tools/spec2cpp/specification-3-17.json
* version.txt

Les fichiers suivants ne contiennent pas de données de licence :
* .clang-format
* README.md
* docs/index.md
* mkdocs.yml
* qt6.natvis
* test_data/rcfiles/2048Game/2048Game.rc
* test_data/rcfiles/cryEdit/Resource.h
* test_data/rcfiles/luaDebugger/resource.h

# RÉSUMÉ

* Mauvaises licences : LicenseRef-Slint-commercial
* Licences obsolètes : 0
* Licences sans extension de fichier : 0
* Licences manquantes : BSD-3-Clause, LicenseRef-Slint-commercial
* Licences inutilisées : 0
* Licences utilisées : MIT, CC0-1.0, LicenseRef-Slint-commercial, BSD-3-Clause, GPL-3.0-only
* Erreurs de lecture : 0
* Fichiers contenant des données de droits d'auteur : 298 / 587
* Fichiers contenant des données de licence : 290 / 587

Malheureusement, votre projet n'est pas conforme à la version 3.0 de la spécification REUSE :-(

# RECOMMENDATIONS

* Fix bad licenses: At least one license in the LICENSES directory and/or
  provided by 'SPDX-License-Identifier' tags is invalid. They are either not
  valid SPDX License Identifiers or do not start with 'LicenseRef-'. FAQ about
  custom licenses: https://reuse.software/faq/#custom-license
* Fix missing licenses: For at least one of the license identifiers provided by
  the 'SPDX-License-Identifier' tags, there is no corresponding license text
  file in the 'LICENSES' directory. For SPDX license identifiers, you can simply
  run 'reuse download --all' to get any missing ones. For custom licenses
  (starting with 'LicenseRef-'), you need to add these files yourself.
* Fix missing copyright/licensing information: For one or more files, the tool
  cannot find copyright and/or licensing information. You typically do this by
  adding 'SPDX-FileCopyrightText' and 'SPDX-License-Identifer' tags to each
  file. The tutorial explains additional ways to do this:
  <https://reuse.software/tutorial/>