On Tue, 31 Oct 2023 16:35:49 -0700, Signal Linden (Bennett Goble) wrote:
> I'm not opposed to simple build systems, but there are good reasons to keep
> up with trends in archive distribution. LL developers on viewer and server
> work through a decent bit of package churn
Thing is, "autobuild" relies on Python modules that are not part of the
standard Python distribution, meaning it relies on "pip" or similar
automated Python modules installation utilities which are in themselves
wide open doors for hackers, having already been successfully exploited
in the wild for breaching systems security.
Beside the above (big !) problem, it also incurs an increase on external
dependencies when it comes to build the viewer (which, being an Open Source
software, should be straightforward and easy to build by everyone, non-
programmers users included).
While I totally understand that LL needs such a tool, TPV developers and
users alike should not be required to use it.
This is why I reworked my viewer sources and build system to be extremely
easy to build, with very minimalist requirements (and no additional Python
module to install): a compiler, cmake and the standard (bare) Python,
launch linux-build.sh, macos-build.sh or windows-build.bat, and 3 to 10
minutes later (depending on your CPU), you get a working viewer !
> zstandard is faster to download and decompress.
Come on !
xz is *just* as good as zstd (one will win on some packages and loose on
others) and supported by Python's built-in 'tarfile' module, unlike zst,
which requires "pip install pyzstd".
Want an example with LL's pre-built libraries ? Here you go:
wget
https://github.com/secondlife/dullahan/releases/download/v118.0.5993.54/dullahan-1.14.0.202310131404_118.4.1_g3dd6078_chromium-118.0.5993.54-windows64-6b02a60.tar.zst
zstd -d dullahan-*
xz dullahan-*.tar
ls -l
-rw-r--r-- 1 root root 97229376 oct. 13 15:21 dullahan-1.14.0.202310131404_118.4.1_g3dd6078_chromium-118.0.5993.54-windows64-6b02a60.tar.xz
-rw-r--r-- 1 root root 98582663 oct. 13 15:21 dullahan-1.14.0.202310131404_118.4.1_g3dd6078_chromium-118.0.5993.54-windows64-6b02a60.tar.zst
> Arch Linux switched their packages from from xz to zstandard back in 2020,
> vcpkg supports it, conan is likely getting zstd in an upcoming release.
And ?... Does it at all matter for the issue at hand ?...
What does it take for you to switch to xz ?... It would still work just
fine with your 'autobuild' system, it will work for everyone else
without any need for pip modules installation, and it will not even make
any measurable differences on speed or storage...
Please, reconsider.
Regards,
Henri.