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

Error says: "Invalid Juliaup channel nightly" #820

Closed
LilithHafner opened this issue Feb 3, 2024 · 2 comments · Fixed by #848
Closed

Error says: "Invalid Juliaup channel nightly" #820

LilithHafner opened this issue Feb 3, 2024 · 2 comments · Fixed by #848
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@LilithHafner
Copy link
Member

Huzzah! nightly is now a valid channel. This is so exciting!

However, when the nightly channel is not installed, it is mischaracterized as "invalid" instead of "not installed":

x@fedora:~$ julia +1.9.0
`1.9.0` is not installed. Please run `juliaup add 1.9.0` to install channel or version.
x@fedora:~$ julia +nightly
ERROR: Invalid Juliaup channel `nightly`. Please run `juliaup list` to get a list of valid channels and versions.
x@fedora:~$ juliaup list
 Channel                Version                           
----------------------------------------------------------
 0.6.1                  0.6.1+0.aarch64.linux.gnu         
 0.6.1~aarch64          0.6.1+0.aarch64.linux.gnu         
 0.6.2                  0.6.2+0.aarch64.linux.gnu         
 0.6.2~aarch64          0.6.2+0.aarch64.linux.gnu         
 ...
 beta~aarch64           1.10.0+0.aarch64.linux.gnu        
 lts                    1.6.7+0.aarch64.linux.gnu         
 lts~aarch64            1.6.7+0.aarch64.linux.gnu         
 rc                     1.10.0+0.aarch64.linux.gnu        
 rc~aarch64             1.10.0+0.aarch64.linux.gnu        
 release                1.10.0+0.aarch64.linux.gnu        
 release~aarch64        1.10.0+0.aarch64.linux.gnu        
 nightly                latest-linux-aarch64              
 nightly~aarch64        latest-linux-aarch64              
x@fedora:~$ juliaup add nightly
Installing Julia latest-linux-aarch64
x@fedora:~$ julia +nightly --startup-file=no
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.11.0-DEV.1458 (2024-02-02)
 _/ |\__'_|_|_|\__'_|  |  Commit 98e4f01d26e (0 days old master)
|__/                   |

julia> 
@LilithHafner LilithHafner added the bug Something isn't working label Feb 3, 2024
@davidanthoff davidanthoff added help wanted Extra attention is needed good first issue Good for newcomers labels Feb 3, 2024
@christiangnrd
Copy link
Contributor

christiangnrd commented Jul 16, 2024

Edit: See #995

I was working on the merge conflicts in rebasing #848 to main earlier and it got me wondering how PR channels should be considered.

Potential options I came up with:

  1. Treat them like any invalid channel. (easy option)
  2. Look online to see if it’s a valid pr with an uploaded build and show the uninstalled channel message. (Would have to connect to the internet for a step that doesn’t typically need to)
  3. Find a concise way to explain that it may or may not be a valid channel that happens to be uninstalled. (Every phrasing I come up with for this feels sloppy and drawn out)

Any ideas?

@StefanKarpinski
Copy link
Member

It seems reasonable to me to only know about the PRs available as of the last update. If you want a new PR do an update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants