[Checkins] SVN: keas.build/branches/new-product-generation-in-branch-release/src/keas/build/package.py - getBranchURL returns non consistent urls, sometimes ending with / sometimes not. At least fix this in our new independent version check
Roger Ineichen
cvs-admin at zope.org
Fri Dec 14 01:11:22 UTC 2012
Log message for revision 128642:
- getBranchURL returns non consistent urls, sometimes ending with / sometimes not. At least fix this in our new independent version check
- group logging output
Changed:
U keas.build/branches/new-product-generation-in-branch-release/src/keas/build/package.py
-=-
Modified: keas.build/branches/new-product-generation-in-branch-release/src/keas/build/package.py
===================================================================
--- keas.build/branches/new-product-generation-in-branch-release/src/keas/build/package.py 2012-12-14 00:41:18 UTC (rev 128641)
+++ keas.build/branches/new-product-generation-in-branch-release/src/keas/build/package.py 2012-12-14 01:11:21 UTC (rev 128642)
@@ -240,7 +240,10 @@
# check if the dev marked version in setup.py from the given branch
# compares with our version we will guess. If so, this means no
# other branch was used for release this package.
- pyURL = '%ssetup.py' % self.getBranchURL(branch)
+ branchURL = self.getBranchURL(branch)
+ if branchURL.endswith('/'):
+ branchURL = branchURL[:-1]
+ pyURL = '%s/setup.py' % branchURL
req = urllib2.Request(pyURL)
if self.packageIndexUsername:
base64string = base64.encodestring(
@@ -357,6 +360,9 @@
rmtree(buildDir)
def runCLI(self, configFile, askToCreateRelease=False, forceSvnAuth=False):
+ logger.info('-' * 79)
+ logger.info(self.pkg)
+ logger.info('-' * 79)
logger.info('Start releasing new version of ' + self.pkg)
# 1. Read the configuration file.
logger.info('Loading configuration file: ' + configFile)
More information about the checkins
mailing list