ayon-core/website/docs
Petr Kalis fec104de8e
Fix: Locally copied version of last published workfile is not incremented (#4722)
* Fix: Locally copied version of last published workfile is not incremented

* fix subset first match

* correct anatomy name

* Fix typo and linting

* keep source filepath for further path conformation

* fetch also input dependencies of workfile

* required changes

* lint

* fix case only one subset

* Enhancement:  copy last workfile as reusable methods (#6)

* Enhancement: copy last published workfile as reusable methods (WiP)

* Added get_host_extensions method, added subset_id and las_version_doc access, added optional arguments to get_last_published_workfile

* Plugged in the new methods + minor changes

* Added docstrings, last workfile optional argument, and removed unused code

* Using new implementation to get local workfile path. Warning: It adds an extra dot to the extension which I need to fix

* Refactoring and fixed double dots

* Added match subset_id and get representation method, plus clan up

* Removed unused vars

* Fixed some rebasing errors

* delinted unchanged code and renamed get_representation into get_representation_with_task

* This time it's really delinted, I hope...

* Update openpype/modules/sync_server/sync_server.py

reprenation isn't the right spelling (:

Co-authored-by: Félix David <felixg.david@gmail.com>

* Changes based on reviews

* Fixed non imperative docstring and missing space

* Fixed another non imperative docstring

* Update openpype/modules/sync_server/sync_server.py

Fixed typo

Co-authored-by: Félix David <felixg.david@gmail.com>

Co-authored-by: Hayley GUILLOT <hayleyguillot@outlook.com>
Co-authored-by: Félix David <felixg.david@gmail.com>

* Fix: syntax error

* fix single subset case

* Restore sync server enabled test in hook

* Python2 syntax

* renaming and missing key case handling

* Fix local workfile overwritten on update in some cases (#7)

* Fix: Local workfile overwrite when local version number is higher than published workfile version number (WiP)

* Changed regex search, clean up

* Readded mistakenly removed newline

* lint

* remove anticipated functions for cleaner PR

* remove funcs from entities.py

* change to get_last_workfile_with_version

* clean

* Update openpype/modules/sync_server/sync_server.py

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

* removed get_last_published_workfile_path

* moved hook to sync server module

* fix lint

* Refactor - download only if not present

* Refactor - change to list instead of set

* Refactor - removing unnecessary code

last_published_workfile_path must exists or we wouldn't get there. Use version only from that.

* Refactor - removing unnecessary imports

* Added check for max fail tries

* Refactor - cleaned up how to get last workfile

* Updated docstrings

* Remove unused imports

Co-authored-by: Félix David <felixg.david@gmail.com>

* OP-5466 - run this on more DCC

* Updated documentation

* Fix - handle hero versions

Skip hero versions, look only for versioned published to get max version id.

* Hound

* Refactor - simplified download_last_published_workfile

Logic should be in pre hook

* Skip if no profile found

* Removed unwanted import

* Use collected project_doc

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

* Use cached project_settings

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

---------

Co-authored-by: Félix David <felixg.david@gmail.com>
Co-authored-by: Sharkitty <81646000+Sharkitty@users.noreply.github.com>
Co-authored-by: Hayley GUILLOT <hayleyguillot@outlook.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Co-authored-by: Jakub Ježek <jakubjezek001@gmail.com>
2023-05-02 18:49:02 +02:00
..
assets Photoshop: add autocreators for review and flat image (#4871) 2023-05-02 11:19:50 +02:00
project_settings Update documentation 2023-04-03 12:28:52 +02:00
pype2 Cosmetics 2023-04-03 12:29:58 +02:00
admin_builds.md Fixed more detailed versions 2022-02-25 16:28:09 +01:00
admin_distribute.md Merge branch 'release/3.15.x' into enhancement/remove-staging-logic-on-version 2022-10-24 16:55:18 +02:00
admin_docsexamples.md update to correct docs 2021-04-06 20:57:52 +02:00
admin_environment.md Merge develop 2023-03-29 14:46:41 +02:00
admin_hosts_aftereffects.md Fixed wrong label 2021-06-18 16:17:06 +02:00
admin_hosts_blender.md merge develop into main 2021-05-04 17:07:32 +02:00
admin_hosts_harmony.md minor fixes in wording 2021-05-17 09:56:15 +02:00
admin_hosts_hiero.md add docs for hiero custom menu 2022-06-28 17:21:09 +02:00
admin_hosts_houdini.md admin docs for houdini shelves manager 2022-08-11 18:13:18 +02:00
admin_hosts_maya.md Merge pull request #4714 from tokejepsen/feature/OP-4994_defining-plugins-to-load-on-Maya-start 2023-04-14 15:11:27 +02:00
admin_hosts_nuke.md add the docs for the gizmo menu 2022-06-01 16:35:29 +02:00
admin_hosts_photoshop.md Photoshop: add autocreators for review and flat image (#4871) 2023-05-02 11:19:50 +02:00
admin_hosts_resolve.md Fix common typos in openpype/website 2022-01-31 23:35:48 +01:00
admin_hosts_tvpaint.md Merge branch 'develop' into documentation/link_fixes 2022-02-07 16:39:38 +01:00
admin_openpype_commands.md 📝 change staging logic in documentation 2022-10-13 11:35:38 +02:00
admin_releases.md replaced changelog and upgrade notes with releases information 2022-08-23 10:40:27 +02:00
admin_settings.md Merge develop 2023-03-29 14:46:41 +02:00
admin_settings_local.md fixed relative links to .md files 2022-02-01 17:47:08 +01:00
admin_settings_project_anatomy.md modified table 2022-09-02 13:40:03 +02:00
admin_settings_system.md Update website/docs/admin_settings_system.md 2023-02-13 12:45:29 +01:00
admin_use.md Merge develop 2023-03-29 14:46:41 +02:00
admin_webserver_for_webpublisher.md Fix common typos in openpype/website 2022-01-31 23:35:48 +01:00
artist_concepts.md Avoid confusion with variant 2023-04-13 09:12:28 +02:00
artist_ftrack.md some text correction 2021-04-08 21:15:21 +02:00
artist_getting_started.md added pic for systray icon 2023-02-02 09:06:01 +01:00
artist_hosts_3dsmax.md Merge develop 2023-03-29 14:46:41 +02:00
artist_hosts_aftereffects.md Documentation: Move publisher related tips to publisher area (#4772) 2023-04-04 15:19:36 +02:00
artist_hosts_blender.md documentation: Split tools into separate entries 2023-01-18 12:53:32 +00:00
artist_hosts_harmony.md Merge develop 2023-03-29 14:46:41 +02:00
artist_hosts_hiero.md Merge develop 2023-03-29 14:46:41 +02:00
artist_hosts_houdini.md Add docs (+ tweak some of the existing ones) 2023-03-31 16:12:41 +02:00
artist_hosts_maya.md Fix typo 2023-04-20 14:04:40 +02:00
artist_hosts_maya_arnold.md Merge develop 2023-03-29 14:46:41 +02:00
artist_hosts_maya_multiverse.md docs: updated / simplified docs in light of upcoming changes 2022-06-16 15:07:01 +09:00
artist_hosts_maya_redshift.md multiverse documentation: see commit body 2022-05-31 14:30:38 +09:00
artist_hosts_maya_vray.md multiverse documentation: see commit body 2022-05-31 14:30:38 +09:00
artist_hosts_maya_xgen.md Validation for required namespace. 2023-03-24 15:27:33 +00:00
artist_hosts_maya_yeti.md Merge develop 2023-03-29 14:46:41 +02:00
artist_hosts_nuke_tut.md documentation: Split tools into separate entries 2023-01-18 12:53:32 +00:00
artist_hosts_photoshop.md Merge develop 2023-03-29 14:46:41 +02:00
artist_hosts_resolve.md documentation: Split tools into separate entries 2023-01-18 12:53:32 +00:00
artist_hosts_tvpaint.md Apply suggestions from code review 2023-02-21 18:32:09 +01:00
artist_hosts_unreal.md documentation: Split tools into separate entries 2023-01-18 12:53:32 +00:00
artist_install.md wrap platform tabs in a coloured box 2021-05-19 22:20:44 +02:00
artist_kitsu.md Kitsu docs 2022-05-04 17:57:53 +02:00
artist_publish.md Fix common typos in openpype/website 2022-01-31 23:35:48 +01:00
artist_tools.md documentation: Split tools into separate entries 2023-01-18 12:53:32 +00:00
artist_tools_context_manager.md documentation: Split tools into separate entries 2023-01-18 12:53:32 +00:00
artist_tools_creator.md documentation: Split tools into separate entries 2023-01-18 12:53:32 +00:00
artist_tools_inventory.md documentation: Split tools into separate entries 2023-01-18 12:53:32 +00:00
artist_tools_library_loader.md documentation: Split tools into separate entries 2023-01-18 12:53:32 +00:00
artist_tools_loader.md documentation: Split tools into separate entries 2023-01-18 12:53:32 +00:00
artist_tools_look_assigner.md documentation: Split tools into separate entries 2023-01-18 12:53:32 +00:00
artist_tools_publisher.md documentation: Split tools into separate entries 2023-01-18 12:53:32 +00:00
artist_tools_subset_manager.md documentation: Split tools into separate entries 2023-01-18 12:53:32 +00:00
artist_tools_sync_queu.md Merge develop 2023-03-29 14:46:41 +02:00
artist_tools_workfiles.md documentation: Split tools into separate entries 2023-01-18 12:53:32 +00:00
artist_work.md move documentation from openpype.io 2021-04-06 20:47:07 +02:00
dev_build.md Merge develop 2022-12-08 11:21:38 +01:00
dev_colorspace.md Merge develop 2023-03-29 14:46:41 +02:00
dev_contribute.md Fix common typos in openpype/website 2022-01-31 23:35:48 +01:00
dev_deadline.md 📝 add documentation about testing on deadline 2022-12-06 15:41:03 +01:00
dev_host_implementation.md Merge develop 2023-03-29 14:46:41 +02:00
dev_introduction.md Moved dev pages to Dev 2022-02-25 15:34:15 +01:00
dev_publishing.md Merge develop 2023-03-29 14:46:41 +02:00
dev_requirements.md Consistent Python version 2022-12-02 10:28:14 +00:00
dev_settings.md Merge develop 2023-03-29 14:46:41 +02:00
dev_testing.md Merge develop 2023-03-29 14:46:41 +02:00
features.md Fix common typos in openpype/website 2022-01-31 23:35:48 +01:00
manager_ftrack.md Merge develop 2023-03-29 14:46:41 +02:00
manager_ftrack_actions.md fixed relative links to .md files 2022-02-01 17:47:08 +01:00
module_clockify.md update to correct docs 2021-04-06 20:57:52 +02:00
module_deadline.md Merge develop 2023-03-29 14:46:41 +02:00
module_ftrack.md Merge develop 2023-03-29 14:46:41 +02:00
module_kitsu.md Maya: Remove pymel dependency (#4724) 2023-04-04 11:23:19 +02:00
module_muster.md update to correct docs 2021-04-06 20:57:52 +02:00
module_site_sync.md Fix: Locally copied version of last published workfile is not incremented (#4722) 2023-05-02 18:49:02 +02:00
module_slack.md Updated documentation 2023-01-03 17:58:28 +01:00
system_introduction.md Merge develop 2023-03-29 14:46:41 +02:00