add historical repo paths to install cmd for old versions of texlive#17893
add historical repo paths to install cmd for old versions of texlive#17893boegel merged 2 commits intoeasybuilders:developfrom
Conversation
* see discussion in easybuilders#17871
|
I also patched the |
| 'echo "TEXMFSYSCONFIG %(installdir)s/texmf-config" >> %(installdir)s/texlive.profile && ' | ||
| 'echo "TEXMFSYSVAR %(installdir)s/texmf-var" >> %(installdir)s/texlive.profile && ' | ||
| '%(builddir)s/install-tl-%(version)s/install-tl -profile %(installdir)s/texlive.profile' | ||
| ' -repository ' + 'ftp://tug.org/historic/systems/texlive/%s/tlnet-final' % local_version_year |
There was a problem hiding this comment.
Is there an HTTPS mirror?
FTP is blocked on some systems (it is on ours)
There was a problem hiding this comment.
Maybe rsync://tug.org/historic/ is a better option?
There was a problem hiding this comment.
I think there's an https version. I'll change and test tomorrow when I'm back in the office.
There was a problem hiding this comment.
it http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/ good enough (https is also available)? There are reasons not to hammer it, but I hope it's ok? https://tex.stackexchange.com/questions/460132/historic-tex-live-distributions-https-sftp-mirror
There was a problem hiding this comment.
"Maybe rsync://tug.org/historic/ is a better option?" @boegel can you please elaborate? I don't think I understand.
My current thinking is:
install-tl ||
install-tl -repository ftp:// ||
install-tl -repository https://
given how the https mirror is almost unusably slow.
I would then skip the first line when updating the already old versions.
There was a problem hiding this comment.
@hattom Makes sense to me. That should lead to a working install even on systems where FTP is blocked.
There was a problem hiding this comment.
Do use a local variable here you just plug in the URL to use:
local_install_tl = "%%(builddir)s/install-tl-%%(version)s/install-tl -profile %(installdir)s/texlive.profile %s"
postinstallcmds = [
'echo "TEXDIR %(installdir)s/" > %(installdir)s/texlive.profile && '
'echo "TEXMFLOCAL %(installdir)s/texmf-local" >> %(installdir)s/texlive.profile && '
'echo "TEXMFSYSCONFIG %(installdir)s/texmf-config" >> %(installdir)s/texlive.profile && '
'echo "TEXMFSYSVAR %(installdir)s/texmf-var" >> %(installdir)s/texlive.profile ',
# sensible comment to explain what the command below is about goes here
' || '.join([
local_install_tl % '',
local_install_tl % '-repository ftp://...',
local_install_tl % '-repository https://...',
]),
]The use of %% in local_install_tl is important...
|
@boegelbot please test @ generoso |
|
@boegel: Request for testing this PR well received on login1 PR test command '
Test results coming soon (I hope)... Details- notification for comment with ID 1560021570 processed Message to humans: this is just bookkeeping information for me, |
|
The test on I'll rerun the test with |
|
@boegelbot please test @ generoso |
|
@boegel: Request for testing this PR well received on login1 PR test command '
Test results coming soon (I hope)... Details- notification for comment with ID 1561382332 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @boegelbot |
|
Going in, thanks @hattom! |
tl;dr: the default
-repositorylocation for the install script points to the default mirror, which raises an error for version_year != 2023