-
Notifications
You must be signed in to change notification settings - Fork 17
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
Respect repository pinning #3
Comments
That's not good; I'm fairly sure Norbert said that as long as I passed --repository on all install/update actions (I do), the pinned package wouldn't be overwritten. |
Oh. Yet, I observe that KOMA-Script (as pinned above, currently version '3.13.…') is overwritten by the texlive-variant (still '3.12' but higher “internal version number”) |
Understood. My vague recollection is just that I didn't have to do any special coding to keep this sort of thing from happening, so I've sent an email to Norbert (the tlmgr maintainer) to check. Thanks for the report! |
Nice. PS: just installing without a |
Hi Adam, Yes, passing I will think about how this can be treated, but we don't want old pins to remain, actually I think a good idea would be that, if |
I really would like
|
You can always use |
(I happen to not have perl/tk installed. Other than that I find the integration of the tlutility a more pleasant experience, but I don't think this helps here :). Anyway, thanks for the pointer) |
Hi Norbert, thanks for the response. I dug through my inbox and found the message I was thinking of:
Apparently we misunderstood each other! This is the reason I never did anything about pinning support :). I cannot omit the |
If it helps, here's my output of
You can see that the default repo seems to be @norbusan I noticed that the machine-readable format as explained in |
Reading the tlmgr manual, even if I add support for pinning actions, I'd still need a way for update actions with a |
seems so |
Adam, yes that `tag' is what is the name of the repository. There are three options for it:
But I don't know if that helps you, as you are always calling with --repository. Concerning the question about having something like `--exclude-pinned' : I think about it, but maybe there is a way with the current methods? |
@norbusan, if There are historical (and good) reasons why I always pass |
Well, after installing koma-script as described above, it looks like passing |
Hmm, I was thinking about how I can implement That means, whatever we do at the moment, using My proposal is that I implement --repository to allow for multiple repositories. Then you could do:
Would that work? |
@norbusan, I'll keep thinking about this. I never pass the multiplexer as I'm not in too much of a hurry on this, as I suspect that most TLU users aren't using pinning (with apologies to @krono) or even know what it is. At this point, I'd just like to come up with a way to keep from messing up a pinned package, and I can probably do that as-is with some work. |
tlmgr
now has the possibility to pin packages to certain repositories. That way, updates from the command-line prefer packages from specified repositories over others. (Example from KOMA-Script:Adds a named repository “KOMA” and pinns the packages
koma-script
to that repository)Currently, tlutility does not support that, instead updating pinned packages whenever the current repository has a higher “version”.
The text was updated successfully, but these errors were encountered: