Commit graph

109 commits

Author SHA1 Message Date
Jakub Trllo
b1796d6603 do not add schema to zip files 2023-09-19 17:41:44 +02:00
Toke Jepsen
61f7ac2893
Windows: Support long paths on zip updates. (#5265)
* Extract long paths

* Working version

* Docs string and early bail out

* Update igniter/bootstrap_repos.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* Update igniter/bootstrap_repos.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

---------

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-07-18 12:16:25 +02:00
Petr Kalis
e42aebc1f2 Global: custom location for OP local versions (#4673)
* OP-5221 - updated settings for custom location of artist zip folder

* OP-5221 - updated igniter for custom location of artist zip folder

Introduced new function
Updated data_dir only after access to Mongo (DB)

* OP-5221 - pushed resolving of local folder to OpenPypeVersion

Logic in OpenPypeVersion is used even in openpype_version.py

* OP-5221 - updates after review

* OP-5221 - fix paths should be single paths

* OP-5221 - refactor to cls

* OP-5221 - refactor

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* OP-5221 - fix defaults for single paths

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* OP-5221 - remove unwanted line

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* OP-5221 - update look of Settings

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-07-11 17:50:51 +02:00
Jakub Trllo
5fbbef5486 Merge branch 'develop' into release/3.15.x
# Conflicts:
#	openpype/hosts/photoshop/plugins/create/create_legacy_image.py
2022-11-24 11:58:27 +01:00
Ondřej Samohel
86cd0e60f2
Merge pull request #3979 from pypeclub/enhancement/remove-staging-logic-on-version
Remove staging logic set by OpenPype version
2022-11-11 18:43:16 +01:00
Ondřej Samohel
69f4253084
🐛 fix regex to match semver better
this fixes issues determining staging version from file name where multiple hyphens are used in pre-releas/buildmetadata part of the version string
2022-11-10 12:07:23 +01:00
Jakub Trllo
0818edb58b Merge branch 'develop' into release/3.15.x 2022-11-01 14:02:48 +01:00
Ondřej Samohel
3ae02cfb2b
🐛 handle missing directory 2022-10-26 13:51:03 +02:00
Jakub Trllo
ec0855ce74 one more fix of list comprehention 2022-10-25 18:54:13 +02:00
Jakub Trllo
929db9fd13 fixed 'get_latest_version' 2022-10-25 16:46:53 +02:00
Jakub Trllo
2b6b5668b8 Merge branch 'release/3.15.x' into enhancement/remove-staging-logic-on-version 2022-10-24 16:55:18 +02:00
Ondrej Samohel
84b3bc3db2
♻️ remove staging logic 2022-10-13 11:34:57 +02:00
Ondřej Samohel
ed6cadb22b
🚧 remove staging from version logic 2022-10-12 18:25:14 +02:00
Ondřej Samohel
1e98372f6a
🐛 create version directory if it doesn't exist 2022-09-23 15:13:17 +02:00
Ondřej Samohel
4cdd23021b
🐛 fix version resolution 2022-08-30 13:17:18 +02:00
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
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
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
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