ConsoleUser

Copyright (c) 2010-2023 Skaion Corporarion, www.skaion.com

This project was developed in part by numerous sponsorships from the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints of Governmental purposes notwithstanding any copyright notation thereon.

All content reflects those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the U.S. Government or Skaion Corporation.

class SCMGitCommandShell.SCMGitCommandShell(system, config)

Parent of all command shell-based git SCM implementations. This encapsulates things that are normally multiple steps and defines the commands to use.

Parameters:

  • system: the <no title> object connect to the target system

  • config: the <no title> object defining this user

clone(*args, **kwargs)

Create a local repo that follows the given remote one. This is like a git clone or cvs checkout.

Parameters:

  • remote: the string that will tell this SCM tool how to find the remote repo

commit_changes(message)

Commit any changes into the local repository.

open()

Open the shell, and make sure that basic git configuration options have been setup.