apache / apache/buildstream

The `--default-mirror` comand line option is not very useful

Open
#1,536 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
140
Forks
45
Avg merge
1d 3h
Merged PRs (30d)
6

Description

This option only controls the default mirror of the toplevel project.

This is increasingly meaningless as projects become modular, or thin application projects are based on larger runtime projects.

We should either remove this command line option altogether, along with an implementation of [this proposal](https://lists.apache.org/api/source.lua?id=1w3s72q4yf23rx0yc57tw0lf94q3g5bj), or we should elaborate on the option such that it can declare a default mirror for all projects loaded in the build pipeline, e.g.:

```
bst --default-mirror gnome korea --default-mirror freedesktop-sdk korea fetch target.bst
```

I think it would be acceptable to just remove the option as a first step and implement it more flexibly on demand in a later stable release of bst 2

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing `--default-mirror` command-line handling and review the linked proposal. Determine whether the first step is to remove the option or support defaults for every project loaded in the build pipeline; done means the chosen behavior is implemented consistently and the obsolete alternative is addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.