bmw-software-engineering / lobster

Lightweight Open BMW Software Traceability Evidence Report
GNU Affero General Public License v3.0
17 stars 7 forks source link

Support different schemas #79

Closed SurajBDeore closed 2 weeks ago

SurajBDeore commented 1 month ago

Add support to lobster-codebeamer to generate output using the following schemas:

The user can select the schema with a command line flag, or through the configuration file.

Issue: https://github.com/bmw-software-engineering/lobster/issues/86

mugdhadhole1 commented 1 month ago

I could see, the CI has failed while executing linter. Always make sure you run make lint locally before you make a commit and push the code

mugdhadhole1 commented 1 month ago
  1. I would really suggest to look at the linting errors. I could see make lint showed a lot of linting errors.
  2. I would also suggest you to rename the unit test file with test_.py where file_name must be the name of file for which you are writing the unit tests for.
mugdhadhole1 commented 1 month ago

Currently, the command accepts both "--schema" argument as well as "--config" argument. Hence, it creates ambiguity in fetching "schema". Suggestion, we should either use --schema flag or schema in config file

phiwuu commented 1 month ago

Currently, the command accepts both "--schema" argument as well as "--config" argument. Hence, it creates ambiguity in fetching "schema". Suggestion, we should either use --schema flag or schema in config file

The same problem exists with "token" and "user name/password". Both can be given in the config and as command line arguments, see https://github.com/bmw-software-engineering/lobster/issues/94

Currenlty, the config file takes precedence in all cases. I recommend to use the same approach here, too. Please add a remark into the README.md file.

SurajBDeore commented 2 weeks ago

please test our changes :-)

Tested