Skip to content

Commit

Permalink
Merge pull request #23 from syyyr/hp3-syncpath
Browse files Browse the repository at this point in the history
HP3: Add info about syncPath
  • Loading branch information
fvacek authored Feb 12, 2024
2 parents bf72164 + 6d4d564 commit 65602ec
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/history-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@ JSON schem for a meta.json file containing a `HP3` node:
"properties": {
"type": {
"type": "string",
"pattern": "^device|HP3$"
"pattern": "^device|HP3$",
"default": "default"
},
"syncPath": {
"type": "string",
"pattern": "^.app/history|.app/shvjournal$",
"default": ".app/history"
}
},
"additionalProperties": false
Expand All @@ -42,6 +48,8 @@ JSON schem for a meta.json file containing a `HP3` node:
}
```
An `HP3` node can be either `device` (which is the default) or `HP3`.
A `device` node also specificies a `syncPath`, i.e. where on the device should _HP3_ look for files. By default, it is
`.app/history`. Older, `.app/shvjournal` is also supported.

_HP3_ stops at the first `HP`/`HP3` node it encounters and downloads logs from that node. The `HP3` type signifies that
the node is a _HP3_ and its logs includes all logs from its subtree. This creates a cascade so that logs gradually flow
Expand Down

0 comments on commit 65602ec

Please sign in to comment.