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