Ejemplo n.º 1
0
 def prepareBundleArchive(self, bundle_path, bundle_name):
     """Prepare a bundle checkout before creating an archive."""
     for product in self.products:
         product_path = os.path.join(bundle_path, product.rpath)
         version = '%s-%s\n' % (product.version[1], product.version[2])
         prepareProductArchive(product_path, product.bm_versioned, version)
     # add version
     f = open(os.path.join(bundle_path, 'version.txt'), 'w+')
     f.write('%s\n' % bundle_name)
     f.close()
Ejemplo n.º 2
0
 def prepareProductArchive(self, product_path, version):
     """Prepare a product checkout before creating an archive."""
     prepareProductArchive(product_path, self.bm_versioned, version)
Ejemplo n.º 3
0
 def prepareProductArchive(self, product_path, version):
     """Prepare a product checkout before creating an archive."""
     prepareProductArchive(product_path, self.bm_versioned, version)