juliaup icon indicating copy to clipboard operation
juliaup copied to clipboard

Support short channel matching

Open IanButterworth opened this issue 1 year ago • 3 comments

On julia you can do --start=no to control --startup-file=no because there's no other arg that matches --start

It would be nice if juliaup did the same for channel names

So julia +n for nightly. julia +r for release. etc.

IanButterworth avatar Feb 12 '24 15:02 IanButterworth

Sure, as long as it's only the words that are matched, not the version numbers (see https://github.com/JuliaLang/juliaup/pull/838#issuecomment-2206640506)

LilithHafner avatar Jul 03 '24 15:07 LilithHafner

First of all, sorry that I didn't chime in on this for so long, especially to the two PR authors.

I thought about it, and I have to admit, I'm not a fan of any auto-matching solution. I think what would we could consider instead is support for channel aliases, and I think they could cover this case here, plus be more powerful overal.

The idea would be that one could do something like juliaup alias create r release to create an alias named r for the channel release. And then we would also need correspondingly juliaup alias remove and probably juliaup alias status or something like that.

Or maybe we could extend the existing link command to cover this, for example juliaup link r +release. Maybe that would actually be the nicest solution.

davidanthoff avatar Oct 06 '24 01:10 davidanthoff

I also think that aliases would be the best approach here.

StefanKarpinski avatar Oct 07 '24 19:10 StefanKarpinski