apache / apache/buildstream

workspacedir doesn't actually support relative paths?

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

Description

[Documentation](https://docs.buildstream.build/master/using_config.html) states that `workspacedir` can be a relative path:

> Because of this, the workspacedir directory is the only directory which is allowed to be declared as a relative path.

However setting `workspacedir: ./workspace/` in `~/.config/buildstream.conf` and then executing `bst workspace list` produces
```
$ bst workspace list
Error loading user configuration: workspacedir must be an absolute path
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with `workspacedir: ./workspace/` in `~/.config/buildstream.conf` and run `bst workspace list`. Compare the observed absolute-path validation with the behavior documented at the linked configuration page, then determine whether the implementation or documentation is wrong. Done means the documented behavior and the command's result agree, with coverage for the relative-path case if the project has a suitable test location.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.