What the check refuses
pitafix rig check reads the manifest and refuses what a core, or a person reading the sheet, would trip over.
pitafix rig check reads the manifest and refuses what a core, or a person reading the sheet, would
trip over. Every problem comes with the field and a fix. In summary:
- Unknown keys. The decoder names any key a rig has no use for, so a typo can't pass.
- The head. A
schemaother than 1, anidthat isn't plain, acorethat isn't a core's id, a[match]with no rules (the rig would be offered for no project), and a name or sentence over its limit or holding control characters. - Commands. An empty program, a blank no core fills, or an
envname that isn't a variable's. - Services. A
runother than the three, a fixture with nohandler, a local service with nostart, a remote one with nohostsor a host that isn't a DNS name, and any key that belongs to another kind of service. Two services with one id. - People. A person with cookies and steps, or neither. A cookie with no name, or both
valueandask. Adatano service runs. A person's steps with asign_inin them. - States. No
way_in, anasthat is no person, anopenthat isn't a path of the app. - Journeys. No name, no steps, an
inthat is no state, adatano service runs, a duplicate step id, a step with no verb or with two, auseof a run that isn't there or that uses itself, astatewith neitherasnoropen. - Steps. An
openthat isn't a path of the app. A selector that names nothing. A tap'satoutside 0 to 1. Akeywith no name, a scroll that goes nowhere, an idle of no time, an upload that chooses no file, a menu that names no item, asign_inof nobody. Anexpectthat expects nothing, a regular expression that doesn't compile, a status that isn't one. - Screens. A screen named by both route and name, or by neither. A screen or state that has
both states and an
unreached, or neither. Abythat names no step. - Files. A handler or an upload that isn't a regular file inside the rig's folder.
- The limits. At most 64 services, 64 people, 256 states, 500 journeys, 2000 steps in a list and 5000 screens. A rig that large is more than one project's.
--project DIR adds one more: the rig's [match] must hold for the project.