Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for CTAN package upgrades #3627

Open
MartinX3 opened this issue Aug 17, 2024 · 4 comments
Open

Check for CTAN package upgrades #3627

MartinX3 opened this issue Aug 17, 2024 · 4 comments
Labels
enhancement New feature or (non bug related) change to the program.

Comments

@MartinX3
Copy link

It would be nice if tlmgr is used to check for updates and maybe installs them if the user decides to use the rootless usermode.
Otherwise it would be nice to tell the user to run the needed command as an administrator:
tlmgr update --all

@MartinX3 MartinX3 added enhancement New feature or (non bug related) change to the program. untriaged Issue type still needs to be triaged or verified. labels Aug 17, 2024
@PHPirates
Copy link
Collaborator

Thanks for the suggestion, but when would you expect this update check to happen?
If I think about Gradle or other languages, IntelliJ will highlight the usage of a package as a warning if there is an update available.
This command seems to provide a list of updates:
tlmgr -repository https://mirror.ctan.org/systems/texlive/tlnet update --list

@PHPirates PHPirates removed the untriaged Issue type still needs to be triaged or verified. label Sep 9, 2024
@MartinX3
Copy link
Author

MartinX3 commented Sep 9, 2024

I think on startup of the IDE or in the auto update cycles of the IDE.
Maybe every 24h for people who never close it.

Also I was unable to fix the following scenario for myself via the CLI:
On Arch Linux texlive is installed via system packages.
Of course updating them via the CLI as root breaks the system.

I would like to have updated versions of the installed system tex packages in my user folder.
But it seems it is only possible to have them either completely installed in system or the user folder via tlmgr.

@PHPirates
Copy link
Collaborator

Yeah I think if it's a system package installation we should not try to update because it will be updated with the regular system update process. However, I would always recommend installing texlive the native way, so that it is always up to date (e.g. debian has often old versions), paths are in the expected place and because then the installation is uniform across all the distros so much easier for TeXiFy.

@MartinX3
Copy link
Author

MartinX3 commented Sep 12, 2024

Listing the package updates anyway and giving a reason why an update is impossible (system packages) would be nice.
tlmgr can distinguish it because the native way without system packages needs the user mode of tlmgr.

I assume it's too hard to maintain updated packages of the system packages in the user folder and always use the never version in system or user.

Here in arch linux we usually get the tagged versions of TexLive and not the updates between:
https://gitlab.archlinux.org/archlinux/packaging/packages/texlive-texmf/-/commit/a859065a149f9cdd2e641ae948173436ad5cffd0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or (non bug related) change to the program.
Projects
None yet
Development

No branches or pull requests

2 participants