Example #1
0
 def runCommand(self,
                cfg,
                argSet,
                args,
                profile=False,
                callback=None,
                repos=None):
     args = args[1:]
     #if len(args) < 2: return self.usage()
     checkin.refresh(repos, cfg, args[1:])
Example #2
0
 def refresh(self, targetDir=None):
     """
     Refresh the checked-out sources for a conary source package.
     @param targetDir: checkout directory to refresh
     @type targetDir: string
     """
     cfg = self.getConaryConfig()
     self._initializeFlavors()
     use.setBuildFlagsFromFlavor(None, cfg.buildFlavor, False)
     return checkin.refresh(self._getRepositoryClient(), cfg,
                            dirName=targetDir)
Example #3
0
 def refresh(self, targetDir=None):
     """
     Refresh the checked-out sources for a conary source package.
     @param targetDir: checkout directory to refresh
     @type targetDir: string
     """
     cfg = self.getConaryConfig()
     self._initializeFlavors()
     use.setBuildFlagsFromFlavor(None, cfg.buildFlavor, False)
     return checkin.refresh(self._getRepositoryClient(), cfg,
                            dirName=targetDir)
Example #4
0
 def runCommand(self, cfg, argSet, args, profile = False,
                callback = None, repos = None):
     args = args[1:]
     #if len(args) < 2: return self.usage()
     checkin.refresh(repos, cfg, args[1:])