def clone(self, origin): """ Clone an external repository in order to create this repository. """ return subprocessExtras.call( [self.getGitExecutable(), "clone", origin, self.getPath()])
def run(args, cwd=None): """ Run docker with the given command line arguments. Return Docker's exit code. """ return subprocessExtras.call([getAndVerifyExecutable()] + args, cwd)
def checkoutNoCommit(user, commit): subprocessExtras.call(["rm", "-rf", "*"], cwd=user.getConfig()["registry-dir"]) user.getRegistry().getGitRepository().run(["checkout", commit, "."]) user.reloadRegistry()
def run(self, args): """ Run git with the given command line arguments. """ return subprocessExtras.call(["git"] + args, cwd=self.getPath())
def runShowOutput(self,args): subprocessExtras.call([self.getGitExecutable()]+args,cwd=self.getPath())
def clone(self,origin): """ Clone an external repository in order to create this repository. """ return subprocessExtras.call([self.getGitExecutable(), "clone", origin, self.getPath()])
def run(self,args): """ Run git with the given command line arguments. """ return subprocessExtras.call(["git"]+args,cwd=self.getPath())
def runShowOutput(self,args): subprocessExtras.call(["git"]+args,cwd=self.getPath())
def runShowOutput(self, args): subprocessExtras.call([self.getGitExecutable()] + args, cwd=self.getPath())