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

ogma-core: Documentation refers to wrong system #176

Closed
ivanperez-keera opened this issue Nov 22, 2024 · 6 comments
Closed

ogma-core: Documentation refers to wrong system #176

ivanperez-keera opened this issue Nov 22, 2024 · 6 comments
Assignees
Labels
CR:Status:Closed Admin only: Change request that has been completed CR:Type:Bug Admin only: Change request pertaining to error detected
Milestone

Comments

@ivanperez-keera
Copy link
Member

Description

The documentation of ogma-core/src/Language/Trans/SMV2Copilot.hs does not refer to the boolean expressions as those in the SMV language, but incorrectly refers to them as FRET expressions, which was old documentation left over after renaming the module.

Type

  • Bug: incorrect documentation.

Additional context

None.

Requester

  • Ivan Perez.

Method to check presence of bug

The output of the following command should be empty:

$ grep -nHire 'fret' ogma-core/src/Language/Trans/SMV2Copilot.hs

It instead lists a number of occurrences.

Expected result

The module should refer to the expressions as SMV boolean expressions.

Desired result

The module should refer to the expressions as SMV boolean expressions.

Proposed solution

Rename all instances of FRET to SMV in ogma-core/src/Language/Trans/SMV2Copilot.hs.

Further notes

None.

@ivanperez-keera ivanperez-keera added CR:Status:Initiated Admin only: Change request that has been initiated CR:Type:Bug Admin only: Change request pertaining to error detected labels Nov 22, 2024
@ivanperez-keera
Copy link
Member Author

Change Manager: Confirmed that the issue exists.

@ivanperez-keera ivanperez-keera added CR:Status:Confirmed Admin only: Change request that has been acknowledged by the change manager and removed CR:Status:Initiated Admin only: Change request that has been initiated labels Nov 22, 2024
@ivanperez-keera
Copy link
Member Author

Technical Lead: Confirmed that the issue should be addressed.

@ivanperez-keera ivanperez-keera added CR:Status:Accepted Admin only: Change request accepted by technical lead and removed CR:Status:Confirmed Admin only: Change request that has been acknowledged by the change manager labels Nov 22, 2024
@ivanperez-keera
Copy link
Member Author

Technical Lead: Issue scheduled for fixing in Ogma 1.5.

Fix assigned to: @ivanperez-keera .

@ivanperez-keera ivanperez-keera added CR:Status:Scheduled Admin only: Change requested scheduled and removed CR:Status:Accepted Admin only: Change request accepted by technical lead labels Nov 22, 2024
@ivanperez-keera ivanperez-keera added this to the 1.5.0 milestone Nov 22, 2024
@ivanperez-keera ivanperez-keera self-assigned this Nov 22, 2024
@ivanperez-keera ivanperez-keera added CR:Status:Implementation Admin only: Change request that is currently being implemented and removed CR:Status:Scheduled Admin only: Change requested scheduled labels Nov 22, 2024
ivanperez-keera added a commit to ivanperez-keera/ogma that referenced this issue Nov 22, 2024
The documentation of ogma-core/src/Language/Trans/SMV2Copilot.hs does
not refer to the boolean expressions as those in the SMV language, but
incorrectly refers to them as FRET expressions, which was old
documentation left over after renaming the module.

This commit renames all occurrences to SMV in the module documentation.
ivanperez-keera added a commit to ivanperez-keera/ogma that referenced this issue Nov 22, 2024
ivanperez-keera added a commit to ivanperez-keera/ogma that referenced this issue Nov 22, 2024
The documentation of ogma-core/src/Language/Trans/SMV2Copilot.hs does
not refer to the boolean expressions as those in the SMV language, but
incorrectly refers to them as FRET expressions, which was old
documentation left over after renaming the module.

This commit renames all occurrences to SMV in the module documentation.
ivanperez-keera added a commit to ivanperez-keera/ogma that referenced this issue Nov 22, 2024
@ivanperez-keera
Copy link
Member Author

Implementor: Solution implemented, review requested.

@ivanperez-keera ivanperez-keera added CR:Status:Verification Admin only: Change request that is currently being verified and removed CR:Status:Implementation Admin only: Change request that is currently being implemented labels Nov 22, 2024
@ivanperez-keera
Copy link
Member Author

Change Manager: Verified that:

  • Solution is implemented:
    • The code proposed compiles and passes all tests. Details:
    • The solution proposed produces the expected result. Details:
      The following dockerfile checks that the module does not contain any outdated references, after which it prints the message "Success":
      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 'fret' ogma-core/src/Language/Trans/SMV2Copilot.hs \
          && echo "Success"
      Command (substitute variables based on new path after merge):
      $ docker run -e "REPO=https://github.com/ivanperez-keera/ogma" -e "NAME=ogma" -e "PAT=ogma"  -e "COMMIT=5092faf6fbf346b9d5ad59aa0c9c7553f76c1410" -it ogma-verify-176
      
  • Implementation is documented. Details:
    Change is to the documentation.
  • Change history is clear.
  • Commit messages are clear.
  • Changelogs are updated.
  • Examples are updated. Details:
    No updates needed; change is in module documentation.
  • Required version bumps are evaluated. Details:
    No bumps needed; change is in module documentation.

@ivanperez-keera
Copy link
Member Author

Change Manager: Implementation ready to be merged.

@ivanperez-keera ivanperez-keera added CR:Status:Closed Admin only: Change request that has been completed and removed CR:Status:Verification Admin only: Change request that is currently being verified labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CR:Status:Closed Admin only: Change request that has been completed CR:Type:Bug Admin only: Change request pertaining to error detected
Projects
None yet
Development

No branches or pull requests

1 participant