[iobroker-bot] Add license information to io-package.json #370
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.
German description can be found below
Deutsche Beschreibung weiter unten
General information
This PR has been created by iobroker-bot. Please review the changes carefully and merge the PR if the review is ok.
Feel free to contact me (@ioBroker-Bot) if you have any questions or feel that a PR is faulty. Please open an issue at repository https://github.com/ioBroker/ioBroker.repochecker to report a faulty PR.
And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.
your
ioBroker Check and Service Bot
@mcm1957 for evidence
Changes provided by this PR
This PR fixes the warning [W1081] Attribute common.licenseInformation is missing in io-package.json reported by the ioBroker repository checker.
Background
The
common.licenseInformationattribute inio-package.jsonprovides structured information about the adapter's license. This replaces the oldercommon.licenseattribute with a more detailed object structure.The new format allows for better license management and includes:
Setting this attribute ensures that license information is properly structured and easily accessible for users and the ioBroker system.
More information about io-package.json attributes can be found in the ioBroker documentation.
Changes
This PR replaces the
common.licenseattribute inio-package.jsonwith the newcommon.licenseInformationobject structure:The license value is taken from:
common.licenseattribute inio-package.json, orlicenseattribute inpackage.jsonifcommon.licensedoesn't existDeutsche Beschreibung
Allgemeine Informationen
Dieser PR wurde von iobroker-bot erstellt. Bitte die Änderungen sorgfältig prüfen und den PR bei erfolgreicher Prüfung mergen.
Bei Fragen oder falls ein PR fehlerhaft erscheint, bitte mich (@ioBroker-Bot) kontaktieren. Bitte ein Issue im Repository https://github.com/ioBroker/ioBroker.repochecker öffnen, um einen fehlerhaften PR zu melden.
Und VIELEN DANK für die Pflege dieses Adapters von mir und allen Nutzern.
Gemeinsam für die beste Benutzererfahrung arbeiten.
Euer
ioBroker Check and Service Bot
@mcm1957 zur Kenntnisnahme
Durch diesen PR bereitgestellte Änderungen
Dieser PR behebt die Warnung [W1081] Attribute common.licenseInformation is missing in io-package.json, die vom ioBroker Repository Checker gemeldet wurde.
Hintergrund
Das Attribut
common.licenseInformationin derio-package.jsonstellt strukturierte Informationen über die Lizenz des Adapters bereit. Dies ersetzt das ältere Attributcommon.licensedurch eine detailliertere Objektstruktur.Das neue Format ermöglicht eine bessere Lizenzverwaltung und umfasst:
Das Setzen dieses Attributs stellt sicher, dass Lizenzinformationen ordnungsgemäß strukturiert und für Benutzer und das ioBroker-System leicht zugänglich sind.
Weitere Informationen zu io-package.json-Attributen finden sich in der ioBroker-Dokumentation.
Änderungen
Dieser PR ersetzt das Attribut
common.licensein derio-package.jsondurch die neue Objektstrukturcommon.licenseInformation:Der Lizenzwert wird entnommen aus:
common.licensein derio-package.json, oderlicensein derpackage.json, fallscommon.licensenicht existiertTemplate: W1081-addLicenseInformation