Skip to content

Implementation of auto-update scripts for terminals - #466

Open
moonyuet wants to merge 8 commits into
developfrom
enhancement/AY-5525_Maya_mayapy-model_import_and_publish
Open

moonyuet wants to merge 8 commits into
developfrom
enhancement/AY-5525_Maya_mayapy-model_import_and_publish

Conversation

@moonyuet

@moonyuet moonyuet commented Aug 25, 2026 •

Copy link
Copy Markdown
Member

Changelog Description

This PR is to implement the auto-update scripts for loading a specific asset and publish in terminal.
Users can execute the script with terminal by mayapy.exe with AYON terminal and do a headless publish.

Additional review information

Resolve #192

Testing notes:

  1. Locate your auto-updater script.
  2. Launch terminal via Launcher and choose your maya version
  3. do a command like (the command below is for windows)
mayapy.exe "{YOUR_MAYA_ADDON_DIRECTORY}/scripts/auto_updater.py" --filepath  \storage05\incomming\ayon_general\test_goe.abc --folderPath lib --task generic --product-base-type model --variant headlessMain

@moonyuet moonyuet self-assigned this Aug 25, 2026
@moonyuet moonyuet added type: enhancement Improvement of existing functionality or minor addition sponsored This is directly sponsored by a client or community member labels Aug 25, 2026

@BigRoy BigRoy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some cosmetics mostly - I'm not convinced this script should live inside ayon-maya itself though. I feel like in the end, it's just a one-off script we may be passing to the client and perhas it may end up living in one of @MustafaJafar 's example repos.

Comment thread client/ayon_maya/scripts/autoupdater.py Outdated
Comment thread client/ayon_maya/scripts/autoupdater.py Outdated
Comment thread client/ayon_maya/scripts/autoupdater.py Outdated
Comment thread client/ayon_maya/scripts/autoupdater.py Outdated
@moonyuet
moonyuet requested a review from BigRoy August 26, 2026 06:44
@moonyuet

Copy link
Copy Markdown
Member Author

Some cosmetics mostly - I'm not convinced this script should live inside ayon-maya itself though. I feel like in the end, it's just a one-off script we may be passing to the client and perhas it may end up living in one of @MustafaJafar 's example repos.

Me neither, but I can't really find the suitable spot to store the script.
Would be more helpful if it can live somewhere that users can access easily.

@antirotor antirotor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Depends on the actual usage. It is not that much about where it lives but more about documenting that it exists and how it should be used. I am afraid that once this is merged, the whole world will forget about it.

@moonyuet

moonyuet commented Sep 3, 2026

Copy link
Copy Markdown
Member Author

@BigRoy @antirotor what should we do with this PR? Should we just hand in what we have now to the client and closed it?

@moonyuet
moonyuet requested a review from antirotor September 3, 2026 12:05
@BigRoy

BigRoy commented Sep 3, 2026

Copy link
Copy Markdown
Member

Let's wait on client feedback, yes. Give them the script to test. From their usage/feedback we'll see how much worth there is for them - if none then I'd likely close this.. if there is, then let's discuss briefly if we see the wider worth here.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sponsored This is directly sponsored by a client or community member type: enhancement Improvement of existing functionality or minor addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AY-5525_Maya: [0012] mayapy model import and

4 participants