-
Notifications
You must be signed in to change notification settings - Fork 275
Utility script to add xitem entry in store catalog file
The utility script adds xitem entry for new board in to store catalog database file. The script parses the xitem json file of new board and extracts the mandatory fields of board, adds board entry in the board store catalog file
The properties of xitem along with their direct mapping xitem fields in board store catalog file are as follows.
property of xitem in board store catalog file xitem | property in xitem json file |
---|---|
name |
name attribute in board tag |
display |
display_name attribute in board tag |
company |
vendor attribute in board tag |
revision |
revision tag |
The following fields for xitem entry are taken from user :
property of xitem in board store catalog file xitem | Usage |
---|---|
commit_id |
Commit-id of the xitem file when it is submitted in github |
history |
Description of the newly added board |
python add_xitem_entry.py -help
(To get the details of arguements for script)
python add_xitem_entry.py --store_dir <store_root_dir_path> --xitem_file <xitem_json_path> --config_root "board_dir_path_as_relative_store_root" --description --product <tool_name (Vivado/sdx)> --version <tool_version> --major_version --minor_version <store_catalog minor version>
`
Python Version Supported: 2.7.x Store catalog version Supported: 2.0 Xitem.json Schema version : 1.1