JuliaLang / JuliaLang/juliaup

using multiple DEPOT_PATH s with one julia installation

Open
#257 7 comments 4 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.3k
Forks
116
Avg merge
12h 34m
Merged PRs (30d)
19

Description

You might have `julialauncher` look in the default depot path as a fallback in case `DEPOT_PATH[1]` has no `juliaup` directory.

I'd like to use various main depots (the first entry in `DEPOT_PATH`) without running juliaup each time to install julia in the depot.

More precisely, I'd like to use juliaup to install to `~/.julia` and then later this same julia with various other depots. But, `~/.juliaup/bin/julia`, which links to the launcher of course can't find julia.

I am working on a project that manages a depot, etc. with scripts. If `~/.juliaup/bin/julia` is the first on my system path, then the real julia binary will not be found. I imagine that other scenarios like this might arise in the future.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing julialauncher’s handling of DEPOT_PATH and the ~/.juliaup/bin/julia entry point. Reproduce the case with ~/.julia as a fallback depot and a different DEPOT_PATH[1]; done means the launcher finds the installed Julia without reinstalling it in each depot.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.