Commit graph

2594 commits

Author SHA1 Message Date
Fabià Serra Arrizabalaga
bd9a794274
Fix typo on deadline OP plugin name (#5453) 2023-08-17 10:41:34 +02: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
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
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
Petr Kalis
a8ab471f84 OP-4845 - removed unnecessary env var
Used only when connecting to OP MongoDB.
2023-08-01 12:05:23 +02:00
Jakub Trllo
e6d9697e23
Ftrack: Sync to avalon settings (#5353)
* replace 'statuses_name_change' with 'role_list' in settings

* use the settings in sync to avalon action
2023-07-26 13:40:29 +02:00
Petr Kalis
476f018485 OP-4845 - use ordinary publish template resolving instead hardcoding
Now it should use configuration in `tools/publish/template_name_profiles` instead of hardcoded value.
2023-07-25 16:35:47 +02:00
Jakub Trllo
f0801cb098
Chore: Remove deprecated functions (#5323)
* removed deprecated files from root of openpype

* removed deprecated content from openype/lib

* fix imports
2023-07-25 16:19:14 +02:00
Petr Kalis
d1f6e664ab OP-4845 - updated injection of ayon env var
It seems that SetEnvironmentVariable is required instead of SetProcessEnvironmentVariable. (In Ayon Deadline plugin it is opposite..probably because of Deadline...
2023-07-18 19:51:46 +02:00
Petr Kalis
87700f72dc OP-4845 - injecting required env vars for ayon_console
Renamed OP to Ayon
2023-07-18 19:48:03 +02:00
Petr Kalis
bf831778d8 OP-4845 - temporary fix for missing Ayon template
Not sure if it was decided that Ayon won't have default 'render' template as OP does, but this should workaround it for testing. Needs to be fixed!
2023-07-18 19:38:08 +02:00
Petr Kalis
31f2ff680a OP-4845 - fix passing correct values to Ayon publish job 2023-07-18 19:37:03 +02:00
Petr Kalis
2db022b6f9 Merge branch 'develop' of github.com:ynput/OpenPype into feature/OP-4845_Deadline-Addon 2023-07-18 19:31:58 +02:00
Petr Kalis
098e58ba7b OP-4845 - added Ayon logic
For now both OP and Ayon will live together, later OP logic should be made obsolete.
2023-07-18 18:15:50 +02:00
Petr Kalis
2bc019f6c0 OP-4845 - try to push OPENPYPE_MONGO to extractenvironment process 2023-07-18 18:14:41 +02:00
Petr Kalis
7c02c3b9d6 OP-4845 - add fields for server url and api key 2023-07-18 18:14:05 +02:00
Petr Kalis
f2e4607434 OP-4845 - add bundle name as a job env var
Ayon must have AYON_BUNDLE_NAME to get proper env variables and addon used.
2023-07-18 16:03:55 +02:00
Petr Kalis
961bfe6c2e
Remove forgotten dev logging (#5315) 2023-07-18 13:23:00 +02:00
Jakub Trllo
7c0466df32
Formatting fix 2023-07-17 18:49:31 +02:00
Petr Kalis
6f1400433d Replace '-' with none
Validator would complain about non-existent pool
2023-07-17 18:40:31 +02:00
Petr Kalis
39ea6b102b Fix missing context argument 2023-07-17 18:18:32 +02:00
Petr Kalis
a40e64ee0b OP-4845 - added Ayon DL plugin 2023-07-17 17:20:38 +02:00
Petr Kalis
3e5aa1033b OP-4845 - created new AYON_* env var to differentiate Deadline jobs
OP and Ayon will live together for a while so jobs sent to DL need to be differentiated by new env vars.
2023-07-17 17:19:51 +02:00
Petr Kalis
7939836e65
Merge branch 'develop' into maye_new_publisher_with_RR 2023-07-17 11:08:55 +02:00
Jakub Jezek
d63c012396
deadline removing OPENPYPE_VERSION from houdini and max submitters 2023-07-14 11:03:02 +02:00
Jakub Trllo
326cdacc11
change 'ayon' to 'AYON' and 'ynput' to 'Ynput' in appdirs (#5298) 2023-07-14 09:57:48 +02:00
Jakub Ježek
a49b4265c6
Merge pull request #5291 from ynput/release/next-minor 2023-07-13 15:43:02 +03:00
Petr Kalis
46a238c8b6
Slack - enhanced logging and protection against failure (#5287)
* OP-6248 - enhanced logging and protection against failure

Covered issues found in production on customer site. SlackAPI exception doesn't need to have 'error', covered uncaught exception.

---------

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-07-13 14:20:27 +02:00
Petr Kalis
abc6a1eb27 Fix - context must be passe to set_representation_colorspace 2023-07-12 18:06:17 +02:00
Petr Kalis
48f06ba414 Fix - removed wrong argument
Probably incorrectly merged from develop where it is already fixed.
2023-07-12 18:01:50 +02:00
Petr Kalis
681ff3ae0e Merge remote-tracking branch 'origin/maye_new_publisher_with_RR' into maye_new_publisher_with_RR 2023-07-12 17:05:57 +02:00
Petr Kalis
892758b4d0 Added missed colorspace injection for image sequences
Develop contains this information, was missed during shuffling things around.
2023-07-12 17:05:24 +02:00
Jakub Trllo
2791aa84bb AYON: Bundle distribution (#5209)
* modified distribution to use bundles

* use bundles in modules discovery logic

* removed unused import

* added support for bundle settings getter

* added script launch mechanism to ayon start script

* show login UI through subprocess

* removed silent mode

* removed unused variable

* match env variables to ayon launcher

* moved ui lib function to ayon common

* raise custom exception on missing bundle name

* implemented missing bundle window to show issues with bundles

* implemented helper function to show dialog about issues with bundle

* handle issues with bundles

* removed unused import

* dont convert passed addons infor

* access keys only in server getters

* fix accessed attribute

* fix test

* fixed missing 'message' variable

* removed duplicated data

* removed unnecessary 'sha256' variable

* use lstrip instead of replacement

* use f-string

* move import to the top of file

* added some dosctrings

* change type

* use f-string

* fix grammar

* set default settings variant in global connection creation

* reuse new function

* added init file

* safe access to optional keys

* removed unnecessary condition

* modified print messages on issues with bundles

* Changed message in missing bundle window

* updated ayon_api to 0.3.2
2023-07-11 18:13:53 +02:00
Jakub Trllo
5b4e474f4d AYON: Staging versions can be used (#4992)
* enhanced AddonInfo to be able get info about staging or any version

* AyonDistribution is checking for use staging value

* removed unused function

* addons in modules manager use right versions

* use right variant for settings

* added temporary staging icons

* fix 'is_running_staging' for ayon mode
2023-07-11 18:13:49 +02:00