Command Line Capabilities to interact with the ns-3-AppStore
Status
Ready
Description
This PR implements the bake command line capabilities to interact with the ns-3-AppStore. The command line options added are search
, getconf
, install
Features
-
bake.py search <substr>
returns the Apps matching the substring -
bake.py search
lists all the Apps from the ns-3-AppStore -
bake.py getconf <module_name>
fetches the bakeconf file for the latest version of the module from the AppStore -
bake.py getconf <module_name>==<version>
fetches the bakeconf file for the specified version of the module from the AppStore -
bake.py install <module_name>
installs (configure, download, build) the latest version of the module from the AppStore -
bake.py install <module_name>==<version>
installs (configure, download, build) the specified version of the module from the AppStore - Regression tests for the Module added is added
Comments
Detailed workflow along with usage can be found in this document: link
Impacted Areas in Application
- New Module
ModuleAppStore
is added with the classBaseClient
- Main
Bake.py
file is edited to add the command line features - Test is added in
test
directory, file nameTestModuleAppStore.py
-
Constants.py
file is added to store the base url to interact with the AppStore and the APIs.
Edited by Mishal Shah