Repository navigation
The images build on hosts whose group Debian already has, macOS among them, and wb.sh refuses to run as root.
Fixed
- The images build when the host's group is one Debian already has
(#3).
The workbench builds its images with the host's UID and GID, so the
files it writes into the workspace stay the user's. A primary group
of GID 100 (users, the default on NixOS and openSUSE) or 20 (macOS's
staff, Debian'sdialout) stopped the build atgroupaddwith
GID already exists. The group is now created with--non-unique,
so the image's user takes the host's GID whatever Debian calls it,
and the workspace's files keep the host's group. wb.shnames its own version again. v0.19.4's cut left the
script at0.19.3, and the workbench's version is its image's tag.
This release builds an image of its own, so the fix above reaches
every machine on its next run.
Updated
wb.shrefuses to run as root. Run as root, every file in the
workspace would be root's, and the next run withoutsudocould not
write them. Root used to stop at the image build with an error that
named none of this. The script now stops before building or writing
anything, says why, and points to the way out: thedockergroup,
which is whatsudowas usually standing in for, or a user of one's
own.helpstill answers.
Upgrading
git pull, then any command that needs the workbench image
(./wb.sh console, ./wb.sh new…) builds it again, which takes a few
minutes. Workspaces created before keep their Dockerfile.local and
run as they did.
Full record: CHANGELOG.md