Esempio n. 1
0
 def gettasks(self, args):
     efs = EclipseFS(args.directory)
     product_name = "ldt"
     stable_version = args.stableversion
     milestone_version = args.milestoneversion
     
     return[MoveAllRepositoryChildren("Archive Stable Release Repositories",
                                     efs.release_stable_composite_repository(""),
                                     efs.archive_stable_composite_repository("")),
            MoveRepository("Deliver new Stable Release Repository",
                                     efs.release_milestones_repository("", milestone_version),
                                     efs.release_stable_repository("", stable_version)),
            MoveAllRepositoryChildren("Archive milestones Release Repositories",
                                     efs.release_milestones_composite_repository(""),
                                     efs.archive_milestones_composite_repository("")),
            MoveAllProductVersionFolder("Archive Stable Products",
                                     efs.release_stable_allversion_products_directory(""),
                                     efs.archive_stable_allversion_products_directory(""),
                                     efs.products_filenames(product_name)),
            MoveProductsFolder("Deliver new Stable Products",
                                     efs.release_milestones_products_directory("", milestone_version),
                                     efs.release_stable_products_directory("", stable_version),
                                     efs.products_filenames(product_name)),
            MoveAllProductVersionFolder("Archive milestones Products",
                                     efs.release_milestones_allversion_products_directory(""),
                                     efs.archive_milestones_allversion_products_directory(""),
                                     efs.products_filenames(product_name)),] 
Esempio n. 2
0
 def __init__(self, name, source_path, dest_path,product_filenames,stable_version):
     MoveAllProductVersionFolder.__init__(self, name, source_path, dest_path,product_filenames)
     self._stable_version = stable_version
Esempio n. 3
0
 def check(self):
     return MoveAllProductVersionFolder.check(self)