Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Feature/PYPE-762 multi root #38

Merged
merged 61 commits into from
May 12, 2020
Merged
Show file tree
Hide file tree
Changes from 56 commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
49e1660
initial commit `PYPE_STUDIO_CORE_*` environment keys replaced with `P…
iLLiCiTiT Mar 17, 2020
f4df589
pype init sets root by current project
iLLiCiTiT Mar 18, 2020
b138713
Merge branch 'develop' into feature/PYPE-762_multi_root
iLLiCiTiT Mar 20, 2020
ee99289
formatting changes
iLLiCiTiT Mar 20, 2020
639896f
app launcher uses roots
iLLiCiTiT Mar 20, 2020
0ccee02
Merge branch 'develop' into feature/PYPE-762_multi_root
iLLiCiTiT Mar 24, 2020
fe7a677
template_data store same frame as was used in anatomy filling
iLLiCiTiT Mar 25, 2020
d9686af
template_name is 100% per representation now
iLLiCiTiT Mar 25, 2020
b6c25f9
unc converting removed from integrators since PYPE_STUDIO_PROJECTS_MO…
iLLiCiTiT Mar 25, 2020
1f2d1a5
few minor changes
iLLiCiTiT Mar 27, 2020
9cc0b99
submit to deadline sends project, metadatafile is with `{root}` key i…
iLLiCiTiT Mar 30, 2020
be8f1bd
integrate new can find right source
iLLiCiTiT Mar 30, 2020
ef0239f
user assignment permissions event changed
iLLiCiTiT Mar 30, 2020
03c1285
source root should work
iLLiCiTiT Mar 30, 2020
50bd855
texture copy now works without registered_root
iLLiCiTiT Mar 30, 2020
58e4866
Merge branch 'develop' into feature/PYPE-762_multi_root
iLLiCiTiT Mar 30, 2020
082a149
fixed typo
iLLiCiTiT Mar 30, 2020
b7d81da
fixed nuke lib workfile filling
iLLiCiTiT Mar 30, 2020
1983150
added avalon project to deadline env filter
iLLiCiTiT Mar 30, 2020
b601c20
fixed typo 2
iLLiCiTiT Mar 30, 2020
c89ed35
fixed varianble
iLLiCiTiT Mar 30, 2020
2133dfa
fixed typos
iLLiCiTiT Apr 6, 2020
004f928
collect rendered files use root formatting
iLLiCiTiT Apr 6, 2020
6801dc2
stagingdirs are sent rootless
iLLiCiTiT Apr 6, 2020
182502c
replaced "PYPE_ROOT" with "PYPE_SETUP_PATH"
iLLiCiTiT Apr 9, 2020
2e431b3
collect anatomy was split into 2 plugins to be able to collect anatom…
iLLiCiTiT Apr 9, 2020
b8efca6
"collect_instance_anatomy_data" renamed to "collect_anatomy_instance_…
iLLiCiTiT Apr 9, 2020
fb9f951
collect rendered files use anatomy to fill metadata json path and sta…
iLLiCiTiT Apr 9, 2020
0370389
removed unused imports
iLLiCiTiT Apr 9, 2020
56338f3
do not use PYPE_CORE_* environments
iLLiCiTiT Apr 9, 2020
6d81ef6
storage is not used in pype
iLLiCiTiT Apr 9, 2020
5b92826
launched applications have set root environments
iLLiCiTiT Apr 9, 2020
7b41632
prepare project created roots
iLLiCiTiT Apr 10, 2020
3713559
small upgrade
iLLiCiTiT Apr 10, 2020
4a3b98c
action_create_fodler uses new anatomy
iLLiCiTiT Apr 14, 2020
0b2c1fc
added get_project_from_entity to ftrack base event handler
iLLiCiTiT Apr 14, 2020
1cb3f2c
formatting preparation action create project structure
iLLiCiTiT Apr 14, 2020
6509812
delivery action should work with new anatomy
iLLiCiTiT Apr 14, 2020
7a91ec8
action delete old versions is ready to use new anatomy roots
iLLiCiTiT Apr 14, 2020
4822fc8
create project structure will work as before for all roots
iLLiCiTiT Apr 14, 2020
57b33ac
fixed few anatomy bugs
iLLiCiTiT Apr 14, 2020
891b14c
template is not required in project config
iLLiCiTiT Apr 14, 2020
98548aa
it is possible to have set specific root instead of thumbnail_root in…
iLLiCiTiT Apr 14, 2020
ccafd3d
Merge branch 'develop' into feature/PYPE-762_multi_root
iLLiCiTiT Apr 15, 2020
32d47db
removed unused part of code in submit publish job
iLLiCiTiT Apr 15, 2020
37d70cf
removed unsused line
iLLiCiTiT Apr 17, 2020
5724b36
fix roots usage
iLLiCiTiT Apr 17, 2020
688201c
collect rendered files use only path remapper
iLLiCiTiT Apr 17, 2020
8730340
Merge branch 'develop' into feature/PYPE-762_multi_root
iLLiCiTiT Apr 29, 2020
76e7896
collect rendered files also remap AVALON_WORKDIR and stagingDir on in…
iLLiCiTiT May 7, 2020
8947bb5
colect rendered files use fill_root method from anatomy
iLLiCiTiT May 7, 2020
1afabb0
fixed path usage, renderer handling and few code style issues
antirotor May 7, 2020
9a7bd4a
enclose paths in double quotes
antirotor May 7, 2020
5c0c637
collectors order, output path naming
jakubjezek001 May 7, 2020
379554c
replaced remapping of root with filling root in collect rendered files
iLLiCiTiT May 7, 2020
de7fe11
cleanup commit
iLLiCiTiT May 7, 2020
3b3f0a9
handle published scene names
antirotor May 7, 2020
6bb0caa
removed unnecessary paths
jakubjezek001 May 7, 2020
55c3be3
added docstring to action_create_project_structure
iLLiCiTiT May 11, 2020
8438de5
Merge branch 'develop' into feature/PYPE-762_multi_root
iLLiCiTiT May 11, 2020
5ad17e5
fixed store thumbnails action
iLLiCiTiT May 11, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,11 @@
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import sys
import os
from pprint import pprint
from pypeapp.pypeLauncher import PypeLauncher
from pypeapp.storage import Storage
from pypeapp.deployment import Deployment

pype_setup = os.getenv('PYPE_ROOT')
pype_setup = os.getenv('PYPE_SETUP_PATH')
d = Deployment(pype_setup)
launcher = PypeLauncher()

Expand All @@ -32,7 +29,6 @@
os.environ['TOOL_ENV'] = os.path.normpath(os.path.join(config_path,
'environments'))
launcher._add_modules()
Storage().update_environment()
launcher._load_default_environments(tools=tools)

# -- Project information -----------------------------------------------------
Expand Down
8 changes: 4 additions & 4 deletions make_docs.bat
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ set PYTHONPATH=%%d;!PYTHONPATH!
echo ^>^>^> Setting PYPE_CONFIG
call :ResolvePath pypeconfig "..\pype-config"
set PYPE_CONFIG=%pypeconfig%
echo ^>^>^> Setting PYPE_ROOT
echo ^>^>^> Setting PYPE_SETUP_PATH
call :ResolvePath pyperoot "..\..\"
set PYPE_ROOT=%pyperoot%
set PYTHONPATH=%PYPE_ROOT%;%PYTHONPATH%
set PYPE_SETUP_PATH=%pyperoot%
set PYTHONPATH=%PYPE_SETUP_PATH%;%PYTHONPATH%
echo ^>^>^> Setting PYPE_ENV
set PYPE_ENV="C:\Users\Public\pype_env2"

call "docs\make.bat" clean
sphinx-apidoc -M -f -d 6 --ext-autodoc --ext-intersphinx --ext-viewcode -o docs\source pype %PYPE_ROOT%\repos\pype\pype\vendor\*
sphinx-apidoc -M -f -d 6 --ext-autodoc --ext-intersphinx --ext-viewcode -o docs\source pype %PYPE_SETUP_PATH%\repos\pype\pype\vendor\*
call "docs\make.bat" html
echo ^>^>^> Doing cleanup ...
set PYTHONPATH=%_OLD_PYTHONPATH%
Expand Down
5 changes: 4 additions & 1 deletion pype/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from pyblish import api as pyblish
from avalon import api as avalon
from .lib import filter_pyblish_plugins
from pypeapp import config
from pypeapp import config, Roots


import logging
Expand Down Expand Up @@ -84,6 +84,9 @@ def install():
avalon.register_plugin_path(avalon.Loader, plugin_path)
avalon.register_plugin_path(avalon.Creator, plugin_path)

if project_name:
root_obj = Roots(project_name)
avalon.register_root(root_obj.roots)
# apply monkey patched discover to original one
avalon.discover = patched_discover

Expand Down
2 changes: 1 addition & 1 deletion pype/clockify/widget_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(self, main_parent=None, parent=None, optional=True):
elif hasattr(parent, 'parent') and hasattr(parent.parent, 'icon'):
self.setWindowIcon(self.parent.parent.icon)
else:
pype_setup = os.getenv('PYPE_ROOT')
pype_setup = os.getenv('PYPE_SETUP_PATH')
items = [pype_setup, "app", "resources", "icon.png"]
fname = os.path.sep.join(items)
icon = QtGui.QIcon(fname)
Expand Down
Loading