Commit graph

1122 commits

Author SHA1 Message Date
Mustafa-Zarkash
f84da23f03 merge develop 2023-09-07 21:15:31 +03:00
Jakub Ježek
0fa4acb98b
Merge pull request #5497 from ynput/enhancement/abstracting_colorspace_publishing_functions 2023-09-07 14:54:24 +02:00
Ondřej Samohel
c92541f5d4
Merge branch 'develop' into enhancement/OP-5600_Houdini-manage-colorspaces-in-review-ROP 2023-09-07 11:17:01 +02:00
Roy Nieterau
135cb28512 Add deprecation warning to usage of fname on Loader plugins 2023-09-06 22:17:21 +02:00
Jakub Trllo
c3847aec51 removed '_method_is_overriden' and use explicit class checks 2023-09-05 17:55:37 +02:00
Jakub Trllo
e2c3a0f5be better check of overriden '__init__' method 2023-09-05 17:33:25 +02:00
Jakub Ježek
aeef95f250
Merge branch 'develop' into enhancement/abstracting_colorspace_publishing_functions 2023-09-04 17:17:27 +02:00
Jakub Ježek
6ef67e3ff9
Update openpype/pipeline/colorspace.py
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-09-04 17:17:15 +02:00
Jakub Trllo
35074e8db8
Fix versions in deprecated message 2023-09-04 11:49:14 +02:00
Mustafa-Zarkash
c2b948d35f BigRoy's comments 2023-09-04 11:09:47 +03:00
Jakub Trllo
88ab56db12 backwards compatibility is kept with waring message 2023-09-01 18:16:54 +02:00
Jakub Trllo
fee3c950d3 removed deprecated 'abstractproperty' 2023-09-01 17:00:14 +02:00
Jakub Trllo
78b5ae149a only project settings are passed by default to create plugin 2023-09-01 15:54:42 +02:00
Jakub Ježek
cc8cecbc04
Merge pull request #5502 from ynput/enhancement/persistant-staging-dir-at-representation 2023-08-31 23:33:35 +02:00
Jakub Jezek
d4393bad6b
changing signature since we only need context.data for input. 2023-08-31 23:18:52 +02:00
Jakub Ježek
1cc94537ba
Merge branch 'develop' into enhancement/deadline-remove-toBeRenderedOn 2023-08-31 22:45:16 +02:00
Mustafa Zarkash
6191038dbd
Merge branch 'develop' into enhancement/OP-5600_Houdini-manage-colorspaces-in-review-ROP 2023-08-31 17:12:05 +03:00
Mustafa-Zarkash
41babcaa85 update doc strings 2023-08-30 22:43:52 +03:00
Mustafa-Zarkash
668bcb2d40 BigRoy's Comments 2023-08-30 22:28:43 +03:00
Mustafa-Zarkash
9ff5c071b3 resolve conversations 2023-08-29 21:05:43 +03:00
Jakub Ježek
2eefa229c0
Merge branch 'develop' into enhancement/abstracting_colorspace_publishing_functions 2023-08-29 14:27:04 +02:00
Roy Nieterau
f95c4f27ce Use logging module style formatting 2023-08-28 13:48:20 +02:00
Roy Nieterau
6e50d1a814 Fix log message - actually provide plugin name after "Plugin" 2023-08-28 12:47:43 +02:00
Jakub Ježek
39f8e65177
if no Tag in representation avoiding raise (#5511) 2023-08-25 16:20:20 +02:00
Jakub Jezek
8260eb36bd
implementing abstarctions from colorspace 2023-08-25 13:39:56 +02:00
Jakub Jezek
499b4623a3
adding abstraction of publishing related functions 2023-08-25 13:39:34 +02:00
Jakub Jezek
e9952b5d53
global: avoiding cleanup of flagged representation 2023-08-25 11:27:44 +02:00
Jakub Jezek
93f897c780
deadline: adding collect farm target and removing redundant key 2023-08-24 13:59:34 +02:00
Petr Kalis
c5d882c7ea
Maya: Fix wrong subset name of render family in deadline (#5442)
* Use existing subset_name as group_name by default

New publisher already carries real subset name (`renderModelingMain`), it should build group name only if subset_name is weird.

* Let legacy conversion of render instance recreate subset_name

Without it would create subset names like `renderingMain` which are not matching to newly created `renderMain` instances. This would cause issue in version restarts.

* Let Render Creator for Maya create proper subset_name

It was using hardcoded logic not matching other DCCs.

* Hound

* Fix method calls

* Fix typos

* Do not import unnecessary

* Capitalize is wrong function for here

* Overwrite get_subset_name for standardized results

It makes sense to override this method for other parts of code getting same results.

* Force change

It seems that GH doesn't recognize changes with adding()

* Update openpype/hosts/maya/plugins/create/convert_legacy.py

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

* Hound

---------

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-08-17 10:33:52 +02:00
Jakub Trllo
cf565a205e
Chore: Default variant in create plugin (#5429)
* define constant 'DEFAULT_VARIANT_VALUE'

* 'get_default_variant' always returns string

* added 'default_variant' property for backwards compatibility

* added more options to receive default variant

* added backwards compatibility for 'default_variant' attribute

* better autofix for backwards compatibility

* use 'DEFAULT_VARIANT_VALUE' in publisher UI

* fix docstring

* Use 'Main' instead of 'main' for default variant
2023-08-15 13:36:40 +02:00
Jakub Ježek
a88d0c6319
Merge pull request #5446 from ynput/bugfix/farm_publishing_asymmetric_handles
Farm publishing: asymmetric handles fixed
2023-08-14 22:18:25 +02:00
Mustafa-Zarkash
256ffee407 resolve some conversations 2023-08-14 15:54:14 +03:00
Jakub Trllo
eaf248fefe
AYON: Thumbnails cache and api prep (#5437)
* moved thumbnails cache from ayon api to server codebase

* use cache in AYON thumbnail resolver and prepare it for new api methods
2023-08-11 16:22:07 +02:00
Jakub Jezek
fdc8ccd419
farm: asymmetric handles fixed 2023-08-11 14:14:56 +02:00
Petr Kalis
899482c0af
Add automated targets for tests (#5443)
Without it plugins with 'automated' targets won't be triggered (eg `CloseAE` etc.)
2023-08-11 11:17:38 +02:00
Toke Jepsen
7973354fef
Option to start versioning from 0 (#5262)
* Initial version, replaced all hard 1 with 0

* ftrack v0 works only with version cast as str

* workfile tools can set 0

* fixed hound stuff

* fix for auto versioning not working anymore

* fix for not incrementing version

* hound fix

* Settings determined versioning start

* Code cosmetics

* Better failsafe for collecting settings.

* Initial profiles commit

* Hound

* Working profiles

* Update openpype/hosts/webpublisher/plugins/publish/collect_published_files.py

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

* Update openpype/hosts/webpublisher/plugins/publish/collect_published_files.py

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

* Update openpype/plugins/publish/collect_anatomy_instance_data.py

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

* Update openpype/settings/entities/schemas/projects_schema/schema_project_global.json

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

* Illicitit feedback

* Update openpype/pipeline/context_tools.py

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

* Fix collect_published_files

* Working version

* Hound

* Update openpype/pipeline/version_start.py

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

* Update openpype/pipeline/version_start.py

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

* Update openpype/tools/push_to_project/control_integrate.py

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

* Update openpype/hosts/photoshop/plugins/publish/collect_published_version.py

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

* Update openpype/hosts/photoshop/plugins/publish/collect_published_version.py

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

* Update openpype/hosts/webpublisher/plugins/publish/collect_published_files.py

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

* Update openpype/hosts/webpublisher/plugins/publish/collect_published_files.py

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

* Update openpype/hosts/webpublisher/plugins/publish/collect_published_files.py

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

* Update openpype/pipeline/workfile/path_resolving.py

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

* Update openpype/settings/__init__.py

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

* Hound

* Illicitit feedback

* Replace host.name

* Update openpype/plugins/publish/collect_anatomy_instance_data.py

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

* reuse 'task_name' and 'task_type'

* skip hero integration when source version in 0

---------

Co-authored-by: maxpareschi <max.pareschi@gmail.com>
Co-authored-by: Jakub Ježek <jakubjezek001@gmail.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Co-authored-by: Jakub Trllo <jakub.trllo@gmail.com>
2023-08-10 13:31:49 +02:00
Mustafa Zarkash
a169be7755
Merge branch 'develop' into enhancement/OP-5600_Houdini-manage-colorspaces-in-review-ROP 2023-08-09 20:36:05 +03:00
Mustafa-Zarkash
c8e66fd632 resolve some conversations 2023-08-09 20:34:05 +03:00
Jakub Jezek
7861b02837
fixing inconsistency with input arguments 2023-08-08 15:46:43 +02:00
Jakub Jezek
fe2e6276f3
nuke: implementation of delete_placeholder
to creator and loader plugins
2023-08-08 15:44:20 +02:00
Jakub Trllo
ae3eb37776
AYON: Add folder to template data (#5417)
* added 'folder[name]' to template data

* removed asset <-> folder conversion from conversion utils

* use folder[name] in maya namespace
2023-08-07 17:22:28 +02:00
Jakub Trllo
90a7e33a26
Webpublisher: Self contain test publish logic (#5414)
* implement test logic of webpublisher in webpublisher

* simplified 'remote_publish'

* removed unused 'raise_error' argument
2023-08-07 16:53:09 +02:00
Jakub Jezek
0a765c4528
adding input arguments for env 2023-08-04 16:25:50 +02:00
Petr Kalis
d33d20b548
Nuke: returned not cleaning of renders folder on the farm (#5374)
* OP-6439 - mark farm rendered images for deletion only if not persistent

Farm produces images into `renders` folder, which might be set as persistent for some hosts (Nuke). Mark rendered images for explicit deletion if they are not stored in persistent staging folder.

* OP-6439 - allow storing of stagingDir_persistent into metadata.json

Instance could carry `stagingDir_persistent` flag denoting that staging dir shouldnt be deleted. This allow to propagate this into farm publishing.

TODO - shouldnt this be on representation as stagingDir is there and each repre could have different stagingDir?

* OP-6439 - mark all Nuke staging dir as persistent

Backward compatibility as previously Nuke kept images rendered in `renders` eg. stagingDir. There are workflows which rely on presence of files in `renders` folder.

* Update openpype/pipeline/farm/pyblish_functions.py

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

---------

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-08-01 15:37:57 +02:00
Petr Kalis
65c9582d55
Nuke: farm rendering of prerender ignore roots in nuke (#5366)
* OP-6407 - fix wrong value used in comparison

`prerender.farm` is correct value for prerender family sent to farm

* OP-6407 - added test class for prerender family
2023-07-31 18:28:39 +02:00
Jakub Ježek
5a5285337a
Merge branch 'develop' into enhancement/OP-3555_Nuke-Render-and-Prerender-nodes-Process-Order 2023-07-31 16:34:19 +02:00
Jakub Trllo
7b5e716147
Chore: Schemas inside OpenPype (#5354)
* moved schemas to openpype content

* fix schema discovery
2023-07-27 10:20:36 +02:00
Milan Kolar
93260948bf
Merge pull request #5297 from tokejepsen/bugfix/maya_include_disabled_plugins 2023-07-27 09:55:53 +02:00
Mustafa Zarkash
afbd3d392d
Fix colorspace compatibility check (#5334)
* update compatibility_check

* update doc-string
2023-07-25 15:43:59 +02:00
Toke Jepsen
7fdfc78c2c
Update openpype/pipeline/create/context.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-07-24 10:12:51 +01:00