-
Notifications
You must be signed in to change notification settings - Fork 3k
Updated 113 targets with missing detect_codes #12152
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
Conversation
But detect_code is not used....? |
In which case I'm happy to change this PR to remove them all. Thoughts welcome. |
@thegecko, thank you for your changes. |
@ARMmbed/mbed-os-tools |
This PR does many things in one commit. The formatting across the file has changed and the detect codes were added. It's hard to review and it's confusing. |
Would you like a PR which fixes the formatting first?
We need to reduce the amount of places this data is kept, if Mbed ls is where this should be, recommend detect_codes are removed and Mbed ls exposes away for this data to be read. |
Yes lets get to single sources of truth |
Yes, please. The format fix would be good! |
I've got the same question - these 113 targets - where do they get the code from then? there's a note in the older docs I could find "detect code" can be specified but not mandatory. @ARMmbed/mbed-os-tools Where this detect code should be defined? |
Agree that the formatting changes would be better in a separate commit which would allow the detect_code changes to be more easily seen. As for the addition of the codes; at the moment the system seems to support the codes being here and having them all filled in is unlikely to break existing code (and will help Rob). We're actively looking at the provision of target information and will certainly be deciding on a single source of truth for these values (and others that are duplicated across the various data sources). At this point the changes here may not be required. We have a script here that we'll run to check whether these changes are consistent. Suggest holding off merge until we know the results (to save any typos that may have been introduced). |
PR for format changes has been opened here: #12199 I'll update this PR if/when that PR is merged |
6b4695a
to
ce9443b
Compare
PR updated after the format change, the additional We can either merge this or I can open a PR to drop Thoughts? |
@ARMmbed/mbed-os-tools Please review |
This PR cannot be merged due to conflicts. Please rebase to resolve them. |
@madchutney after today's discussion, does this count as a critical fix or a new feature ? |
@adbridge I think critical fix, also this could be used as the source of data for new tools so the sooner it is fixed the better. There is a report here which can be used to double the entries as there has long been a discrepancy between the various sources that perhaps @MarceloSalazar can help with. https://mbed-target.s3.eu-west-2.amazonaws.com/validation/index.html |
@madchutney @mark-edgeworth could one of you please review this then ? |
Please review |
Mergify thinks this does not have conflicts? I'll check Meantime, please rebase, we can start CI asap |
I'll force-push an updated version to ensure conflicts are resolved |
ce9443b
to
ff1fc2c
Compare
Done |
Pull request has been modified.
CI started |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
This PR does not contain release version label after merging. |
Fixed |
Signed-off-by: thegecko [email protected]
This PR includes formatting changes as the
targets.json
file was re-generated from a script.The missing data was drawn from the mbed.com target database APIs.
Summary of changes
Updated
targets.json
file to include 113detect_codes
which were missingDocumentation
None
Pull request type
Test results