Commit graph

112 commits

Author SHA1 Message Date
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
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
Roy Nieterau
4633f97cd2
Merge branch 'develop' into substance_integration 2023-04-04 16:27:45 +02:00
Roy Nieterau
439967c8c2 Merge remote-tracking branch 'upstream/develop' into substance_integration 2023-04-04 00:15:30 +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
Roy Nieterau
d958f989e0 Remove "handles" backwards compatibility 2023-03-29 23:57:35 +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
Roy Nieterau
13aa1c82fa Merge remote-tracking branch 'upstream/develop' into substance_integration 2023-03-23 13:41:07 +01:00
Roy Nieterau
5b3af11f0f Fix the if statement 2023-03-23 11:04:25 +01:00
Roy Nieterau
4fdb31611d Allow to mark an instance to skip integration explicitly
Use `instance.data["integrate"] = False`
2023-03-23 11:03:54 +01:00
Roy Nieterau
96e184c8ca
Integrator: Enforce unique destination transfers, disallow overwrites in queued transfers (#4662)
* Fix #4656: Enforce unique destination transfer in Integrator

Note that this is per instance - it doesn't validate cross-instance destinations in the context

* Use explicit DuplicateDestinationError and raise as KnownPublishError
2023-03-21 15:29:19 +01:00
Toke Stuart Jepsen
216c99d839 Merge branch 'develop' into feature/OP-3926_gpu-cache
# Conflicts:
#	website/docs/admin_hosts_maya.md
2023-03-21 07:58:26 +00:00
Kayla Man
fa69594c70 creator, validator and extractor for point cloud from tyFlow 2023-03-17 22:56:00 +01:00
moonyuet
739b2db0f0 MaxScene Family introduction 2023-03-17 22:52:50 +01:00
Toke Stuart Jepsen
0b67d9c758 Initial working GPU extractor 2023-03-17 12:07:43 +00:00
Jakub Trllo
a09999174d more explicit check for originalDirname 2023-02-10 16:12:47 +01:00
Jakub Trllo
9b2e97fb74 don't handle originalBasename in other conditions 2023-02-10 16:12:31 +01:00
Jakub Trllo
c1499f9b23 Add special handling of transfers preparation if 'originalBasename' is in template 2023-02-10 16:12:08 +01:00
Jakub Trllo
8494a45d6c validate representation files in separated method 2023-02-10 16:11:10 +01:00
Petr Kalis
816a2c42da
Merge pull request #4362 from ynput/feature/OP-4617_Global-Update-rendered-frames-in-latest-version
Nuke: update rendered frames in latest version
2023-01-27 14:51:25 +01:00
Petr Kalis
30b00705f4 OP-4617 - fix - allow overwriting of old version in integrate.py
Without it it will always use version from anatomy, even if it logs that it uses old version.
2023-01-24 17:06:54 +01:00
Jakub Trllo
b0a6be63ac Merge branch 'develop' into release/3.15.x
# Conflicts:
#	openpype/hosts/photoshop/api/workio.py
#	openpype/hosts/photoshop/plugins/publish/validate_unique_subsets.py
#	pyproject.toml
#	website/docs/artist_hosts_aftereffects.md
2023-01-24 12:31:32 +01:00
Jakub Jezek
71e347d6d0
Merge branch 'release/3.15.x' into feature/OP-2479_color-v3-Colorspace-management-and-distribution 2023-01-18 18:01:23 +01:00
Jakub Jezek
b846aa5023
flake8 fix 2023-01-17 17:08:47 +01:00
Jakub Jezek
6d19e74361
global: exception for source publishing renumbering 2023-01-17 16:57:47 +01:00
Petr Kalis
61d255a606
Merge pull request #4157 from ynput/feature/OP-4504_Publishing-Register-publishes-without-copying-them
Publish: register publishes without copying them
2023-01-09 18:41:36 +01:00
Ondřej Samohel
0e168a5c22
Merge pull request #4198 from ynput/feature/unreal-uasset_management 2023-01-09 18:38:15 +01:00
Ondrej Samohel
7146e8d02a
✏️ fix typos 2023-01-06 23:20:38 +01:00
Jakub Jezek
ed89581dfb
suggestions from PR 2023-01-04 15:35:19 +01:00
Jakub Jezek
855bf4d6c6
global: integrating colorspace data 2022-12-29 14:58:47 +01:00
Ondrej Samohel
4145a488db
Merge remote-tracking branch 'origin/develop' into feature/unreal-uasset_management 2022-12-21 18:19:16 +01:00
Jakub Trllo
b1c8342450
fix access to 'projectName' 2022-12-19 14:13:19 +01:00
Jakub Trllo
eb5995777d Merge branch 'develop' into feature/legacy_io_in_global_plugins 2022-12-16 16:54:47 +01:00
Petr Kalis
3c09dfc80e OP-4504 - remove extension from originalBasename
It would produce weird concatenation of extensions.
2022-12-15 16:38:19 +01:00
Petr Kalis
8a267f6c34 OP-4504 - handle originalDirname only if in template 2022-12-12 16:18:25 +01:00
Petr Kalis
d18fc94c01 OP-4504 - fix for deadline publishing 2022-12-12 12:41:26 +01:00
Petr Kalis
fe0336c435 OP-4504 - removed path comparison function
Obsolete as it is part of file_transaction file
2022-12-12 10:34:01 +01:00
Petr Kalis
663538ceff Merge develop 2022-12-12 10:27:40 +01:00
Kayla Man
b52018fc62 resolve conflicts 2022-12-09 19:21:17 +08:00
Simone Barbieri
fc10b26ea0 Implemented creator and extractor for uasset 2022-12-08 11:20:24 +00:00
Petr Kalis
98f45c24a6 OP-4504 - Hound 2022-12-07 18:02:54 +01:00
Petr Kalis
a1f85d3978 OP-4504 - use always stagingDir from instance instead of repre
Representation stagingDir might be in temporary folders (for thumbnails etc.), use value from instance as a backup instead.
2022-12-07 17:57:10 +01:00
Petr Kalis
726c8f2cc1 OP-4504 - fix resolving of originalDirname
If instance has originalDirname collected, all repres should use this as a target folder (that allows copying transient items from temporary folders into folder where source item comes from).
2022-12-07 17:51:41 +01:00
Petr Kalis
0a12a42460 OP-4504 - use existing method to check if path in project 2022-12-07 12:29:44 +01:00
Petr Kalis
3fabd516ea OP-4504 - weird unpacking not necessary 2022-12-07 12:25:16 +01:00
Petr Kalis
c9496bcfe3 OP-4504 - change boolean test to validation with exception
It actually shouldn't allow to publish into non project folder (like artists own c:/ drive).
2022-12-07 12:22:53 +01:00
Jakub Trllo
2c55ee55c2 remove source and destination check from integrate 2022-12-06 16:09:54 +01:00
Petr Kalis
d971f9e947 OP-4504 - merge develop 2022-12-06 12:54:32 +01:00
Jakub Trllo
1f05a39522 use comment from instance where possible 2022-12-05 19:31:09 +01:00