teatimeguest / setup-texlive-action

A GitHub Action to set up TeX Live
https://github.com/marketplace/actions/setup-texlive-action
MIT License
41 stars 2 forks source link

Tex Live from `tlnet-archive` (roollback/pretest) #289

Open pablgonz opened 8 months ago

pablgonz commented 8 months ago

Hi, at the moment the historical versions of TeX Live are loaded from https://ftp.math.utah.edu/pub/tex/historic/... which stores the last updated version before it freezes and moves to the next version.

In general this is what one wants, but, in some situations it is necessary to test with a specific update date, either because of kernel, package dependencies or other conflicts.

In texlive.info we can find tlnet-archive whose description is:

"a daily archive of all TeX Live packages updated since 2019-09-01, plus earlier final releases"

from which you can install the versions by year and update date, including the pretest version of this 2024.

I imagine something like:

- uses: teatimeguest/setup-texlive-action@v3
  with:
    version: 2024
    date: 2024/03/04

with which you could use the pretest version, or something like:

- uses: teatimeguest/setup-texlive-action@v3
  with:
    version: 2022
    date: 2022/09/09

so that we can use an earlier version at a specific date.

While I understand the specific meaning is continuous CI integration, I think it would be a good addition (especially in the pretest period of TeX Live).

Saludos

teatimeguest commented 8 months ago

Thanks for the suggestion! It sounds like a good idea.

I would like to add such a functionality, along with #283, to allow more flexibility in specifying a repository (but it might take some time as it would require several changes in the codebase).

teatimeguest commented 8 months ago

This feature has not been implemented yet, but you can now use tlpretest and daily archives by using the repository input:

- name: Use tlpretest
  uses: teatimeguest/setup-texlive-action@v3
  with:
    repository: https://ftp.math.utah.edu/pub/tlpretest/
    version: 2024
- name: Use the archive as of 2024-01-01
  uses: teatimeguest/setup-texlive-action@v3
  with:
    repository: https://texlive.info/tlnet-archive/2024/01/01/tlnet/