eclipse-score / eclipse-score/baselibs

Audit and tighten Bazel target visibility to expose only the public API

Open
#426 0 comments 0 reactions 0 assignees View on GitHub
bazel
Dominant language
C++
Stars
26
Forks
85
Avg merge
2d 13h
Merged PRs (30d)
47

Description

`score_baselibs` currently marks a large number of Bazel targets as `visibility = ["//visibility:public"]` without a consistent policy for when this is appropriate.

### Goal
Go through `/score` package by package and:
- Identify which targets constitute the actual public API of score_baselibs and should keep `//visibility:public`.
- Restrict all other targets (internal helpers, private mocks, test-only libraries, implementation details) to the narrowest visibility that satisfies internal consumers.
- Where a target is unclear (used both internally and plausibly needed by external consumers), flag it for discussion.

Contributor guide

No contributing guide indexed for this repository

Research direction

Review Bazel targets package by package under /score, starting with public visibility declarations and their internal consumers. Record which targets form the public API, then narrow non-public targets to the smallest working scope and flag ambiguous externally useful targets for discussion. Done means every target has a justified visibility.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.