You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an app which is bundeled using PyInstaller. The bundle is created for multiple target platforms (Windows, Linux, x86 64bit, arm v7, etc.) each. This means I'm having platform-specific bundles for each version.
Is it possible to serve those platform-specific bundles in one repository?
If yes, how does the client know which bundle it should download and use?
If not, what do you think would be a good approach? Serve seperate repositories for each target platform? For example in settings.py:
Is it possible to serve those platform-specific bundles in one repository?
No, not yet, unfortunately.
In principle, as far as the underlying TUF (python-tuf) repository is concerned, it should be perfectly fine to put all your platform-specific bundles in a single repository, as long as there is some way to distinguish the bundles by filename.
However, tufup does not yet know how to deal with these filenames on the repository side:
Currently, tufup assumes that the filename is composed of an app name and a version specifier:
If yes, how does the client know which bundle it should download and use?
In any case, the client would need to use some mechanism, like the one you proposed above, to determine a platform specifier (your prefix).
If not, what do you think would be a good approach? Serve seperate repositories for each target platform? ...
For now, I think your best option would indeed be to serve separate repositories for each platform, as you proposed.
I am planning to look into options for adding platform specifiers, similar to wheel filenames (specifically the platform tag), but that is going to take some time.
I have an app which is bundeled using PyInstaller. The bundle is created for multiple target platforms (Windows, Linux, x86 64bit, arm v7, etc.) each. This means I'm having platform-specific bundles for each version.
Is it possible to serve those platform-specific bundles in one repository?
If yes, how does the client know which bundle it should download and use?
If not, what do you think would be a good approach? Serve seperate repositories for each target platform? For example in
settings.py
:The text was updated successfully, but these errors were encountered: