workspacedir doesn't actually support relative paths?

Open
#2,171 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

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.

Description

Documentation 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
Dominant language
Python
Stars
144
Forks
45
Avg merge
20h 38m
Merged PRs (30d)
6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/buildstream

All issues in apache/buildstream

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.