-
Notifications
You must be signed in to change notification settings - Fork 3k
Remove FEATURE_STORAGE and all underlying deprecated features #10258
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
Remove FEATURE_STORAGE and all underlying deprecated features #10258
Conversation
@davidsaada, thank you for your changes. |
@@ -1,6 +1,6 @@ | |||
{ | |||
"test_target": { | |||
"expected_features": ["BOOTLOADER", "STORAGE"], | |||
"included_source": ["FEATURE_BOOTLOADER/lib1/lib1.c", "FEATURE_STORAGE/lib2/lib2.c"] | |||
"expected_features": ["BOOTLOADER"], |
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.
Please don't remove code that tests how the tools work WRT features just because the feature that's used as test data is no longer part of Mbed OS
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.
I don't mind reverting this file, but will this work even if STORAGE feature and FEATURE_STORAGE directory no longer exist?
Alternatively, I can replace these with other feature and directory, if this only requires any two features.
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.
Yes. it uses a local folder. You're welcome to rework it to not use the string "STORAGE" if you're so inclined, but I don't think it's worth the time.
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.
Thanks. Indeed got better things to do with my time. Reverted.
@cmonr and @ARMmbed/mbed-os-maintainers - Can we please tag this change for 5.12.1. Without this change we cannot compile with ARM Compiler 6.12 which is the ARM compiler version with latest Keil MDK. Im afraid there will be lot of developers trying to use latest Keil MDK with MbedOS and the builds will be broken. So we need this change in ASAP(5.12.1). |
I'm not sure I understand. Why does removing this code happen to make compilation work with ARMC6? And where is the tracking issue for this removal? Was it discovered during OOB? |
26f7b06
to
2a771fc
Compare
@cmonr We had this change planned anyway. As for the ARMC6 problem, will let @SenRamakri answer that. |
2a771fc
to
732dd36
Compare
@cmonr - Its not discovered during OOB because OOB used ARMC 6.11 version. We have identified some header file conflicts with ARMC 6.12 with header files present under the directories which @davidsaada is trying to remove with this commit. I brought this up to him yesterday and he prioritized this change to fix ARMC 6.12 issue although it was planned for later. |
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.
@davidsaada - Changes look good to me, Ill approve.
Btw, are there any docs which also needs removed or changed based on this change?
My concern with this PR is that we explicit state in our guidelines that we do not deprecate features in patch releases. If there is a specific fix that is required for ARMC6 then I would prefer to see that split out into a separate PR that we can take into a patch release and then move the deprecation to the next minor... |
Mbed deprecation policy says that we can remove features that were marked as deprecated for at least 6 months. Can you confirm all of the removed items were explicitly marked as deprecated for at least 6 months? Also that will need to go into 5.13 not any of the 5.12 patch releases. |
@adbridge @SenRamakri @bulislaw All three features have been deprecated since mbed-os 5.5. |
Sounds good - But we need "VERSION" file removed to fix the ARMC 6.12 build failures for 5.12.1. |
Will do (on Sunday). In that case I believe a tracking issue would help. |
@davidsaada What's the status here? The fix was merged, can this proceed? |
From my POV it can proceed. Nothing more I have to do here. But thought this would wait for 5.13. |
CI started while waiting for reviews |
Test run: FAILEDSummary: 1 of 11 test jobs failed Failed test jobs:
|
CI job restarted: Failures appear relevant, but making sure. |
Restarted, latest failure was success but exporter reported failure |
@bulislaw Please review |
Test run: FAILEDSummary: 1 of 11 test jobs failed Failed test jobs:
|
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.
Could you like to PR with docs changes?
ci started |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
Description
FEATURE_STORAGE and underlying features - cfstore, flash-journal and storage-volume-manager, have long been deprecated. This PR removes them all.
In addition, remove references to these in nanostack (used cfstore in uninvoked tests) and tools metadata such as astyle and doxygen.
Pull request type
Reviewers
@SenRamakri
Release Notes
Remove FEATURE_STORAGE and all underlying deprecated features: cfstore, flash-journal and storage-volume-manager.