-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Develop mode #61
Develop mode #61
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing documentation but otherwise it works!
Btw there could be a warning that disk mapping couldn't be created as target disk is already there. |
I would not do that. Mapping is executed on each launch and warning about existing disk on each start would cause only confusion. |
Changelog Description
Implemented support of develop mode in launcher. The launcher can skip distribution of addons by installing to addons dir, instead can use paths from server. And added disk remapping functionality.
Additional info
Added new flag argument
--use-dev
which will find bundle that is marked as dev bundle for the user who is logged in. It is also possible to start dev mode by passing bundle name which is set as dev bundle, in that case it does not check if user is assigned to it and blindly use it (handy for farm etc.).Because settings variant is not as easy to define as used to be, it happens in the middle of distribution > that is because distribution is already preparing all the data needed for distribution itself.
Staging is completelly ignored if dev bundle should be used.
To be able to fully test the functionality it is necessary to have
openpype
addon with changes in this PR ynput/OpenPype#5783 .Testing notes:
./tools/manage.ps1 create-env
|./tools/make.sh create-env
)openpype
addon on server from this PR AYON: Support dev bundles OpenPype#5783openpype
addon and enable dev path, and fill the path with path to openpype repository../ayon_console.exe --use-dev
or./ayon_console.exe --bundle <your dev bundle name>