bazelbuild / bazelbuild/bazel

Add option to create bazel symlinks using relative paths (instead of absolute)

Open
#2,351 11 comments 10 reactions 0 assignees View on GitHub
help wanted not stale P3 team-OSS type: feature request
Dominant language
Java
Stars
25.8k
Forks
4.6k
Avg merge
2d 20h
Merged PRs (30d)
72

Description

It'd be nice if the set of symlinks created by bazel (i.e. bazel-bin, bazel-genfiles, etc) had to option to use relative paths instead of absolute paths. In our case, this makes it easier to work off an NFS export and use OS-native tools on the files in that export.

Contributor guide

Open the contributing guide

Research direction

Start by tracing where Bazel creates the bazel-bin and bazel-genfiles symlinks, then review the issue's NFS use case and the existing symlink behavior. Done means users can opt into relative symlink targets instead of absolute ones while preserving the current default; verify the behavior with the relevant existing tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.