Skip to content

v0.2.0

Latest

Choose a tag to compare

@joshdaugherty joshdaugherty released this 05 Nov 18:24
7950c72

Five changes to seat-stage and seat-pace since v0.1.5. Two of them change what a seats file may hold, so this is a minor release.

What changed

  • work_location may repeat across repositories on one machine (#35, PR #36). seat-stage refused two seats on one machine with the same work_location even in different repositories. It now refuses only the same label in the same repository, with the same message. A seats file can use bare labels (a, ci, primary) for every repository.
  • A work_location over 32 characters is refused (#21, PR #40). Core stores 32 (WorkIdentity::MAX_LOCATION); a longer name was recorded cut short at join and every resume's session_move to the full name was refused. The seats file is now refused, naming the seat, the length and the limit. The default (the slot) is held to the same limit. A seats file that passed before can now be refused: shorten the label.
  • --version, and a notice when the install is behind (#34, PR #37). seat-stage --version and seat-pace --version print the installed release. seat-stage check and stage print one line on stderr when a newer release is out and name the update command; the exit status is unchanged. The latest release is looked up with curl at most once a day, silent on failure; FLEET_KIT_NO_UPDATE_CHECK=1 turns it off. collect and seat-pace (so a scheduled watch --once) print nothing extra.
  • Remember the configuration path (#33, PR #38). seat-stage config set <file> stores the seats file's path in one per-user file; config show says which source supplied the path; config unset forgets it. Both tools read --config, then FLEET_KIT_CONFIG, then the remembered path, then seats.toml in the current directory. check and stage print a note when the seats file's repository is behind its upstream, and --pull runs git pull --ff-only first, only when asked.
  • The operator's GitHub username in the first prompt (#32, PR #39). An [[account]] may carry github = "<username>"; every seat on a machine that account lists gets "Your operator's GitHub username is <username>." With github unset the prompt is unchanged byte for byte. A machine listed under more than one [[account]] is refused when any of them sets github.

Upgrading

composer global update robot-council/fleet-kit, or see Updating. Run seat-stage check <machine> after updating: it reports a work_location over 32 characters. Nothing else in an existing seats file needs to change.

Not measured

The per-user file location on macOS and Linux (run by hand on Windows only), a --pull that needs credentials, and the version reported by a Composer-installed tagged release (the code path is there; the installed-package tests use untagged path installs).