Commit graph

164 commits

Author SHA1 Message Date
Jakub Trllo
40ea037ed4 register module publish plugins during openpype plugin installation instead of using environment variable 2022-05-13 12:08:30 +02:00
Jakub Trllo
f3cf21ebb4 avoid duplicated calls 2022-05-04 17:45:54 +02:00
Jakub Trllo
2ec9bcfca1 reduced duplicated code when OP version is not allowed 2022-05-04 17:43:17 +02:00
Jakub Trllo
313382f2fb fix OPENPYPE_ROOT usage 2022-05-03 12:46:40 +02:00
Jakub Trllo
712d4c72ab moved print and validate versions logic to separated functions 2022-05-03 12:23:36 +02:00
Jakub Trllo
518ab19a0b fix missing openpype_versions variable for headless mode 2022-05-03 12:11:23 +02:00
Jakub Trllo
45a5538a5c removed backwards compatibility 2022-04-28 16:50:05 +02:00
Jakub Trllo
a579cd31c8 Merge branch 'develop' into enhancement/OP-2858_move-AvalonMongoDB-logic 2022-04-25 18:03:38 +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
613e14c012 don't look into repos directory to be added to sys path 2022-04-22 11:25:40 +02:00
Jakub Trllo
a118c1e980 check global settings on start if logs should be send to mongo 2022-04-19 18:51:05 +02:00
Jakub Trllo
d71baa8390 added debug argument to global sys argv handling 2022-04-19 18:50:11 +02:00
Jakub Trllo
9ff8f3011b added global verbose argument which can change log level 2022-04-19 18:49:54 +02:00
Jakub Trllo
89eeb4b31b don't set all environments 2022-04-19 18:17:24 +02:00
Jakub Trllo
3babf06542 changed how and if are repos added to sys path 2022-04-19 18:17:05 +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
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
b088e952e6 Only construct info when needed + optimize "silent commands" lookup
- Lookup in "silent commands" as `set`
- Do "silent commands" lookup only once instead of in the for loop
- Move imports closer to where they are needed (e.g. don't import terminal if we don't use it)
2022-01-29 14:39:00 +01:00
iLLiCiTiT
247c931c0f Merge branch 'develop' into enhancement/OP-2075_version-handling 2022-01-04 16:53:23 +01:00
Jakub Trllo
d18eee883b
Merge pull request #2401 from pypeclub/feature/OP-2013_MongoDB-Ability-to-specify-replica-set-groups
General: MongoDB ability to specify replica set groups
2021-12-22 12:57:31 +01:00
iLLiCiTiT
1914c144cd uses get_default_components for log components 2021-12-22 11:38:43 +01:00
Petr Kalis
1cbcdba969 OP-2053 - merge develop 2021-12-14 15:26:15 +01:00
Petr Kalis
148bb47b7d OP-2053 - allow injection of AVALON_DB env var as a db 2021-12-14 10:54:10 +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
d219ff0cd1 use new methods in find frozen openpype 2021-12-09 12:04:13 +01:00
iLLiCiTiT
27df5b5d92 use new methods in bootstrap from code 2021-12-09 12:03:50 +01:00
iLLiCiTiT
d71b8e2e40 modified use version argument handling to be able pass "latest" 2021-12-09 12:03:23 +01:00
iLLiCiTiT
406ece7e44 use new methods in start.py 2021-12-08 19:03:55 +01:00
iLLiCiTiT
52c5424f2b modified messages 2021-12-08 18:31:50 +01:00
iLLiCiTiT
ce20415727 added option to pass "latest" to use version argument 2021-12-08 18:31:40 +01:00
iLLiCiTiT
767ef9d715 sort versions earlier 2021-12-08 18:31:14 +01:00
iLLiCiTiT
b0099ea5d4 skipped already done imports 2021-12-07 18:39:45 +01:00
iLLiCiTiT
a98bdc7d7f catch and handle OpenPypeVersioNotFound exception 2021-12-07 18:39:24 +01:00
iLLiCiTiT
9b369de50c raise OpenPypeVersionNotFound in run from code too 2021-12-07 18:38:43 +01:00
iLLiCiTiT
5d03abe627 removed play animation part 2021-12-07 18:30:51 +01:00
iLLiCiTiT
21b9926be4 simplified _find_frozen_openpype 2021-12-07 18:30:15 +01:00
Petr Kalis
c0ad1b5d8b OP-2042 - use existing value of env var OPENPYPE_DATABASE_NAME if possible
For better automatic testing
2021-12-07 11:01:55 +01:00
Ondrej Samohel
383307d888
tweak tests and add get latest version 2021-12-03 13:51:03 +01:00
iLLiCiTiT
d31ba09b6c fix check of oiio path for darwin 2021-11-26 11:41:54 +01:00
iLLiCiTiT
fb003bf9b0 fix import 2021-11-25 12:20:43 +01:00
iLLiCiTiT
cec39c9a67 validate existence of executable instead of executing them 2021-11-25 11:28:24 +01:00
Petr Kalis
6a2e804c46 Fix - add check for presence of destination 2021-11-05 17:48:52 +01:00
Petr Kalis
4283345694 Fix - switch back to Popen 2021-11-05 17:47:08 +01:00
Petr Kalis
51aa86da7a Fix - used osascript 2021-11-05 17:27:54 +01:00
Petr Kalis
95fd21999e Fix - switched source destination 2021-11-05 16:46:20 +01:00
Petr Kalis
a61ae434e2 Fix - added sudo 2021-11-05 16:32:35 +01:00
Petr Kalis
3872b3909e Fix - add exception handling 2021-11-05 14:21:12 +01:00
Petr Kalis
0a9d2cde7f Fix - ln -s on Linux and Popen is weird 2021-11-05 12:01:10 +01:00
Petr Kalis
efc4ba8b6c Fix - different command used for Linux and Mac OS 2021-11-05 09:50:37 +01:00