Generators
A code document's tabs:
| Tab | What's in it |
|---|---|
| Execute | The generator's parameters as a form, and Execute |
| Runs | Every run: its parameters, its state and log, and the documents it made |
| Code | Where the code is: repository, ref (branch, tag or commit), directory. Save, then Sync |
| Files | The snapshot of the code and its manifest |
| History | Versions and revisions, as for any document |
Sync resolves the ref to a commit and takes a copy of the code. The note under the form says which commit. Change the ref, or push new commits, and sync again. Releasing the code document freezes its commit.
Execute checks the values, then runs the generator on a worker. Running the same parameters again on the same commit returns the run that's already there. Errors the generator raises itself show up in the run, word for word.