-
Notifications
You must be signed in to change notification settings - Fork 11
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
Deadline plugins deployment #2
Comments
I think separation may help from client - but I'm not entirely sure how we would serve these private files and why that would eventually be nicer "for the TD". Unless you meant, easier for the studio admin/TD who might not do development but does download the AYON addons from the market, then they'd access the files directly through the front-end? |
Your question is your answer. Yes, private files that can be downloadable via web frontend. |
Also for reference, more info about private files. |
|
We should explore using LakeFS for all those, like we do for USD. |
For files like this I must admit I have my worries about "obfuscating" downloadables like this to behind a fairly non-transparent wall. Having it part of the repository in a way adds maintainability of the files (which of course could auto-upload to lakefs if that makes any sense) but it also ensures that it works locally, offline, etc. Note that these files are usually very small in size - and they are not dynamic (as far as I know) within the addon version. They are tied to the addon version and separating the distribution would mean just more maintenance. Having it download from a LakeFS url it's unclear to me what the files may actually contain (and whether they are hence secure?). They may be just as secure as whatever the Git repo provides of course. But just wanted to mention it's definitely something that stands out to me already that it gives me the creeps because "I'm not sure what I'll get" but if it's in the repository I can see the code clearly. Also, note that studios may maintain, in a custom branch, their own custom code version of these files as well - which they'd of course also like to easily deploy to the artists in questions if they need to. |
I think it should live in the private folder of the addon. Maybe there are other solutions, but I think they will be generic that also help with other addons with the same situation. |
In this case those files are indeed not artifacts, and keeping them close to the code is indeed paramount 👍 But what about Murphy's statement then:
We should definitely move this discussion to a broader topic and see if there's a one for all solution. |
Is there an existing issue for this?
Please describe the feature you have in mind and explain what the current shortcomings are?
Deadline plugins are now inside client codebase, but it would be much better if they would be in
private
folder supplied in custom deadline Web UI with more information. E.g. which plugins are available, which version of the plugin (we should version the plugins BTW) and in which deadline addon was the plugin version released.It would reduce size of client codebase and would be much easier for TD to deploy the plugins to deadline.
How would you imagine the implementation of the feature?
Requirement would be frontend that would show available plugins with their versions, the list would be prepared during
create_package.py
. Current content ofclient/ayon_deadline/repository/custom
would be moved to root of repository. Each plugin would have own subfolder where would be content plugin itself and metadata with version and addon version when the version changed - this might be hard to follow. Content of plugin would be added to tar file (tar keeps file permissions on linux/mac) and metadata would be stored to single file, all located inprivate
folder so they can be downloaded.Are there any labels you wish to add?
The text was updated successfully, but these errors were encountered: