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

Fix #2311, correct fallback file case #2312

Merged
merged 1 commit into from
Apr 28, 2023

Conversation

jphickey
Copy link
Contributor

Checklist (Please check before submitting)

Describe the contribution
Only include the "FALLBACK_FILE" if the normal search came up empty. Do not return a list containing the fallback/default along with the user-supplied files, only return the user-supplied files. This was an issue when using "ALLOW_LIST" in that it had both.

Fixes #2311

Testing performed
Build with normal/default config, and build with overrides

Expected behavior changes
Overrides should work correctly again.

System(s) tested on
Debian

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

Only include the "FALLBACK_FILE" if the normal search came up empty.
Do not return a list containing the fallback/default along with the
user-supplied files, only return the user-supplied files.  This was an
issue when using "ALLOW_LIST" in that it had both.
@jphickey
Copy link
Contributor Author

Tested this fix with cert_testbed and confirmed that it now picks all the same header files that it used to.

@dzbaker dzbaker added the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Apr 28, 2023
dzbaker added a commit to nasa/cFS that referenced this pull request Apr 28, 2023
*Combines:*

cFE v7.0.0-rc4+dev287

**Includes:**

*cFE*
- nasa/cFE#2306
- nasa/cFE#2295
- nasa/cFE#2303
- nasa/cFE#2312

Co-authored by: Joseph Hickey <jphickey@users.noreply.github.com>
Co-authored by: Jacob Hageman  <skliper@users.noreply.github.com>
Co-authored by: Haven Carlson <havencarlson@users.noreply.github.com>
@dzbaker dzbaker merged commit 55864eb into nasa:main Apr 28, 2023
dzbaker added a commit to nasa/cFS that referenced this pull request Apr 28, 2023
*Combines:*

cFE v7.0.0-rc4+dev287

**Includes:**

*cFE*
- nasa/cFE#2306
- nasa/cFE#2295
- nasa/cFE#2303
- nasa/cFE#2312

Co-authored by: Joseph Hickey <jphickey@users.noreply.github.com>
Co-authored by: Jacob Hageman  <skliper@users.noreply.github.com>
Co-authored by: Haven Carlson <havencarlson@users.noreply.github.com>
@jphickey jphickey deleted the fix-2311-filesearch branch April 28, 2023 17:41
@dzbaker dzbaker added CCB:Approved Indicates code review and approval by community CCB and removed CCB:Ready Ready for discussion at the Configuration Control Board (CCB) CCB:FastTrack labels May 4, 2023
@dmknutsen dmknutsen added this to the Equuleus milestone May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CCB:Approved Indicates code review and approval by community CCB Equuleus-rc1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New cfe_locate_implementation_file() includes fallback file in results even if override found
3 participants