Closed ivanperez-keera closed 11 months ago
Change Manager: Confirmed that the issue exists.
Technical Lead: Confirmed that the issue should be addressed.
Technical Lead: Issue scheduled for fixing in Ogma 1.0.12.
Fix assigned to: @ivanperez-keera.
Implementor: Solution implemented, review requested.
Change Manager: Verified that:
Solution is implemented:
FROM ubuntu:trusty
RUN apt-get update
RUN apt-get install --yes software-properties-common RUN add-apt-repository ppa:hvr/ghc RUN apt-get update
RUN apt-get install --yes ghc-8.6.5 cabal-install-2.4 RUN apt-get install --yes libz-dev
ENV PATH=/opt/ghc/8.6.5/bin:/opt/cabal/2.4/bin:$PWD/.cabal-sandbox/bin:$PATH
RUN cabal update RUN cabal v1-sandbox init RUN cabal v1-install alex happy RUN apt-get install --yes git
CMD git clone $REPO && \ cd $NAME && \ git checkout $COMMIT && \ cd .. && \ cabal v1-install $NAME/$PAT/ --enable-tests && \ cabal v1-install $NAME/$PAT/ --enable-tests --run-tests -j1
Command:
```sh
$ docker run -e "REPO=https://github.com/ivanperez-keera/ogma" -e "NAME=ogma" -e PAT="ogma-" -e "COMMIT=96bc35da1452014de074ec13361048a9cb9d787f" -it ogma-test
FROM ubuntu:focal
RUN apt-get update
RUN apt-get install --yes git
SHELL ["/bin/bash", "-c"] CMD git clone $REPO \ && cd $NAME \ && git checkout $COMMIT \ && ! grep -niHre 'sample.\?app' --exclude='CHANGELOG.md' ogma** \ && echo "Success"
Command:
```sh
$ docker run -e "REPO=https://github.com/ivanperez-keera/ogma" -e "NAME=ogma" -e PAT="ogma-" -e "COMMIT=96bc35da1452014de074ec13361048a9cb9d787f" -it ogma-verify-105
Change Manager: Implementation ready to be merged.
Description
Ogma's cFS template is based on cFS' Sample Application, and the generated code includes multiple references to the sample app.
Keeping those references there is misleading, since this is not the sample app, but a monitoring app.
Type
Additional context
None.
Requester
Method to check presence of bug
Searching for mentions of the sample app in the ogma directory brings up multiple results. It should not bring any.
Expected result
The result of the
grep
command above should be empty, indicating that there are no mentions of the sample app.Desired result
The result of the
grep
command above should be empty, indicating that there are no mentions of the sample app.Proposed solution
Replace all mentions of the sample app in the cFS template.
Further notes
None.