msys2 / msys2-autobuild

🏭🏭🏭🏭🏭🏭🏭🏭
https://packages.msys2.org/queue
MIT License
35 stars 25 forks source link

Add a retry counter #25

Open lazka opened 3 years ago

lazka commented 3 years ago

We should try to build things ~3 times until we give up.. maybe with a delay between. Sometimes there are network issues...

lazka commented 2 years ago

Alternative: Split the build into two steps, where the first one can be retried a few times:

retry makepkg-mingw --cleanbuild --nobuild # downloads and extracts
makepkg-mingw ... --noextract # use exisiting src dir

edit: Downside is that makedepends are missing, unless we install/uninstall all of them.. so maybe not.

lazka commented 2 years ago

Current status: There is now an action which makes deleting the failed state easier..

image