Permalink
Browse files

tinkering createNewQPackage.py

  • Loading branch information...
1 parent e5bc1c8 commit 5cfc299c115ba0adeeaa13553d3820c6afc4c3a5 toolslive committed Oct 17, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 createNewQPackages.py
@@ -94,7 +94,7 @@ def main(q, i, params, tags):
q.logger.log( "Checking out %%s %%s from bitbucket.org" %% (qpackage.name, qpackage.version) )
- packageDir = "%%s-%%s" % (qpackage.name, qpackage.version)
+ packageDir = "%%s-%%s" %% (qpackage.name, qpackage.version)
targetDirectory = q.system.fs.joinPaths( q.dirs.tmpDir, packageDir )
recipe = HgRecipe()
@@ -164,12 +164,12 @@ def replace_deps( p, deps_to_replace):
packages = list()
-
+tasklet_code = get_arakoon_codemanagement_tasklet(branch)
p = createNewPackage('arakoon_client', 'Version %s of the arakoon client' % new_version, prev_version, new_version )
packages.append(p)
# Update codemanagement.py
tasklet_path = fs.joinPaths(p.qpackage.getPathMetadata(), 'tasklets', 'codemanagement.py')
-q.system.fs.writeFile(tasklet_path, get_arakoon_codemanagement_tasklet(branch))
+q.system.fs.writeFile(tasklet_path, tasklet_code)
p = createNewPackage('arakoon', 'Version %s of the arakoon key value store' % new_version, prev_version, new_version )
replace_deps(p, ['arakoon_client'])

0 comments on commit 5cfc299

Please sign in to comment.