Commit graph

2626 commits

Author SHA1 Message Date
Jakub Trllo
a8fa44c3fd
AYON: Ignore separated modules (#5619)
* ayon mode explicitly ignores addons that have own repository

* change warning message of missing addon directory to debug

* Better log message
2023-09-19 16:52:51 +02:00
Roy Nieterau
a492addc54 Reduce artist-facing logs for component integration for Ftrack + tweak "Comment is not set" log also for Kitsu to debug level 2023-09-07 15:55:28 +02:00
Roy Nieterau
d36b2f1514 Merge remote-tracking branch 'upstream/develop' into enhancement/tweak_logging
# Conflicts:
#	openpype/plugins/publish/extract_hierarchy_to_ayon.py
2023-09-05 12:06:43 +02:00
Jakub Trllo
aa9846dcbd removed logic where the script is used 2023-09-04 13:25:35 +02:00
Petr Kalis
0f39ccf016
Fix - files on representation cannot be single item list (#5545)
Further logic expects that single item files will be only 'string' not 'list' (eg. repre["files"] = "abc.exr" not repre["files"] = ["abc.exr"].

This would cause an issue in ExtractReview later.
2023-09-04 11:05:27 +02:00
Petr Kalis
1b8d8e68f2
Harmony: refresh code for current Deadline (#5493)
* Explicitly set Python3 for Harmony OP plugin

* Fix method call

Without it it would always return True

* Explicitly set render instance to farm

* Added Harmony 22 executable

This plugin might not be necessary anymore for current Harmonies (at least for 22 works original Harmony plugin in DL)

* Removed logging

* fix - remove explicit disabling of review

instance.data["review"] could be False only if review shouldn't be explicitly done. This is not possible in old publisher.
TODO must be implemented in NP.
2023-09-01 18:23:45 +02:00
Libor Batek
9cf21b77ff
Merge pull request #5286 from ynput/bugfix/OP-6356_3dsamx-empty-render-instance
Max: Optional Renderable Camera Validator for Render Instance
2023-09-01 09:49:47 +02:00
Jakub Ježek
1cc94537ba
Merge branch 'develop' into enhancement/deadline-remove-toBeRenderedOn 2023-08-31 22:45:16 +02:00
Kayla Man
4d94bec464 oscar's comment on cameras implemenetation 2023-08-31 22:55:59 +08:00
Kayla Man
055e825000 bigroy comment on the camera setup on validation 2023-08-31 15:41:33 +08:00
Jakub Trllo
74d612208e
AYON: Deadline expand userpaths in executables list (#5540)
* expand userpaths set in executables list

* Update logic for searching executable with expanduser

---------

Co-authored-by: Petr Kalis <petr.kalis@gmail.com>
2023-08-30 17:47:03 +02:00
sjt-rvx
b83a409313
have the addons loading respect a custom AYON_ADDONS_DIR (#5539)
* have the addons loading respect a custom AYON_ADDONS_DIR

* Update openpype/modules/base.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-30 15:12:03 +02:00
Roy Nieterau
5d45ed3a7b Merge remote-tracking branch 'upstream/develop' into enhancement/tweak_logging
# Conflicts:
#	openpype/modules/deadline/plugins/publish/validate_deadline_connection.py
#	openpype/modules/deadline/plugins/publish/validate_deadline_pools.py
2023-08-30 10:28:18 +02:00
Roy Nieterau
eec1d82db2 Deadline: Tweak logging for artist-facing reports in publisher 2023-08-30 09:54:37 +02:00
Roy Nieterau
6014cc6549
Enhancement: Deadline plugins optimize, cleanup and fix optional support for validate deadline pools (#5531)
* Fix optional support

* Query deadline only once per url

* Report both pools if both are invalid instead of only primary pool

* Fix formatting in UI

* Re-use existing implementation of `requests_get`

* Cosmetics

* Cache deadline url responses to avoid the need of request per instance

* Only format error message when needed + convert to `KnownPublishError`

* Allow deadline url per instance, similar to `ValidateDeadlineConnections`

* Tweak grammar/readability

* Fix title

* Remove instance data from right side in Publish report since it's available in logs
2023-08-29 16:16:31 +02:00
Kayla Man
a59de7db31 clean up 2023-08-28 18:50:20 +08:00
Kayla Man
3f1fb736a6 make sure arnold and other renderers not fallbacking to workfile 2023-08-28 18:45:43 +08:00
Jakub Jezek
93f897c780
deadline: adding collect farm target and removing redundant key 2023-08-24 13:59:34 +02:00
Milan Kolar
594bf8a1f6
Merge pull request #5477 from tokejepsen/bugfix/OP-6595_versioning-from-v0-Ftrack-publish 2023-08-24 09:36:19 +02:00
Milan Kolar
d787b7470a
Merge pull request #5455 from ynput/bugfix/add_kitsu_credentials_to_publish_job 2023-08-24 09:35:42 +02:00
Jakub Ježek
a8db933143
Merge branch 'develop' into enhancement/OP-6317_Nuke-publish-existing-frames-on-farm 2023-08-23 16:38:52 +02:00
Petr Kalis
88f1d839f1
Added super call to init (#5480)
DL 10.3 requires plugin inheriting from DeadlinePlugin to call super's __init__ explicitly.
2023-08-23 10:07:13 +02:00
Toke Stuart Jepsen
ec054ce939 Fix version 0 when integrating to Ftrack. 2023-08-22 13:00:36 +01:00
Fabià Serra Arrizabalaga
bd9a794274
Fix typo on deadline OP plugin name (#5453) 2023-08-17 10:41:34 +02:00
Mustafa-Zarkash
a081f5aed5 add_kitsu_credentials 2023-08-16 15:26:16 +03:00
Félix David
fc5e52e9ab
Feature: Download last published workfile specify version (#4998)
Co-authored-by: Petr Kalis <petr.kalis@gmail.com>
2023-08-11 16:47:14 +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
Jakub Ježek
d1cf08532a
Merge branch 'develop' into enhancement/OP-6317_Nuke-publish-existing-frames-on-farm 2023-08-09 15:52:48 +02:00
Jakub Jezek
84480649c8
nuke: implementing frame_farm target to deadline submitter 2023-08-09 15:45:13 +02:00
Jakub Jezek
7b3d0b4f6d
deadline validations are activated for nuke render 2023-08-09 15:38:21 +02:00
Fabià Serra Arrizabalaga
1e33e83de4
Fix missed function interface change (#5430)
Co-authored-by: Fabia Serra Arrizabalaga <farrizabalaga@alkemy-x.com>
2023-08-09 10:29:52 +02:00
Jakub Trllo
7debe12c2b
Webpublisher: Cleanup targets (#5418)
* remove remotepublish commands from cli

* use 'automated' target instead ot 'remotepublish'

* removed references to remotepublish

* added webpublish target

* use webpubish targets where automated does not make sense
2023-08-08 11:36:16 +02:00
Jakub Trllo
a31b2d9d77
SyncServer: Existence of module is optional (#5413)
* 'get_repre_icons' have optional sync server

* local settings have optional sync server

* sync server is optional in sceneinventory

* sync server is optional in loader tool

* sync server is optional in library loader

* sync server is optional in host dirmap

* sync server is optional in nuke cache

* sync server is optional in integrate plugin

* added "sync_server" back to ignored modules for openpype package

* fix missing variable

* mark syncserver command as deprecated

* define 'SYNC_SERVER_ROOT'

* added method to receive icon paths

* use sync server module to receive icons

* fix scene inventory
2023-08-07 18:48:27 +02:00
Jakub Jezek
ff77dc0678
renaming target and its label to make it better sorted in ui 2023-08-04 11:49:53 +02:00
Jakub Jezek
697c126cce
refactor expected files validator 2023-08-04 11:29:28 +02:00
Jakub Jezek
e47b26ed6c
Merge branch 'feature/remote_existing_frames_nuke' into enhancement/OP-6317_Nuke-publish-existing-frames-on-farm 2023-08-04 11:28:58 +02:00
Milan Kolar
fe88b3d662
Merge pull request #5321 from ynput/feature/OP-4845_Deadline-Addon 2023-08-03 10:52:34 +02:00
Jakub Trllo
7e9f42b447
Applications: Use prelaunch hooks to extract environments (#5387)
* ApplicationManager can have more granular way how applications are launched

* executable is optional to be able create ApplicationLaunchContext

* launch context can run prelaunch hooks without launching application

* 'get_app_environments_for_context' is using launch context to prepare environments

* added 'launch_type' as one of filtering options for LaunchHook

* added 'local' launch type filter to existing launch hooks

* define 'automated' launch type in remote publish function

* modified publish and extract environments cli commands

* launch types are only for local by default

* fix import

* fix launch types of global host data

* change order or kwargs

* change unreal filter attribute
2023-08-03 10:04:15 +02:00
Petr Kalis
ab1f0599d7
Update openpype/modules/deadline/repository/custom/plugins/Ayon/Ayon.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-08-02 14:54:34 +02:00
Petr Kalis
997d8a7a30
Update openpype/modules/deadline/plugins/publish/submit_maya_remote_publish_deadline.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-08-02 14:54:25 +02:00
Petr Kalis
90b5dfd30d OP-4845 - merge 2023-08-02 14:53:17 +02:00
Jakub Trllo
c71aae5fd8 added missing imports 2023-08-02 14:21:24 +02:00
Petr Kalis
ed3e5a8c6b OP-4845 - fix missing AYON_BUNDLE_NAME 2023-08-02 14:20:07 +02:00
Petr Kalis
4b6bee1c76 OP-4845 - fix missing import AYON_SERVER_ENABLED 2023-08-02 14:17:50 +02:00
Petr Kalis
11c766eca7
Update openpype/modules/deadline/plugins/publish/submit_publish_job.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-08-02 14:09:03 +02:00
Petr Kalis
ee0a39d945
Update openpype/modules/deadline/plugins/publish/submit_maya_remote_publish_deadline.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-08-02 14:08:53 +02:00
Petr Kalis
6714911192
Update openpype/modules/deadline/plugins/publish/submit_nuke_deadline.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-08-02 14:08:38 +02:00
Petr Kalis
b8e7ec2912
Update openpype/modules/deadline/abstract_submit_deadline.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-08-02 14:08:22 +02:00
Petr Kalis
31eabd4e63 OP-4845 - sanitizing deadline url
Deadline behaves weirdly if trailing slash is left in webservice url. This should remove it.
2023-08-02 13:48:15 +02:00
Petr Kalis
0a42984915 Merge branch 'develop' of github.com:ynput/OpenPype into feature/OP-4845_Deadline-Addon 2023-08-02 13:46:13 +02:00