Open andreyplus opened 3 months ago
Started test build 142895
Build 142895 failed
Started test build 142896
Build 142896 failed
flatpak-builder: Downloading stm32cubeideDownloading https://www.st.com/content/ccc/resource/technical/software/sw_development_suite/group1/d3/77/3e/45/79/2b/47/46/stm32cubeide-lnx/files/st-stm32cubeide_1.16.0_21983_20240628_1741_amd64.sh.zip/jcr:content/translations/en.st-stm32cubeide_1.16.0_21983_20240628_1741_amd64.sh.zip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
Failed to download sources: module stm32cubeide: HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
Everything will download successfully if you use::
$ curl 'https://www.st.com/content/ccc/resource/technical/software/sw_development_suite/group1/d3/77/3e/45/79/2b/47/46/stm32cubeide-lnx/files/st-stm32cubeide_1.16.0_21983_20240628_1741_amd64.sh.zip/jcr:content/translations/en.st-stm32cubeide_1.16.0_21983_20240628_1741_amd64.sh.zip' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0' -H 'Accept-Encoding: identity' -O
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1119M 0 1119M 0 0 10.1M 0 --:--:-- 0:01:49 --:--:-- 10.0M
Thanks for the PR.
I don't know why this fails exactly. Maybe someone else knows.
I made a pull request on @andreyplus's commit that uses the curl command above to pull the install scripts during the build step. It is currently working but I don't expect it to be accepted into flathub because this method is rather unorthodox. If you (the reader) really need the newer version though, feel free to clone the commit and build it yourself: https://github.com/andreyplus/com.st.STM32CubeIDE/pull/1
Started test build 146998
Build 146998 failed
it seems that the builds are failing because the CI doesn't allow us to specify build-args
which is needed to allow internet access during the build step
Can we upload these files to github?
according to the license agreement we should be able to redistribute the code as long as we include the license agreement. I could make a git repo that uses github actions to periodically download new versions of the installer, run the installer but unsimlink /bin/bash so setup.sh doesn't run, then modify setup.sh so it copies the already-extracted archive encoded within the installer instead of trying to extract it again. If we do it another way we wouldn't be able to upload it to github because github lfs only allows files under 100mb
That would be great!
Will flathub allow this?
idk, I should try this some time during reading week
We can use https://git.kuschel.at/public/stm?
Updated:
This is my first pull request And this is my first time working with flatpak Please check it out
Fixes #27 #28