Skip to content

Commit d2ecab8

Browse files
authored
Merge pull request nasa#371 from nasa/integration-candidate
cFS Bundle Integration Candidate: 2021-10-05
2 parents ed26455 + 54f08f6 commit d2ecab8

File tree

6 files changed

+32
-30
lines changed

6 files changed

+32
-30
lines changed

.github/codeql/codeql-coding-standard.yml

+2-14
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,5 @@ name: "CodeQL Coding Standard Configuration File"
33
disable-default-queries: true
44

55
queries:
6-
- name: JPL Rules
7-
uses: github/codeql/cpp/ql/src/JPL_C@main
8-
- name: MISRA Rule 9-5-1
9-
uses: github/codeql/cpp/ql/src/jsf/4.20 Unions and Bit Fields/AV Rule 153.ql@main
10-
- name: MISRA Rule 5-18-1
11-
uses: github/codeql/cpp/ql/src/jsf/4.21 Operators/AV Rule 168.ql@main
12-
- name: MISRA 6-2-2
13-
uses: github/codeql/cpp/ql/src/jsf/4.25 Expressions/AV Rule 202.ql@main
14-
- name: MISRA Rule 5-14-1
15-
uses: github/codeql/cpp/ql/src/jsf/4.21 Operators/AV Rule 165.ql@main
16-
- name: MISRA Rule 5-3-2
17-
uses: github/codeql/cpp/ql/src/jsf/4.21 Operators/AV Rule 165.ql@main
18-
- name: MISRA Rule 7-5-2
19-
uses: github/codeql/cpp/ql/src/jsf/4.22 Pointers and References/AV Rule 173.ql@main
6+
- name: JPL and MISRA
7+
uses: ./.github/codeql/jpl-misra.qls

.github/codeql/jpl-misra.qls

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Start with all the queries in the codeql/cpp-queries pack.
2+
- queries: .
3+
from: codeql/cpp-queries
4+
# Restrict to only the queries with the following ID patterns.
5+
- include:
6+
id:
7+
# Regular expression matching all query IDs that start with `cpp/jpl-c/`
8+
# This covers all queries in the `JPL_C` directory,
9+
# but matching on query ID is more stable.
10+
- /cpp/jpl-c/*/
11+
# Specific JSF queries, identified by query ID.
12+
# MISRA Rule 9-5-1
13+
- cpp/jsf/av-rule-153
14+
# MISRA Rule 5-18-1
15+
- cpp/jsf/av-rule-168
16+
# MISRA 6-2-2
17+
- cpp/jsf/av-rule-202
18+
# MISRA Rule 5-14-1
19+
- cpp/jsf/av-rule-165
20+
# MISRA Rule 5-3-2
21+
- cpp/jsf/av-rule-173

.github/workflows/codeql-build.yml

-8
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,6 @@ jobs:
100100
git log -1 --pretty=oneline
101101
git submodule
102102
103-
- name: Checkout codeql code
104-
if: ${{ !steps.skip-workflow.outputs.skip }}
105-
uses: actions/checkout@v2
106-
with:
107-
repository: github/codeql
108-
submodules: true
109-
path: codeql
110-
111103
- name: Initialize CodeQL
112104
if: ${{ !steps.skip-workflow.outputs.skip }}
113105
uses: github/codeql-action/init@v1

.gitmodules

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[submodule "cfe"]
22
path = cfe
33
url = https://github.com/nasa/cFE.git
4-
branch = master
4+
branch = main
55
[submodule "osal"]
66
path = osal
77
url = https://github.com/nasa/osal.git
8-
branch = master
8+
branch = main
99
[submodule "psp"]
1010
path = psp
1111
url = https://github.com/nasa/PSP.git

README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
[![Build Status](https://travis-ci.com/nasa/cFS.svg)](https://travis-ci.com/nasa/cFS)
2-
[![LGTM Alerts](https://img.shields.io/lgtm/alerts/github/nasa/cFS)](https://lgtm.com/projects/g/nasa/cFS/alerts/?mode=list)
3-
[![LGTM Grade](https://img.shields.io/lgtm/grade/python/github/nasa/cFS)](https://lgtm.com/projects/g/nasa/cFS/alerts/?mode=list)
4-
[![LGTM Grade](https://img.shields.io/lgtm/grade/cpp/github/nasa/cFS)](https://lgtm.com/projects/g/nasa/cFS/alerts/?mode=list)
1+
[![Build Linux](https://github.com/nasa/cfs/actions/workflows/build-cfs.yml/badge.svg)](https://github.com/nasa/cfs/actions/workflows/build-cfs.yml)
2+
[![Build RTEMS 5](https://github.com/nasa/cFS/actions/workflows/build-cfs-rtems5.yml/badge.svg)](https://github.com/nasa/cFS/actions/workflows/build-cfs-rtems5.yml)
3+
[![LGTM Alerts](https://img.shields.io/lgtm/alerts/github/nasa/cFS.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/nasa/cFS/alerts/?mode=list)
4+
[![LGTM Grade](https://img.shields.io/lgtm/grade/cpp/g/nasa/cFS.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/nasa/cFS/context:cpp)
5+
[![LGTM Grade](https://img.shields.io/lgtm/grade/python/g/nasa/cFS.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/nasa/cFS/context:python)
56

67
# Core Flight System - BUNDLE
78

@@ -15,7 +16,7 @@ The cFS Framework is a core subset of cFS. There are additional OSALs, PSPs, an
1516
- cFE User's Guide: https://github.com/nasa/cFS/blob/gh-pages/cFE_Users_Guide.pdf
1617
- OSAL User's Guide: https://github.com/nasa/cFS/blob/gh-pages/OSAL_Users_Guide.pdf
1718
- cFE App Developer's Guide: https://github.com/nasa/cFE/blob/main/docs/cFE%20Application%20Developers%20Guide.md
18-
- Training documentation: https://ntrs.nasa.gov/citations/20205000691
19+
- Training documentation: https://ntrs.nasa.gov/citations/20210022378
1920
- cFS Overview: https://cfs.gsfc.nasa.gov/cFS-OviewBGSlideDeck-ExportControl-Final.pdf
2021

2122
## Release Notes

0 commit comments

Comments
 (0)