Skip to content
Castellan
Castellan's icon

How-to · Castellan

Read as

Your own repositories

List the repositories on this PC that you want the developers' staff to look after, and choose what each may do with them, from Castellan's Settings.

Article
1108
Applies to
Castellan 0.17.51
Last reviewed
For
For developers
Written for Castellan 0.17.51. Castellan is at 0.17.111 now (40 small releases since: what changed).

One list for all the developers' staff#

Repositories, in Castellan's Settings > Developer, is the list of your repositories on this PC that the developers' staff look after: your own projects, a fork, a client's code. They all read the same list, so you add a repository once. The Developer tab is shown once one of the developers' staff is hired.

What a repository on the list gets, with the right staff hired:

  • Reeve's rounds: dependency health, upgrades, security alerts and failing tests, and merged branches cleaned up if you allow it. See Reeve's rounds.
  • The Assayer's tests of its local branches, while its rounds are on, with pull requests opened or marked ready for you. The Assayer never merges.
  • The Steward: its versions claimed up front, and each new version you merge released, where you say so below. It never merges your pull requests: you merge your own. See The Steward.

Add a repository#

  1. Open Settings > Developer, and under Repositories choose Add a repository.
  2. Fill in the form. Only Name and Checkout are needed; the fields are below.
  3. Choose Save. The list shows each repository with whether its checkout is on this PC and is a git clone.

Edit on a repository opens the same form again. Remove asks first, then takes it off the list; its clone stays as it is, and nothing in it changes.

The fields

FieldWhat it's for
NameWhat the page calls it: up to 60 characters, one name to a repository.
CheckoutThe full path of its clone on this PC, such as D:\Code\example. One entry to a clone.
RepositoryIts repository on GitHub, as owner/name, if it has one.
BranchThe branch its work goes to: main unless you say.
TestsThe command the Assayer runs its tests with, in its checkout, such as npm test.
Version filesThe files its version is set in, such as package.json, package-lock.json. Leave it empty and the manor never changes this repository's version.
ReleaseHow the Steward releases the version on its branch: tag (a GitHub release of the branch), or a command run in a fresh copy of it. Leave it empty and it's never released. Needs Repository and Version files.
Clean up merged branchesReeve deletes branches already merged into its branch, in this clone, and on GitHub only for repositories you list in Reeve's settings; unmerged ones are only reported. On unless you uncheck it, once Reeve's project-branches job is turned on.

Good to know#

  • Nothing is released without your say-so. Releasing needs Release filled in, then Release pressed on the Steward's page, or its builds once you turn on Builds and releases by itself in its settings. No one merges your pull requests but you: the Steward merges none. See You merge, it builds.
  • A clone that's gone stays listed, and the page says so, until you remove it or it's back.
  • Castellan's own repositories can't be added.
  • The list is in every settings backup.

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 1108. Every version of Castellan, and what changed in it, is in its release notes.