コード例 #1
0
ファイル: cvccmd.py プロジェクト: pombreda/conary-1
 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:])
コード例 #2
0
ファイル: conaryfacade.py プロジェクト: fedora-conary/rbuild
 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)
コード例 #3
0
ファイル: conaryfacade.py プロジェクト: rdr78/rbuild
 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)
コード例 #4
0
ファイル: cvccmd.py プロジェクト: fedora-conary/conary
 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:])