Commit graph

1189 commits

Author SHA1 Message Date
Jakub Trllo
3d41ee6591
TrayPublisher & StandalonePublisher: Specify version (#5142)
* modified simple creator plugin to be able handle version control

* added 'allow_version_control' to simple creators

* don't remove 'create_context' from pyblish context during publishing

* implemented validator for existing version override

* actually fill version on collected instances

* version can be again changed from standalone publisher

* added comment to collector

* make sure the version is set always to int

* removed unused import

* disable validator if is disabled

* fix filtered instances loop
2023-06-16 16:26:04 +02:00
Jakub Jezek
4d76c2520f
cleanup 2023-05-30 17:19:00 +02:00
Jakub Jezek
de72f26f94
adding check also against class attribute 2023-05-30 17:09:54 +02:00
Jakub Jezek
b47143b472
collect frames to fix settings 2023-05-25 17:41:36 +02:00
Jakub Trllo
124493affd
Publisher: UI works with instances without label (#5032)
* implemented helper function to get instance label

* use 'get_publish_instance_label' in some of existing plugins

* use 'get_publish_instance_label' in publisher controller
2023-05-25 11:51:44 +02:00
Petr Kalis
e5733450e4
Global: plugins cleanup plugin will leave beauty rendered files (#4790)
* OP-1066 - add expected files in Deadline into explicit cleanup

Implicit cleanup doesn't work correctly, safest option is for DL submissions to mark only files that should be rendered to be deleted after successful publish.

* OP-1066 - moved collecting of expected files into collector

Parsing of json didn't have context implemented, it is easier to mark expected files in collector.

* OP-4793 - delete full stagingDir

Reviews might be extracted into staging dir, should be removed too.

* Revert "OP-4793 - delete full stagingDir"

This reverts commit 8b002191e1ad3b31a0cbe439ca1158946c43b049.

* OP-1066 - added function to mark representation files to be cleaned up

Should be applicable for all new representations, as reviews, thumbnails, to clean up their intermediate  files.

* OP-1066 - moved files to better file

Cleaned up occurences where not necessary.

* OP-1066 - removed unused import

* OP-1066 - removed unnecessary setdefault

* OP-1066 - removed unnecessary logging

* OP-1066 - cleanup metadata json

Try to cleanup parent folder if empty.
2023-05-24 12:18:57 +02:00
Roy Nieterau
17a38c32a4
Enhancement: Improve logging levels and messages for artist facing publish reports (#5018)
* Tweak log levels and message to be more informative to artist in report page

* Tweak levels and clarity of logs

* Tweak levels and clarity of logs + tweak grammar

* Cosmetics

* Improve logging

* Simplify logging

* Convert to debug log if it's skipping thumbnail integration if there's no thumbnail whatsoever to integrate

* Tweak to debug since they only show representation ids hardly understandable to the artist

* Match logging message across hosts + include filepath for full clarity

* Tweak message to clarify it only starts checking and not that it requires filling + to debug log

* Tweak to debug log if there's basically no thumbnail to integrate at the end

* Tweak log levels

- Artist doesn't care what's prepared, especially since afterwards it's logged what gets written to the database anyway

* Log clearly it's processing a legacy instance

* Cosmetics
2023-05-24 10:54:31 +02:00
Ondrej Samohel
feaa01eff5
🔥 remove obsolete validator 2023-05-05 11:49:47 +02:00
Roy Nieterau
551146ebe9 Merge remote-tracking branch 'upstream/develop' into substance_integration 2023-04-24 14:44:29 +02:00
Jakub Jezek
f05f7510b4
adding slate condition to plugin 2023-04-20 21:39:49 +02:00
Roy Nieterau
3c56b89606
Merge branch 'develop' into substance_integration 2023-04-19 10:18:37 +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
Ondřej Samohel
84cc7e12cc
Merge branch 'develop' into bugfix/OP-3951_Deadline-checking-existing-frames-fails-when-there-is-number-in-file-name 2023-04-13 12:35:26 +02:00
Ondřej Samohel
f8386fe66a
Merge branch 'develop' into substance_integration 2023-04-13 12:01:20 +02:00
Ondřej Samohel
25bb76226b
Merge branch 'develop' into instance_collect_no_asset_framerange 2023-04-13 11:58:33 +02:00
Ondřej Samohel
707eedf98d
Merge branch 'develop' into houdini_opengl 2023-04-12 14:28:49 +02:00
Jakub Trllo
d8987149ad
General: Extract burnin hosts filters (#4749)
* remove hosts filter in ExtractBurnin

* skip instances without representations instead of crash

---------

Co-authored-by: Jakub Ježek <jakubjezek001@gmail.com>
2023-04-12 10:34:11 +02:00
Roy Nieterau
5cca466c04
Merge branch 'develop' into houdini_opengl 2023-04-05 12:34:53 +02:00
Jakub Jezek
1944643d78
make label key optional on instance.data 2023-04-05 11:39:28 +02:00
Roy Nieterau
4633f97cd2
Merge branch 'develop' into substance_integration 2023-04-04 16:27:45 +02:00
Roy Nieterau
af7e4d035f
Merge branch 'develop' into houdini_opengl 2023-04-04 12:05:12 +02:00
Roy Nieterau
eb0f15002b
Merge branch 'develop' into houdini_opengl 2023-04-04 02:06:20 +02:00
Roy Nieterau
439967c8c2 Merge remote-tracking branch 'upstream/develop' into substance_integration 2023-04-04 00:15:30 +02:00
Roy Nieterau
93f7eedfe5
Merge branch 'develop' into instance_collect_no_asset_framerange 2023-04-03 18:20:15 +02:00
Roy Nieterau
0b590ea31d Merge remote-tracking branch 'upstream/develop' into refactor/remove_handles
# Conflicts:
#	openpype/hosts/maya/plugins/publish/collect_review.py
2023-04-03 18:07:15 +02:00
Milan Kolar
852f6fedd0
Merge pull request #4740 from BigRoy/extract_burnin_fix_env_pythonhome 2023-04-03 17:59:12 +02:00
Roy Nieterau
4bdf5b79b8
Improve speed of Collect Custom Staging Directory 2023-04-03 17:44:21 +02:00
Roy Nieterau
053021eb64 Merge remote-tracking branch 'upstream/develop' into substance_integration 2023-04-03 11:33:00 +02:00
Jakub Ježek
ca92f15042
Merge branch 'develop' into extract_burnin_fix_env_pythonhome 2023-03-31 22:33:37 +02:00
Jakub Ježek
21db6ee9fc
Merge branch 'develop' into instance_collect_no_asset_framerange 2023-03-31 22:03:21 +02:00
Jakub Ježek
a0b31195b5
Merge branch 'develop' into houdini_opengl 2023-03-31 22:00:26 +02:00
Jakub Ježek
c0d4ab010a
Merge branch 'develop' into refactor/remove_handles 2023-03-31 21:58:53 +02:00
Toke Stuart Jepsen
7fb5242fca Merge branch 'develop' into feature/OP-3926_gpu-cache
# Conflicts:
#	openpype/settings/defaults/project_settings/maya.json
#	openpype/settings/entities/schemas/projects_schema/schemas/schema_maya_publish.json
2023-03-31 16:20:08 +01:00
Roy Nieterau
74f73969ad
Remove "preview" data from representation (#4759)
* Remove "preview" data from representation

* pop "preview" from component in standalone publisher

---------

Co-authored-by: Jakub Trllo <jakub.trllo@gmail.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-03-31 17:08:58 +02:00
Roy Nieterau
0a5e82f132 Merge remote-tracking branch 'upstream/develop' into houdini_opengl 2023-03-31 16:18:23 +02:00
Jakub Ježek
d933917a53
Merge branch 'develop' into refactor/cleanup_grammar 2023-03-31 14:28:22 +02:00
Roy Nieterau
5b163fe84d
Apply suggestions from code review
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-03-30 22:40:44 +02:00
Jakub Trllo
ac4ed94a97
Merge branch 'develop' into extract_burnin_fix_env_pythonhome 2023-03-30 19:59:38 +02:00
Jakub Trllo
d2e48426a6
add all sites of previous files to new files (#4737)
Co-authored-by: Jakub Ježek <jakubjezek001@gmail.com>
2023-03-30 19:04:44 +02:00
Roy Nieterau
3fae1f8521 Just some grammar tweaks 2023-03-30 13:59:22 +02:00
Petr Kalis
028d46597e Merge remote-tracking branch 'origin/bugfix/OP-3951_Deadline-checking-existing-frames-fails-when-there-is-number-in-file-name' into bugfix/OP-3951_Deadline-checking-existing-frames-fails-when-there-is-number-in-file-name 2023-03-30 13:43:11 +02:00
Petr Kalis
97d5b187e8 OP-3951 - updated logic
Doesn't make sense to validate sequence for single frame.
Updated tests accordingly. No sense in testing single frames so widely.
2023-03-30 13:42:30 +02:00
Roy Nieterau
d958f989e0 Remove "handles" backwards compatibility 2023-03-29 23:57:35 +02:00
Roy Nieterau
391b7450dd Don't pass empty env since it didn't do that prior to this either 2023-03-29 17:58:22 +02:00
Roy Nieterau
669a2256ef Merge develop 2023-03-29 14:46:41 +02:00
Roy Nieterau
6405700ed9 Merge develop 2023-03-29 14:36:31 +02:00
Petr Kalis
c5172b7410
OP-3951 - update imports
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-03-29 13:17:24 +02:00
Toke Stuart Jepsen
cfb9293348 Merge branch 'develop' into feature/OP-3926_gpu-cache
# Conflicts:
#	website/docs/admin_hosts_maya.md
2023-03-29 10:26:50 +01:00
Toke Jepsen
b7f6589886
Merge branch 'develop' into feature/OP-3278_camera-focal-length 2023-03-29 11:12:09 +02:00
Petr Kalis
93d98c3f9c OP-3951 - use ext on representation
Without it ass.gz files won't work
2023-03-27 16:55:19 +02:00