Conversation
|
|
…e after v2026.03.02 Co-authored-by: yihui <163582+yihui@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update install scripts for new naming scheme
Condition install scripts and R function on new TinyTeX naming scheme post-v2026.03.02
Mar 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
After PR #484 introduced
TinyTeX-{N}-{os}[-{arch}].tar.xzfilenames, the install scripts andinstall_tinytex()still used the old names unconditionally. This adds version-gated logic: daily installs and versions >v2026.03.02use the new names; versions ≤v2026.03.02keep the old names.Naming scheme summary
TinyTeX-1.zip,TinyTeX-2.exeTinyTeX-1-windows.exeTinyTeX-1.tar.gzTinyTeX-1-linux-x86_64.tar.xzinstaller-unix(source)TinyTeX-1-linux-arm64.tar.xz✨TinyTeX-1.tgzTinyTeX-1-darwin.tar.xzarm64 Linux now gets a prebuilt binary for daily and new-scheme versions.
tools/install-bin-unix.shUSE_NEW_NAMESvia shell string comparison against"2026.03.02"x86_64; new naming also allowsaarch64OS_ARCHsuffix andEXT, then builds the full URL (including extension) in one placetools/install-bin-windows.batUSE_NEW_NAMESvia PowerShell[string]::CompareOrdinalagainst'2026.03.02'TINYTEX_FILENAME=%TINYTEX_INSTALLER%-windows,BUNDLE_EXT=exezip/exelogic unchangedR/install.Rneed_source_install(version='')gains aversionparameter;aarch64Linux returnsFALSEfor daily/latest/> '2026.03.02'install_prebuilt(): new naming builds e.g.TinyTeX-1-darwin-v2026.04.tar.xz; old naming path unchangedinstall_tinytex()andinstall_prebuilt()passversiontoneed_source_install()tinytex-releasesmonthly-release.yaml — no changes neededThe existing rename loop already handles both old and new filenames generically:
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.