Skip to content
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

Update AfrOtaJobDocumentFields_t definition. #89

Merged
merged 39 commits into from
Nov 10, 2023
Merged

Update AfrOtaJobDocumentFields_t definition. #89

merged 39 commits into from
Nov 10, 2023

Conversation

bradleysmith23
Copy link
Contributor

Issue #, if available:

Description of changes:
Move definition of AfrOtaJobDocumentFields_t struct back to job_parser.h from job_parser.c

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

bradleysmith23 and others added 30 commits October 24, 2023 10:51
Add OTA Parser source and include files.
Add OTA Parser unit test files.
Add OTA Parser CBMC proofs.
OTA Parser MISRA fixes.(Directive 4.8 still to be fixed.)
Add misspelled words in unit test files to .cSpellWords.txt
Remove steps to clone submodules from ci.yml(now uses fetchContent)
Update buildIndexedFileQueryString() to include the terminating null
byte when writing to buffer. They are overwritten on the following lines,
but there is a build error when running the unitTests via github actions
without this.
Update ci.yml so that coverage is able to computed for otaJobParser files.
Remove step to copy otaJobParser source files to build directory.
Update ci.yml due to coverage data being computed correctly on an
Ubuntu EC2 instance but not the actions runner as it included both
jobs.c files. It should only compute coverage on the jobs.c file in the
build dir since that has static keywords stripped out for testing.
@bradleysmith23
Copy link
Contributor Author

/bot run formatting

actions-user and others added 2 commits November 8, 2023 17:03
Add https://misra.org.uk to linkAllowList. Link verifier points it out
as an invalid link, but that is incorrect so adding it to the allow list.
@bradleysmith23 bradleysmith23 requested review from manvensh and kstribrnAmzn and removed request for manvensh November 8, 2023 21:14
Copy link
Member

@ActoryOu ActoryOu left a comment

Choose a reason for hiding this comment

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

That's a clear/good PR. Approve in advance. Could you help note why you move AfrOtaJobDocumentFields_t definition from .c to .h?

@kstribrnAmzn
Copy link
Member

Could you try moving the structure definition into it's own header file. I'm thinking should fix both the MISRA violation and allow this to build without problems. You will simply need to include the definition header for the build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants