Skip to content

Commit f82afa2

Browse files
committed
Merge remote-tracking branch 'upstream/devel' into work/DpCatalog
2 parents 41954ac + 637e812 commit f82afa2

File tree

785 files changed

+8062
-9467
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

785 files changed

+8062
-9467
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
title: "[Summarize the pattern. Be as clear and concise as possible.] "
2+
labels: ["ROSES"]
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |
7+
> [!TIP]
8+
> The **Title** may be the only thing the community sees when voting on your pattern.
9+
10+
This work is funded through [NASA ROSES](https://github.com/nasa/fprime/discussions/3041).
11+
- type: textarea
12+
id: pattern
13+
attributes:
14+
label: Pattern
15+
description: "Describe what you want documented."
16+
validations:
17+
required: true
18+
- type: markdown
19+
attributes:
20+
value: |
21+
> [!TIP]
22+
> Describe the **Pattern** without trying to sell it. Describe what you need.
23+
- type: textarea
24+
id: rationale
25+
attributes:
26+
label: Rationale
27+
description: "(Optional) Describe why you want it documented. Sell it to the community."
28+
validations:
29+
required: false
30+
- type: markdown
31+
attributes:
32+
value: |
33+
> [!TIP]
34+
> Use the **Rationale** to sell your idea to the community. Describe why you need this.

.github/actions/spelling/expect.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ANamespace
2424
anotherchan
2525
anotherparam
2626
apad
27-
APID
27+
apid
2828
APIDOCS
2929
aports
3030
apos
@@ -362,14 +362,17 @@ genshi
362362
getblocks
363363
getchildren
364364
getcontext
365+
getcrc
365366
getdata
366367
getdefaultencoding
367368
getextern
368369
getf
369370
geti
370371
getinput
372+
getlength
371373
getm
372374
getquaternion
375+
getstart
373376
gett
374377
gettime
375378
getty
@@ -517,6 +520,7 @@ listdir
517520
Listst
518521
LJR
519522
lld
523+
llu
520524
LOCALSTATEDIR
521525
LOGGERRULES
522526
loglvl

.github/workflows/codeql-jpl-standard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Semantic code analysis with CodeQL
22
# see https://github.com/github/codeql-action
33

4-
name: "JPL Coding Standard Scan"
4+
name: "Code Scan: JPL Coding Standard"
55

66
on:
77
push:

.github/workflows/codeql-security-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Semantic code analysis with CodeQL
22
# see https://github.com/github/codeql-action
33

4-
name: "CodeQL Security Scan"
4+
name: "Code Scan: CodeQL Security"
55

66
on:
77
push:

.github/workflows/cookiecutters-test.yml

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,23 @@ on:
2020

2121
jobs:
2222

23+
# -------- Retrieve target branches for fprime-tools and fprime-bootstrap --------
24+
get-tools-branch:
25+
name: "Get fprime-tools target branch"
26+
uses: ./.github/workflows/reusable-get-pr-branch.yml
27+
with:
28+
target_repository: nasa/fprime-tools
29+
30+
get-bootstrap-branch:
31+
name: "Get fprime-bootstrap target branch"
32+
uses: ./.github/workflows/reusable-get-pr-branch.yml
33+
with:
34+
target_repository: nasa/fprime-bootstrap
35+
36+
# -------- Install target versions of the cookiecutter templates and validate -------
2337
Validate:
2438
runs-on: ubuntu-latest
39+
needs: [ get-tools-branch, get-bootstrap-branch ]
2540
steps:
2641
# Checkout only the bootstrap.expect file, since the full F´ repo will be
2742
# checked out as part of the fprime-bootstrap process
@@ -38,11 +53,12 @@ jobs:
3853
with:
3954
python-version: '3.11'
4055

41-
- name: "Install expect and fprime-bootstrap@devel"
56+
- name: "Install expect and fprime-bootstrap"
4257
run: |
58+
sudo apt-get update
4359
sudo apt-get install expect
44-
pip install git+https://github.com/fprime-community/fprime-bootstrap@devel
45-
60+
pip install git+https://github.com/fprime-community/fprime-bootstrap@${{ needs.get-bootstrap-branch.outputs.target-branch }}
61+
4662
- name: "Bootstrap Project"
4763
run: |
4864
expect .github/actions/cookiecutter-check/bootstrap.expect
@@ -56,12 +72,12 @@ jobs:
5672
path: ./MyProject/lib/fprime
5773
fetch-depth: 0
5874

59-
- name: "Update dependencies and install fprime-tools@devel"
75+
- name: "Update dependencies and install fprime-tools"
6076
run: |
6177
cd MyProject
6278
. fprime-venv/bin/activate
6379
pip install -U -r ./lib/fprime/requirements.txt
64-
pip install git+https://github.com/nasa/fprime-tools@devel
80+
pip install git+https://github.com/nasa/fprime-tools@${{ needs.get-tools-branch.outputs.target-branch }}
6581
6682
- name: "Version Check"
6783
run: |

.github/workflows/cppcheck-scan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Adapted from https://github.com/nasa/cFS/blob/c36aa2c1df0fb47a3838577908af3d0d0ab0ef54/.github/workflows/static-analysis.yml
2-
name: "Cppcheck Scan"
2+
name: "Code Scan: CppCheck"
33

44
on:
55
push:
@@ -31,7 +31,7 @@ jobs:
3131
- uses: ./.github/actions/setup
3232

3333
- name: Install cppcheck
34-
run: sudo apt-get install cppcheck xsltproc -y
34+
run: sudo apt-get update && sudo apt-get install cppcheck xsltproc -y
3535

3636
- name: Install sarif tool
3737
run: npm i -g @microsoft/sarif-multitool

.github/workflows/cpplint-scan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Cpplint Scan"
1+
name: "Code Scan: Cpplint"
22

33
on:
44
push:
@@ -33,7 +33,7 @@ jobs:
3333
run: pip install cpplint
3434

3535
- name: Install xsltproc
36-
run: sudo apt-get install xsltproc -y
36+
run: sudo apt-get update && sudo apt-get install xsltproc -y
3737

3838
- name: Install sarif tool
3939
run: npm i -g @microsoft/sarif-multitool
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Builds and runs UTs on https://github.com/fprime-community/fprime-examples
2+
3+
name: "External Repo: fprime-examples"
4+
5+
on:
6+
push:
7+
branches: [ devel, release/**, ci/** ]
8+
pull_request:
9+
# The branches below must be a subset of the branches above
10+
branches: [ devel, release/** ]
11+
paths-ignore:
12+
- 'docs/**'
13+
- '**.md'
14+
- '.github/actions/spelling/**'
15+
- '.github/ISSUE_TEMPLATE/**'
16+
- '.gitignore'
17+
18+
jobs:
19+
get-branch:
20+
name: "Get target branch"
21+
uses: ./.github/workflows/reusable-get-pr-branch.yml
22+
with:
23+
target_repository: nasa/fprime-examples
24+
25+
run:
26+
needs: get-branch
27+
name: ""
28+
uses: ./.github/workflows/reusable-project-builder.yml
29+
with:
30+
target_repository: nasa/fprime-examples
31+
build_location: FlightExamples
32+
run_unit_tests: true
33+
target_ref: ${{ needs.get-branch.outputs.target-branch }}
34+
fprime_location: ./FlightExamples/lib/fprime

.github/workflows/ext-build-hello-world.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Builds and runs UTs on https://github.com/fprime-community/fprime-tutorial-hello-world
22

3-
name: "Tutorial: HelloWorld"
3+
name: "External Repo: Tutorial: HelloWorld"
44

55
on:
66
push:

.github/workflows/ext-build-led-blinker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Builds and runs UTs on https://github.com/fprime-community/fprime-workshop-led-blinker
22

3-
name: "Tutorial: LedBlinker"
3+
name: "External Repo: Tutorial: LedBlinker"
44

55
on:
66
push:

0 commit comments

Comments
 (0)