Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 1.2 KB

SolDefines.rst

File metadata and controls

42 lines (25 loc) · 1.2 KB

SolDefines module

SolDefines

This file describes the SOL Objects structure.

How to add an Object structure

1. Create an issue with name: "Adding YOUR_OBJECT_NAME structure". This will create a issue number like #49.

  1. Create a new branch with the name: develop_<your issue number>

    ex: develop_49

  2. Add the object type in the list at the top of the SolDefines.py file.
  • Prepend the string "SOL_TYPE" to your object name.
  • Increment the last number of the list to get an object id

Refer to the other object if you are not sure.

  1. Add the object structure at the bottom of the SolDefines.py file.

Refere to the python structure to know which field to set: https://docs.python.org/2/library/struct.html

  1. Run the the registry_gen.py script. That will update the registry.md file.
  2. Commit your changes starting with the issue number. Commit message example: "#49 adding YOUR_OBJECT_NAME structure".
  3. Push your changes to the repo: git push origin develop_49
  4. Create a merge request on branch develop using GitHub UI.