Beispiel #1
0
def _update(echomesh_instance):
  LOGGER.info('Pulling latest codebase from github.')
  directory = os.getcwd()

  try:
    os.chdir(Path.ECHOMESH_PATH)
    Git.run_git_commands(GIT_UPDATE)
    _initialize(echomesh_instance)
    if not INITIALIZE_ENABLED:
      LOGGER.info('Please restart echomesh to see the updated changes.')
  finally:
    os.chdir(directory)
Beispiel #2
0
def _update(echomesh_instance):
    LOGGER.info('Pulling latest codebase from github.')
    directory = os.getcwd()

    try:
        os.chdir(Path.echomesh_path())
        Git.run_git_commands(GIT_UPDATE)
        _initialize(echomesh_instance)
        if not INITIALIZE_ENABLED:
            LOGGER.info('Please restart echomesh to see the updated changes.')
    finally:
        os.chdir(directory)
Beispiel #3
0
def _update(echomesh_instance):
  LOGGER.info('Pulling latest codebase from github')
  Git.run_git_commands(GIT_UPDATE)
  _boot(echomesh_instance)