Skip to content

Command Line Capabilities to interact with the ns-3-AppStore

Mishal Shah requested to merge mishal23/bake:gsoc19-phase1 into master

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 class BaseClient
  • Main Bake.py file is edited to add the command line features
  • Test is added in test directory, file name TestModuleAppStore.py
  • Constants.py file is added to store the base url to interact with the AppStore and the APIs.
Edited by Mishal Shah

Merge request reports