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

Solves #194 - Root module runtime #195

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

MatteoRagni
Copy link
Collaborator

@MatteoRagni MatteoRagni commented Oct 4, 2024

Description

The commit proposes a solution for issue #194, which underlines how root module has common name, which may imply name clashes with other existing modules in python ecosystem.

Main changes

  • renames runtime module in qc_framework module. runtime is a submodule for qc_framework. The approach allows to introduce other required applications for successful execution of runtime directly, without maintaining multiple module, as required in review for JSON Formatter for Result file (C++ and Python versions). Adds py Text report and py GithubCI report  #191.
  • qc_runtime script is preserved
  • runtime remains the principal executable of the package, and can be launched also with python -m qc_framework (for users that do not have scripts directory on PATH - i.e., usually Windows users)
  • Documentation for the framework has been updated in order to reflect the changes
  • License banner are included for all source file
  • Github builders definition has been updated to reflect the changes
  • Dockerfiles have been updated to reflect the changes
  • All public methods have been documented
  • Wrong type hinting for model field validation has been corrected

How was the PR tested?

  • Unit-test with some sample data. All unit tests passed.
  • Print output values. The printed outputs look reasonable.
  • Executed container locally and it worked.

Notes

Required for complinting the work on #191

The commit proposes a solution for issue asam-ev#194, which underlines how root module has common name, which may imply name clashes with other existing modules in python ecosystem.

The actual implementation:

* renames `runtime` module in `qc_framework` module. `runtime` is a submodule for `qc_framework`. The approach allows to introduce other required applications for successful execution of runtime directly, without maintaining multiple module.
* `qc_runtime` script is preserved
* `runtime` remains the principal executable of the package, and can be launched also with `python -m qc_framework` (for users that do  not have python scripts on PATH - in particular Windows users)
* Documentation for the framework has been updated in order to reflect the changes
* License banner are included for all source file
* Github builders definition has been updated to reflect the changes
* Dockerfiles have been updated to reflect the changes
* All public methods have been documented
* Wrong type hinting for model field validation has been corrected

Signed-off-by: Matteo Ragni <[email protected]>
@andreaskern74
Copy link
Collaborator

andreaskern74 commented Oct 4, 2024

I'm not the Python expert.... but it makes totally sense and personally I would directly approve. This is also CCB relevant.

@andreaskern74 andreaskern74 added the isState:ForCCBReview CCB will review it and change the status to ReadyForMerge if everything is ok label Oct 4, 2024
Copy link
Collaborator

@hoangtungdinh hoangtungdinh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @MatteoRagni . The changes are good for me too.

@andreaskern74 andreaskern74 merged commit ea12efb into asam-ev:main Oct 8, 2024
4 checks passed
@andreaskern74 andreaskern74 added isState:Integrated An issue that has been integrated and has an integration reviewer and removed isState:New A new issue that needs to be classified to a type. isState:ForCCBReview CCB will review it and change the status to ReadyForMerge if everything is ok labels Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
isState:Integrated An issue that has been integrated and has an integration reviewer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants