Commit graph

243 commits

Author SHA1 Message Date
Ondřej Samohel
c6383837e0
♻️ remove unnecessary type hint
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2022-08-15 14:00:46 +02:00
Ondrej Samohel
b61e47a15d
♻️ don't look for compatible version automatically 2022-08-12 19:45:26 +02:00
Ondrej Samohel
1ad9728962
♻️ remove forgotten args, fix typos 2022-08-12 19:32:13 +02:00
Ondrej Samohel
60ea9728f6
🚨 fix hound 🐶 2022-08-12 17:43:02 +02:00
Ondrej Samohel
7176723aa5
🐛 fix arguments and recursive folders 2022-08-12 17:26:46 +02:00
Ondrej Samohel
c1d3d70410
🚨 fix hound 🐶 2022-08-12 15:40:17 +02:00
Ondrej Samohel
0c72b8e278
♻️ refactor compatibility check 2022-08-12 15:31:56 +02:00
Ondrej Samohel
312b6d3243
🐛 fix finding of last version 2022-08-12 13:00:41 +02:00
Ondřej Samohel
3d7e195307
♻️ skip non-existent local path
when finding  local version, stop crashing if directory to search doesn't exist - this will allow to just use build version
2022-08-02 11:26:33 +02:00
Ondřej Samohel
9205d4bde1
♻️ changes in bootstrapping for multiple versions 2022-08-01 18:02:24 +02:00
Ondřej Samohel
0e126a2d82
♻️ handle multiple versions 2022-08-01 18:01:25 +02:00
Ondřej Samohel
bb10fdd041
🚨 f-strings and cosmetic issues 2022-08-01 18:00:14 +02:00
Jakub Trllo
9fd2a7b978 simplified repository resolving using OpenPypeVersion.get_installed_version 2022-04-22 19:04:30 +02:00
Jakub Trllo
a003bceb16 removed live_repo_dir usage 2022-04-22 18:59:14 +02:00
Jakub Trllo
fc73f253b2 remove copied zip from version repository after extraction 2022-04-22 11:35:50 +02:00
Jakub Trllo
4bae7484fa modified adding paths from archive to sys path 2022-04-22 11:32:48 +02:00
Jakub Trllo
38d93c1b46 don't look for repos directory in add_paths_from_directory 2022-04-22 11:30:40 +02:00
Jakub Trllo
db10343a29 removed repos from filter list 2022-04-22 11:27:40 +02:00
Jakub Trllo
a616611b6c don't use repos subdir to create zip 2022-04-22 11:27:30 +02:00
Jakub Trllo
c86f62e2d2 ignore missing repos folder 2022-04-20 13:25:34 +02:00
Roy Nieterau
86c6e51263 Refactor remaining usage of get_openpype_path_from_db -> get_openpype_path_from_settings 2022-02-08 23:05:51 +01:00
Roy Nieterau
04613be3a1 Remove unused import 2022-02-08 22:59:44 +01:00
Roy Nieterau
2373d13348 Re-use global settings more since the data is large and query is slow over network (2s+) 2022-01-29 15:13:12 +01:00
Roy Nieterau
50d1f8c4be Optimize validate dir/zip logic
- Opt out early if file list differs, no need to check checksums if file list differs
- Remove "checksums" from the set instead of a list
2022-01-29 14:12:22 +01:00
iLLiCiTiT
e512965a3e fix usage of not existing method 'get_local_live_version' 2022-01-17 18:34:49 +01:00
Ondrej Samohel
6df5488cce
fix type 2022-01-12 18:07:31 +01:00
iLLiCiTiT
53e362f3db renamed build verion to installed version 2021-12-10 10:40:42 +01:00
iLLiCiTiT
1b4e5dd443 replaced get_local_live_version with get_installed_version_str 2021-12-10 10:40:20 +01:00
iLLiCiTiT
6b5706ef78 added method to get installed version 2021-12-10 10:38:23 +01:00
iLLiCiTiT
ad99d2a841 added few docstrings 2021-12-09 12:21:12 +01:00
iLLiCiTiT
43c552dbbf added option to pass global settings to 'get_expected_studio_version_str' 2021-12-09 12:13:36 +01:00
iLLiCiTiT
3e04f294e0 removed unused method 2021-12-09 12:02:44 +01:00
iLLiCiTiT
105e6241b4 fixed zip check 2021-12-09 12:02:32 +01:00
iLLiCiTiT
bc301fc789 modified get latest versions 2021-12-09 12:02:19 +01:00
iLLiCiTiT
d22214415c simplified get build version 2021-12-09 11:59:57 +01:00
iLLiCiTiT
77730e8d2b added new methods to find openpype versions 2021-12-09 11:35:03 +01:00
iLLiCiTiT
1a60f7fa0f keep previous find_openpype implementation 2021-12-09 11:33:32 +01:00
iLLiCiTiT
715e1a6d32 cache build version is it probably won't change during process time 2021-12-08 19:06:16 +01:00
iLLiCiTiT
a160e22290 have ability to get build version 2021-12-08 19:03:29 +01:00
iLLiCiTiT
02b8e57a81 return None from get_latest_version if there are any openpype versions available 2021-12-08 19:03:16 +01:00
iLLiCiTiT
d2edf3da74 don't return latest version 2021-12-08 19:02:37 +01:00
iLLiCiTiT
500339088d added new exception into tools 2021-12-07 18:24:25 +01:00
iLLiCiTiT
e4534c5074 added new message dialog to show a dialog 2021-12-07 18:21:05 +01:00
iLLiCiTiT
db467dcbfd added function to get openpype icon to tools.py 2021-12-07 18:13:56 +01:00
iLLiCiTiT
87b606582a do not create new qapplication if already exists 2021-12-07 18:10:13 +01:00
iLLiCiTiT
8f0f076980 added functions to get expected studio version 2021-12-06 11:51:35 +01:00
iLLiCiTiT
a14662bcce fix args conditions 2021-12-03 18:35:21 +01:00
iLLiCiTiT
73f2981987 use new functions in get_available_versions 2021-12-03 18:27:14 +01:00
iLLiCiTiT
6762d66459 added functions to retrieve local and remote versions separatelly 2021-12-03 18:26:54 +01:00
iLLiCiTiT
e9b0347d83 changed static method to class method 2021-12-03 18:26:30 +01:00