-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Description
When running Julia in applications that look for stderr output as indications of errors, this Juliaup output can become highly annoying.
juliaup/src/bin/julialauncher.rs
Lines 482 to 508 in 5cc3c1b
JuliaupConfigChannel::DirectDownloadChannel { | |
path, | |
url: _, | |
local_etag, | |
server_etag, | |
version: _, | |
} => { | |
if local_etag != server_etag { | |
if channel.starts_with("nightly") { | |
// Nightly is updateable several times per day so this message will show | |
// more often than not unless folks update a couple of times a day. | |
// Also, folks using nightly are typically more experienced and need | |
// less detailed prompting | |
eprintln!( | |
"A new `nightly` version is available. Install with `juliaup update`." | |
); | |
} else { | |
eprintln!( | |
"A new version of Julia for the `{}` channel is available. Run:", | |
channel | |
); | |
eprintln!(); | |
eprintln!(" juliaup update"); | |
eprintln!(); | |
eprintln!("to install the latest Julia for the `{}` channel.", channel); | |
} | |
} |
Would it be possible to control that via ENV variable? If such a PR is welcomed I can whip something up.
DilumAluthge and IanButterworth
Metadata
Metadata
Assignees
Labels
No labels