How-to · Steward
Choosing what the Steward looks after
Pick the repositories the Steward looks after from those Reeve found, say whether each is released, and read the Your repositories table.
- Article
- 1302
- Applies to
- Steward 0.36.139
- Last reviewed
- For
- For developers
Nothing is looked after until you pick it#
The Steward starts with no repositories. It offers the ones it could look after, and you pick them.
Found on this PC#
Found on this PC, on the Steward's page, lists your repositories that:
- Reeve found on this PC (see Your repositories in Reeve);
- have their origin on GitHub, and the account
ghis signed in as can push to; - or have their origin on another host, worked with that host's tool or plain git. GitHub can't say whether you can push to those, so they're offered, and the first release says.
It leaves out the ones the Steward looks after already, and the ones you told Reeve to Leave alone. The list is kept for an hour; Look again looks now.
Beside each repository is one checkbox, off unless you check it:
- Release each new version: when its branch carries a version with no release yet, the Steward releases it. See How the Steward releases.
Then:
- Look after takes on that one repository.
- To take on several in one go, check the box beside each one (or All), and choose Look after the picked. Each keeps its own checkbox.
There's no check for merging: you merge your own pull requests. See You merge, it builds.
What Look after fills in#
It reads the repository's clone, at its branch's tip, and fills in:
| What | Filled in with |
|---|---|
| How to test it | npm run typecheck and npm test, when package.json has those scripts; cargo test for Rust; go test ./... for Go; dotnet test on its unit tests for .NET. |
| The files its version is in | package.json and package-lock.json; a src/*.ts file with the same version: 'x.y.z' or VERSION = 'x.y.z'; a .csproj or Directory.Build.props with <VersionPrefix>. |
| How to release it, if you checked Release each new version | Its own npm run release, when package.json has a release script; otherwise tag, a release the Steward makes itself. With no version files found, it's left empty: never released. |
Where the list lives#
The repository goes into Castellan's Settings > Developer > Repositories, the one list that all the developers' staff read. Change a repository, or stop the Steward looking after it, there. See Your own repositories.
Each field in that list, as the Steward uses it:
| Castellan's field | What the Steward does with it |
|---|---|
| Repository | The repository on its host, as owner/name on GitHub. The Steward looks after only repositories that have one. |
| Checkout | Your clone. The Steward fetches in it and makes worktrees of it in its work folder; it never changes your working tree. vouch runs the tests in it. |
| Branch | Where your pull requests go, and where releases come from. |
| Tests | Run on the branch's newest commit at a build before it's released, unless a vouch covers it, and by vouch in your clone. With none, a build releases it untested. |
| Version files | Where the version is read, and where a build's stamp sets it. |
| Release | tag, or a command. Empty: never released. |
| The Steward merges ready pull requests | No longer used: the Steward merges no pull requests, checked or not. |
What the Steward won't look after#
- A repository with no remote repository given: it has nothing for the Steward to release to.
- Castellan's own repositories. Look after,
claim-versionand saving the setting each refuse one, and say why.
A repository of yours that shares a name with one of Castellan's staff is looked after under an id of its own, such as porter-2.
The Your repositories table#
| Column | What it says |
|---|---|
| Repository | Its name, linked to its host, and a badge: releases, or not released when it has no way to be released. |
| Checkout | Your clone's path, the branch it's on, and how many files are changed there; "no checkout at" when the folder is gone. |
| Branch on origin | The branch on its host, with its version and its head commit. |
| Latest release | Its newest release, and whether the branch's version is still to be released. |
| Release PC | Which PC has its turn to release it. See The Steward on several PCs. |
| Notes | Anything to know about it, when there is something. |
Under a repository is what the next build brings ("Next build brings 3 commits since v1.4.2", with a link to compare them on GitHub), then a row for each open pull request: its number and title, its branch, team for your team's ("whoever opened it merges it once it is vouched"), and badges for its checks (checks passing, pending, failing, or none when its host runs none), whether it merges (mergeable or conflicting), draft, and into another branch than the repository's.
The table is made again after each round or button that did something, after a quiet round when GitHub says something new, on Refresh, and when you open the page after 10 minutes with no round. Opening the page doesn't ask GitHub anything while the rounds run.
Related articles
Is this page right?
If something on it is wrong or out of date, tell us and we'll fix the page.
Still stuck? Write to support@castellan-software.com and mention article 1302. Every version of Steward, and what changed in it, is in its release notes.