- raise Exception, 'Something is wrong with module %s, cannot determine %s - exiting'%(self.name,err)
-
- def tag_url (self, spec_dict):
- return "%s/tags/%s"%(self.mod_svn_url(),self.tag_name(spec_dict))
-
- def check_svnpath_exists (self, url, message):
- if self.options.fast_checks:
- return
- if self.options.verbose:
- print 'Checking url (%s) %s'%(url,message),
-
- if SvnRepository.remote_exists(url):
- if self.options.verbose: print 'exists - OK'
- else:
- if self.options.verbose: print 'KO'
- raise Exception, 'Could not find %s URL %s'%(message,url)
-
- def check_svnpath_not_exists (self, url, message):
- if self.options.fast_checks:
- return
- if self.options.verbose:
- print 'Checking url (%s) %s'%(url,message),
-
- if not SvnRepository.remote_exists(url):
- if self.options.verbose: print 'does not exist - OK'
- else:
- if self.options.verbose: print 'KO'
- raise Exception, '%s URL %s already exists - exiting'%(message,url)
-
- # locate specfile, parse it, check it and show values