Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Remove superfluous and broken manifest file#133

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
aentinger merged 1 commit intoarduino-libraries:masterfromper1234:remove-library.json
Apr 25, 2022
Merged

Remove superfluous and broken manifest file#133

aentinger merged 1 commit intoarduino-libraries:masterfromper1234:remove-library.json
Apr 25, 2022

Conversation

per1234
Copy link

library.json is PlatformIO's native library manifest file but Arduino'slibrary.properties is also supported by PlatformIO:

https://docs.platformio.org/en/latest/librarymanager/creating.html#creating-library

Thelibrary.json file was missing the requiredversion field:

https://docs.platformio.org/en/latest/librarymanager/config.html#version

Although it could be added, experience with other libraries (arduino-libraries/NTPClient#152) indicates that it is not really realistic to expect two manifest files to be properly maintained.

Sincethe Arduino development software and theArduino Library Manager requirelibrary.properties, if there is to be only one then it must belibrary.properties that is kept andlibrary.json that is removed.

`library.json` is PlatformIO's native library manifest file but Arduino's `library.properties` is also supported byPlatformIO:https://docs.platformio.org/en/latest/librarymanager/creating.html#creating-libraryThe `library.json` file was missing the required `version` field:https://docs.platformio.org/en/latest/librarymanager/config.html#versionAlthough it could be added, experience with other libraries indicates that it is not really realistic to expect twomanifest files to be properly maintained.Since the Arduino development software and the Arduino Library Manager requires `library.properties`, if we are to haveonly one the choice of keeping `library.properties` and removing `library.json` is clear.
@per1234per1234 added type: imperfectionPerceived defect in any part of project topic: infrastructureRelated to project infrastructure labelsApr 9, 2022
Copy link

@aentingeraentinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM 👍 Thank you@per1234 🚀

@aentingeraentinger merged commitb7fe7f7 intoarduino-libraries:masterApr 25, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@aentingeraentingeraentinger approved these changes

@RocketctRocketctAwaiting requested review from Rocketct

Assignees
No one assigned
Labels
topic: infrastructureRelated to project infrastructuretype: imperfectionPerceived defect in any part of project
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@per1234@aentinger

[8]ページ先頭

©2009-2025 Movatter.jp