Commit graph

31 commits

Author SHA1 Message Date
Roy Nieterau
359d685644 Draft to allow "inventory" actions to be supplied by a Module or Addon. 2023-06-15 14:35:47 +02:00
Sharkitty
cffe72f001 register inventory actions 2023-05-02 17:09:26 +02:00
Roy Nieterau
b05afaa837
Global: Optimize anatomy formatting by only formatting used templates instead (#4784)
* TemplatesDict can create different type of template

* anatomy templates can be formatted on their own

* return objected templates on get item

* '_rootless_path' is public classmethod 'rootless_path_from_result'

* 'AnatomyStringTemplate' expect anatomy templates

* remove key getters

* fix typo 'create_ojected_templates' -> 'create_objected_templates'

* Fix type of argument

* Fix long line

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Use format strict + code cosmetics

* Get template from the formatted data

* Update openpype/plugins/publish/integrate_legacy.py

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

* Cosmetics

* Move template obj definition for path up + rename to `path_template_obj`

* Refactor more cases from `anatomy.format` to template obj `.format_strict`

* Refactor more cases from `anatomy.format` to template obj `.format_strict`

* Refactor more cases from `anatomy.format` to template obj `.format_strict`

---------

Co-authored-by: Jakub Trllo <jakub.trllo@gmail.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-04-17 14:53:15 +02:00
Jakub Trllo
fb56e169dc check for source class instead of for function by name availability 2023-02-01 12:34:21 +01:00
iLLiCiTiT
b75768249c added function to get current host name 2023-01-16 21:45:17 +01:00
iLLiCiTiT
2c35bda381 added functions for global access to current context 2023-01-16 21:45:09 +01:00
Jakub Trllo
27cb6512cf added more collectors of plugin types and use them on openpype plugin installation 2022-12-08 12:19:30 +01:00
Jakub Trllo
48c4c238f5 added helper function to get fake process id 2022-10-27 18:38:28 +02:00
Félix David
77f8a8ad0c Fix: Inventory action path wrong functions leads to errors 2022-10-12 19:26:23 +02:00
Jakub Trllo
097546e429 moved 'update_current_task' to context tools and renamed to 'change_current_context' 2022-08-22 14:19:53 +02:00
Jakub Trllo
969241426a moved and modified 'compute_session_changes' into context tools 2022-08-22 14:19:17 +02:00
Jakub Trllo
c9289630e0 moved 'get_custom_workfile_template' as 'get_custom_workfile_template_from_session' into context tools 2022-08-09 16:17:23 +02:00
Jakub Trllo
bf463afc41 moved 'get_workdir_from_session' to context tools 2022-08-09 13:50:16 +02:00
Jakub Trllo
acb4b28b97 moved filter pyblish plugins function to openpype.pipeline.publish.lib 2022-08-01 14:14:33 +02:00
Jakub Trllo
2a3255a9cb added function which calculate template data based on context session 2022-07-26 16:40:35 +02:00
Jakub Trllo
33464794be Merge branch 'develop' into feature/OP-3593_Move-load-functions-into-pipeline 2022-07-25 10:35:33 +02:00
Jakub Trllo
c8d18dafa1 'is_latest' moved to pipeline as 'is_representation_from_latest' 2022-07-15 17:46:21 +02:00
Jakub Trllo
636e46cfd6 implemented functions to query project and asset documents based on current context 2022-07-15 15:29:18 +02:00
Jakub Trllo
b9be234969 removed default host used on deregister of host 2022-07-15 15:19:07 +02:00
Milan Kolar
f277640da5
Merge pull request #3337 from pypeclub/feature/OP-3315_Host-implementation-defined-with-class 2022-07-04 15:20:57 +02:00
Jakub Trllo
b6ea950b3a use new Anatomy import in rest of pipeline 2022-06-29 15:22:49 +02:00
Jakub Trllo
f846ef45d4 removed signature validation from host registration 2022-06-28 10:52:12 +02:00
Jakub Trllo
8b1576aed2 remove unused line 2022-06-20 11:22:05 +02:00
Jakub Trllo
cbb876c155 moved timer change on task change to timers manager module 2022-06-16 17:43:18 +02:00
Jakub Trllo
0c28a29650 trigger on_host_install method on host installation 2022-06-16 17:05:48 +02:00
Petr Kalis
56a3dae94b Fix - added local targets to install host
By default when host is started, it should register targets to 'local', only if specific env var is set (OPENPYPE_REMOTE_PUBLISH) it should be 'remote'. This means
farm is using host to collect/validate/extract and publish on behalf of artist.
2022-06-08 14:46:16 +02:00
Jakub Trllo
dadf816d3d fix registering of paths 2022-05-13 12:21:42 +02:00
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
29cbc12ca8 install creator plugins from modules on openpype plugin install 2022-05-13 11:47:03 +02:00
Jakub Trllo
3772e1d68c replace avalon imports in pipeline 2022-04-14 12:36:53 +02:00
Jakub Trllo
a5dd9f4e0e renamed process_context to context_tools 2022-04-12 18:55:57 +02:00
Renamed from openpype/pipeline/process_context.py (Browse further)