diff options
author | Iikka Eklund <iikka.eklund@qt.io> | 2021-07-19 23:01:48 +0300 |
---|---|---|
committer | Iikka Eklund <iikka.eklund@qt.io> | 2022-03-29 10:21:26 +0000 |
commit | 55d421549addd6736b97c821eed6c120e657da79 (patch) | |
tree | a38c63fb5ebebebfa5cccc488d4e5f978c6568e8 | |
parent | f5905b74c5487a7025933c6c818c61ee29b8edc9 (diff) |
create_installer.py: Remove incremental mode
This mode has never been really used and the functionality is most
probably broken too.
Remove the feature as it is not needed.
Change-Id: I5681487aa097997889b130f85e3f8eb11be34686
Reviewed-by: Antti Kokko <antti.kokko@qt.io>
Reviewed-by: Patrik Teivonen <patrik.teivonen@qt.io>
-rw-r--r-- | packaging-tools/create_installer.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/packaging-tools/create_installer.py b/packaging-tools/create_installer.py index e27a6991f..cfcda460b 100644 --- a/packaging-tools/create_installer.py +++ b/packaging-tools/create_installer.py @@ -606,9 +606,6 @@ def create_target_components(task): # Create needed data dirs compress_content_dir = os.path.normpath(temp_data_dir + os.sep + archive.archive_name) install_dir = os.path.normpath(compress_content_dir + archive.get_archive_installation_directory()) - - if task.incremental and os.path.exists(os.path.join(data_dir_dest, archive.archive_name)): - continue # adding get_component_data task to our work queue # Create needed data dirs before the threads start to work bldinstallercommon.create_dirs(install_dir) @@ -886,8 +883,7 @@ def create_installer(task): # check required tools check_required_tools() # clean env before starting - if not task.incremental: - clean_work_dirs(task) + clean_work_dirs(task) # set config templates if task.online_installer or task.offline_installer: set_config_directory(task) @@ -961,7 +957,6 @@ class QtInstallerTask: self.remove_debug_libraries = args.remove_debug_libraries self.remove_pdb_files = args.remove_pdb_files - self.incremental = args.incremental self.offline_installer = args.offline_installer self.online_installer = args.online_installer self.create_repository = args.create_repository @@ -1094,8 +1089,6 @@ if __name__ == "__main__": help="define configurations directory where to read installer configuration files") parser.add_argument("-f", "--configuration-file", dest="configuration_file", type=str, help="define configuration file for installer content") - parser.add_argument("-i", "--incremental", dest="incremental", action='store_true', default=False, - help="Enable incremental development mode") parser.add_argument("-o", "--offline", dest="offline_installer", action='store_true', default=False, help="Create online installer") parser.add_argument("-O", "--online", dest="online_installer", action='store_true', default=False, |