Exemple #1
0
 def __init__(self,
              target,
              input_files,
              files,
              unpacked_info,
              docker_cmd='docker'):
     self.unpacked_info = unpacked_info
     self.docker_cmd = docker_cmd
     FileUploader.__init__(self, target, input_files, files)
Exemple #2
0
    def __init__(self,
                 target,
                 input_files,
                 files,
                 unpacked_info,
                 docker_cmd='docker'):
        self.unpacked_info = unpacked_info
        self.docker_cmd = docker_cmd
        config = load_config(target / 'config.yml', True)
        if config.runs:
            first_run = config.runs[0]
            self.default_ownership = (
                first_run.get('uid'),
                first_run.get('gid'),
            )
        else:
            self.default_ownership = None, None

        FileUploader.__init__(self, target, input_files, files)
Exemple #3
0
 def __init__(self, target, input_files, files, type_, param_restore_owner):
     self.type = type_
     self.param_restore_owner = param_restore_owner
     FileUploader.__init__(self, target, input_files, files)
Exemple #4
0
 def __init__(self, target, input_files, files, unpacked_info):
     self.unpacked_info = unpacked_info
     FileUploader.__init__(self, target, input_files, files)
Exemple #5
0
 def __init__(self, target, input_files, files, use_chroot):
     self.use_chroot = use_chroot
     FileUploader.__init__(self, target, input_files, files)
Exemple #6
0
 def __init__(self, target, input_files, files, unpacked_info):
     self.unpacked_info = unpacked_info
     FileUploader.__init__(self, target, input_files, files)
Exemple #7
0
 def __init__(self, target, input_files, files, type_, param_restore_owner):
     self.type = type_
     self.param_restore_owner = param_restore_owner
     FileUploader.__init__(self, target, input_files, files)
 def __init__(self, target, input_files, files, unpacked_info,
              docker_cmd='docker'):
     self.unpacked_info = unpacked_info
     self.docker_cmd = docker_cmd
     FileUploader.__init__(self, target, input_files, files)
Exemple #9
0
 def __init__(self, target, input_files, files, use_chroot):
     self.use_chroot = use_chroot
     FileUploader.__init__(self, target, input_files, files)