Every limit is a setting.
Defaults that work, and every number the daemon acts on is yours to change: from the terminal, in swairm.json, or in one window on the board.
- swairm config lists every value and where it comes from
- The board's cog edits them all in one window
- swairm.json is committed with your repository
- Machine settings are shared by every repository
Features
Everything in Settings
swairm config
Lists every setting with the value in effect and where it comes from. swairm config lanes=5 sets one, lanes= puts the default back, and stuck.job=45 sets one part of stuck.
help config
swairm help config explains every key.
One window
The cog at the top right of the board (key: ,) edits the same settings, with the same checks.
Per repository
swairm.json at the repository root. Commit it so the whole team shares it; the daemon rereads it when it changes.
Per machine
heavy_slots and board_port, in ~/.swarm/config.json, set from any folder.
Nothing built in
Nothing about your project is in swairm: the gate command, heavy words, env and test-runner rules all come from swairm.json.
In the terminal
$ swairm config CONFIG swairm.json and ~/.swarm/config.json (machine); change one: swairm config key=value base main default merge_strategy squash default gate_mode schedule default lanes 5 swairm.json heavy_slots 3 default $ swairm config gate_mode=idle
Commands
swairm config | every setting, its value and where it comes from |
swairm config key=value | set one; key= for the default |
swairm help config | what each setting means |
Settings
base | the branch tickets land on (default main, else master) |
lanes | builders at once (default 3) |
gate_mode | when the gate runs by itself: schedule (default), idle, every or manual |
merge_strategy | how a ticket lands after it is rebased: squash (default), rebase or merge |
notify_tags | the notifications you get: quiet, standard (default), verbose, or the boxes you tick |
heavy_slots | machine: heavy jobs that run at once (default 3) |
Set one with swairm config key=value, in swairm.json, or in the board's Settings. All about settings.
Why it works this way
The decisions behind it
Each one is a short record on GitHub: the context, the decision, and the options that were turned down.
Write the tickets. Let the swarm build them.
Install once. Every repository on your machine gets a swarm and a board.
curl -LO https://github.com/CodingNinja/swairm/releases/latest/download/swairm-macos.pkg && sudo installer -pkg swairm-macos.pkg -target /
go install github.com/CodingNinja/swairm/cmd/swairm@latest && swairm install
