-
Notifications
You must be signed in to change notification settings - Fork 66
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix project and build versions #645
Conversation
WalkthroughThe changes involve updating the version information for the IoTivity-lite project across multiple files. The project version in Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
🎉 Thank you for your code contribution! To guarantee the change/addition is conformant to the OCF Specification, we would like to ask you to execute OCF Conformance Testing of your change ☝️ when your work is ready to be reviewed. ℹ️ To verify your latest change (e331753), label this PR with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Outside diff range and nitpick comments (2)
port/linux/Makefile (2)
9-14
: LGTM! Consider adding a VERSION_FULL variable.The new versioning scheme is well-structured and follows semantic versioning principles. It allows for easier management of version components.
Consider adding a
VERSION_FULL
variable that includes all components, which could be useful for display purposes:VERSION_FULL = $(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_PATCH).$(VERSION_BUILD) VERSION = $(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_PATCH)This way,
VERSION
follows the more common three-component format, whileVERSION_FULL
includes the build number.
9-14
: Summary: Version management improvementsThe changes to the Makefile improve version management by breaking down the version into separate components (MAJOR, MINOR, PATCH, BUILD) and providing a clear structure for the VERSION variable. This approach aligns with semantic versioning principles and should make it easier to manage version updates in the future.
Consider the following points:
- Ensure that any scripts or processes that rely on the version number are updated to handle the new four-component format.
- Update any documentation that references the version number to reflect this new structure.
- If there are any release processes or CI/CD pipelines that use this Makefile, make sure they are compatible with the new versioning scheme.
These changes lay a good foundation for more structured version management, which can be beneficial for release tracking and dependency management in the long run.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (3)
- CMakeLists.txt (1 hunks)
- include/oc_build_info.h (1 hunks)
- port/linux/Makefile (1 hunks)
✅ Files skipped from review due to trivial changes (1)
- CMakeLists.txt
🔇 Additional comments not posted (4)
include/oc_build_info.h (3)
33-33
: LGTM: Version build number updated correctly.The IOTIVITY_LITE_VERSION_BUILD has been incremented from 13 to 15, which is consistent with the PR objectives.
40-40
: LGTM: Hexadecimal version number updated correctly.The IOTIVITY_LITE_VERSION hexadecimal representation has been updated to 0x0202050F, which correctly reflects the new version 2.2.5.15.
41-41
: LGTM: Version string updated correctly.The IOTIVITY_LITE_VERSION_STRING has been updated to "2.2.5.15", which is consistent with the new version number.
port/linux/Makefile (1)
9-14
: Verify VERSION usage throughout the MakefileThe VERSION variable has been updated to include all four components (MAJOR.MINOR.PATCH.BUILD). Please ensure that all uses of VERSION throughout the Makefile are still valid with this new format.
Run the following script to check all occurrences of VERSION usage:
If any occurrences are found where the new VERSION format might cause issues, please review and update them accordingly.
✅ Verification successful
VERSION Usage Verified Successfully
All occurrences of the
VERSION
variable inport/linux/Makefile
have been updated correctly and are compatible with the new VERSION format.🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Check all occurrences of VERSION usage in the Makefile # Test: Search for VERSION usage rg '\$\(VERSION\)' port/linux/Makefile # Test: Search for VERSION assignment rg '^VERSION\s*=' port/linux/MakefileLength of output: 257
Quality Gate passedIssues Measures |
No description provided.