Coder Social home page Coder Social logo

setup-texlive-action's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

setup-texlive-action's Issues

Facilitate simultaneous installations

Not sure why one would need them, but it should be easily doable:

  • installation-path is already customizable,
  • appending the binary path to the system path should be turned off in case of multiple installations in order to avoid conflicts,
  • the binary path should be an output to facilitate calling executables from specific installations.

Invalidate cache on new version of texlive

Is there an existing issue for this?

  • I have searched the existing issues

Original problem

The cache-key is generated by profile-path and packages-path.
When these are not changed the texlive version is fixed.

On a long term this can break texlive (tlmgr) with the following error

tlmgr itself needs to be updated.
Please do this via either
  tlmgr update --self
or by getting the latest updater for Unix-ish systems:
  https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh
and/or Windows systems:
  https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.exe
Then continue with other updates as usual.
===============================================================================
tlmgr: Terminating; please see warning above!
tlmgr: package repository https://ctan.mirrors.hoobly.com/systems/texlive/tlnet (verified)

Proposed solution

The cache-key should consider the version or hash of the texlive installer.
As not updating will break the github action it's not needed to have this configurable.

Alternatives considered

One could generate the hash keys in the repos itself and pass it to this action or deactivate caching completely.
I think we should prevent people from deactivationg caches so I think this should be a package feature.

Additional context

No response

Action tries to install commented lines in packages file

Is there an existing issue for this?

  • I have searched the existing issues

Current behaviour

It seems that all lines in the package files are being installed, raising errors on commented ones.

Expected behaviour

Comments should be skipped.

Steps to reproduce

No response

Additional context

while IFS=\= read pkg; do TEXLIVE_PACKAGES+=($pkg); done < <(grep --invert-match '^(\s*#.*)?$' "$TEXLIVE_PACKAGES_PATH")

Apparently I forgot a grep flag anche the pattern is being used literally.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.