apache / apache/buildstream

Sort project.refs

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

Description

project.refs is currently unsorted. This makes checking the file into git quite cumbersome. It would be nice if buildstream could sort the keys by element name before writing the `project.refs` file, so that we could get cleaner git diffs out of an invocation of `bst source track **.bst`

Contributor guide

Open the contributing guide

Research direction

Start by tracing the `bst source track **.bst` entry point to where `project.refs` is written. Check how element names become keys, then verify that the generated file is consistently sorted and produces cleaner git diffs; the issue does not mention a test file to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.