<div dir="ltr">Hi Norbert<br><br>Thanks for the quick reply. <br><br>At the moment I am looking into two install packagers namely nuitka and pyinstaller.<br><a href="https://nuitka.net/index.html">https://nuitka.net/index.html</a><br><a href="https://pyinstaller.org/en/stable/index.html">https://pyinstaller.org/en/stable/index.html</a><br><br>If we were to use this, no additional things would need to be added and a single executable would be the result.<br>No platform specific distributions of a decompressor should be bundled manually.<br><br>Kind regards<br>Milan</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op wo 27 apr. 2022 om 11:53 schreef Norbert Preining <<a href="mailto:norbert@preining.info">norbert@preining.info</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Milan,<br>
<br>
> As far as the directory goes, I just assumed nothing for the output<br>
> directory, hence the path is just an alterable input. If all needs to be in<br>
> one place, it can be adjusted as well but it is not a limitation of the<br>
> software.<br>
<br>
For sure, I don't think this is a serious problem and can easily be<br>
adjusted.<br>
<br>
> As far as the decompression goes, I am not entirely certain about the way<br>
> it is done. As far as I can tell from the documentation and the source<br>
> code, the tarfile package will refer to the lzma package for xz files. This<br>
> however imports a LZMADecompressor that I do not find directly in the<br>
> source code. I assume this is just a layer on top of C to support python<br>
> calls to it. I just think that it is fast enough for this purpose as well<br>
> as it is cross-platform.<br>
<br>
Speed of the decompressor is less an issue, I guess. The question is<br>
whether we need to ship/have available xz/xzdec as binaries somehow.<br>
At the moment we ship xz/xzdec for most/all architectures to be sure we<br>
can decompress our own packages.<br>
<br>
> At the moment I think it is best if all the requirements for the package<br>
> download were to be listed.<br>
<br>
Not sure what you want to say with that.<br>
<br>
> Correct me if I am wrong but the installer uses tlmgr, does it not?<br>
<br>
No, it does not.<br>
tlmgr and install-tl use the same functions from TeXLive::TLUtils, but<br>
the installer does NOT use tlmgr.<br>
<br>
I have thought about this and in case I find time I might implement it:<br>
Install a minimal installation (like scheme-infra) and do all the rest<br>
of the installation via tlmgr. But that is future talk, which hasn't<br>
realized till now, mostly because the "features" or "expectations" of<br>
install-tl and tlmgr are different. tlmgr needs to be able to revert to<br>
old versions when installations fail, etc etc.<br>
<br>
> If that were to be true I would only change the download portion of tlmgr<br>
> by calling this downloader, leaving the logic intact. If that were to be<br>
> the case only simpel download commands and responses can be given and<br>
> returned by the program. Letting the logic of reverting back to the<br>
> previous version be handled by tlmgr.<br>
<br>
That would work for both install-tl and tlmgr, since both hook into<br>
TeXLive::TLUtils. But parallelization is a different topic and much more<br>
complicated.<br>
I don't think that what you propose wrt tlmgr and reverting is easily<br>
realizable, though.<br>
<br>
I think the first task is speeding up install-tl, and see how we can<br>
interface with a "special installer" like your python code based one.<br>
After that, we can look into how to unify this approach over to tlmgr.<br>
Again, future talk.<br>
<br>
Now, if I only had the chance to quit my job and spend my time to do all this...<br>
<br>
> If you would want to discuss this further, you can mail me or we could have<br>
> a meeting.<br>
<br>
Let us continue for now per email here on the list. If needs arrises, we<br>
can surely arrange a video meeting (but be aware I am based in Japan JST<br>
= UTC+9). There is also a IRC chat room on libera #texlive, although I<br>
am the only one there (such an old style guy ...).<br>
<br>
All the best<br>
<br>
Norbert<br>
<br>
--<br>
PREINING Norbert                              <a href="https://www.preining.info" rel="noreferrer" target="_blank">https://www.preining.info</a><br>
Mercari Inc.     +     IFMGA Guide     +     TU Wien     +     TeX Live<br>
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13<br>
</blockquote></div>