Skip to content
Ohmstead
Download

History and project files

Save revisions, see what changed wire by wire, and keep a project as a plain text file.

Every project keeps its own history, and any project can be written out as a plain text file and read back in.

Click History in the workspace toolbar.

  • Save revision freezes the project as it is now, labelled with the title block's Rev. Issuing a team project saves a revision too.
  • Compare any two revisions, or a revision with now. Changes are listed by meaning, not by line: wires added, removed and moved ("K1:A1 moved from TB1:4 to TB2:1"), parts swapped, gauges and signals changed, terminals added to a strip.
  • Dragging blocks around never shows up as a wiring change. It's counted on its own line under Layout.
  • Restore puts a revision back as a new save. Nothing in the history is rewritten, and Undo brings back what was there.

Click File in the workspace toolbar.

  • Export file saves the project as an .ohmstead file: plain text, one line per part and wire, in a fixed order, so two versions compare line by line in any diff tool.
  • Import over this project reads a file and shows exactly what it would change, the same way History does. Nothing changes until you click Import. Parts, subsystems and wires keep their identity by tag, so your layout stays put.
  • Import file on the Projects page makes a new project from a file.

Parts are named in the file by maker and part number, with their Codex id alongside. A file from another account finds the same Codex part by id, or by maker and number. If a part can't be found, or more than one matches, the import names it and imports nothing, so you can add or fork the part first.

component PSU1 part "Phoenix Contact 2904600" group "Power"
wire PSU1:24V -> TB1:4 signal "24VDC (+)" awg 18

Drag positions and draw order go in the file's last section, [layout], apart from the wiring, so moving a block changes only that section. Each file starts with its format version, ohmstead-project 2, and a file from a newer Ohmstead asks you to update rather than guessing.

In the desktop app, with Pro, click Repo in the workspace toolbar.

  • Link repository picks a folder inside a Git repository on this computer. The project is saved there as its .ohmstead file.
  • Commit writes the file and commits it, with your message. Only that file is committed; anything else you have staged stays as it is. Issuing a team project commits too. Autosave never does.
  • Pull and Push use the Git and sign-in already on your computer, so any remote works: GitHub, GitLab, Gitea or your own server.
  • When the file changes in the repository, after a pull or an edit somewhere else, Ohmstead shows what changed. Nothing applies until you click Take in changes. Keep mine leaves the project as it is.
  • The link belongs to this computer. On another one, link the project again.