GitHub Workflows - Binaries Auto-download #266
Replies: 3 comments 11 replies
-
|
Won't this add a vast amount of binary data to the repositories over time? What is wrong with the method e.g. V-WebUI or Odin-WebUI uses? One command to execute a script that does the full setup in a breeze of time, pulling the latest library file that is needed for a platform. I'm hesitant when including compiled binary data into repositories. |
Beta Was this translation helpful? Give feedback.
-
|
I guess this doesnt apply to Pascal? Its just a matter of downloading latest release, or nightly build, by the user. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you @ttytm, @fibodevy and @GiuseppeCesarano, for taking the time to read this topic and sharing your ideas and point of view. This open-source project is driven by the community, and it is clear that the majority voted for keeping extra steps. So, let's do that, and I will remove the GitHub compiled CI binaries in the Python repo. To ensure we are all on the same page, I would like everyone to agree on how the wrappers should "get" the binaries. And let's use this topic as a reference. Build From Source WrappersNim WebUI:
Static Library WrappersV WebUI:
Pascal WebUI:
Go WebUI:
Odin WebUI:
PureBasic WebUI:
Rust WebUI:
Dynamic Library WrappersPython WebUI:
Deno WebUI:
Bun WebUI:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Every wrapper uses a different method to embed the WebUI binaries, some download it at runtime, some has a copy, and other build it from source... To unify the method and makes thing simple and secure, I created and tested a simple GitHub Workflow that downloads the binaries and push them to the repo whenever the binaries get updated. It's working fine for the Python wrapper right now.
WRAPPER_WEBUI_BIN_PATHand set the folder path where binaries should be (Example)WRAPPER_WEBUI_BIN_VERSIONand set the version to download, which should be2.4.0nowResult:
@webui-dev/webui-maintainers-team
Beta Was this translation helpful? Give feedback.
All reactions