sim: Add metadata command
Only really needed for completeness, preferred content expressions can match against metadata.
This commit is contained in:
parent
b492eb051b
commit
783e910d0c
5 changed files with 46 additions and 16 deletions
|
@ -309,16 +309,6 @@ as passed to "git annex sim" while a simulation is running.
|
|||
Sets the trust level of the repository. This is equivilant to
|
||||
[[git-annex-trust]](1), [[git-annex-untrust]](1), etc.
|
||||
|
||||
* `group repo group`
|
||||
|
||||
Add a repository to a group. This is equivilant to
|
||||
[[git-annex-group]](1).
|
||||
|
||||
* `ungroup repo group`
|
||||
|
||||
Remove a repository from a group. This is equivilant to
|
||||
[[git-annex-ungroup]](1).
|
||||
|
||||
* `wanted repo expression`
|
||||
|
||||
Configure the preferred content of a repository. This is equivilant
|
||||
|
@ -352,6 +342,22 @@ as passed to "git annex sim" while a simulation is running.
|
|||
|
||||
Configure the groupwanted to a random expression.
|
||||
|
||||
* `group repo group`
|
||||
|
||||
Add a repository to a group. This is equivilant to
|
||||
[[git-annex-group]](1).
|
||||
|
||||
* `ungroup repo group`
|
||||
|
||||
Remove a repository from a group. This is equivilant to
|
||||
[[git-annex-ungroup]](1).
|
||||
|
||||
* `metadata filename expression`
|
||||
|
||||
Change the metadata of the simulated file. The expression is
|
||||
in the same format as the --set option of the [[git-annex-metadata]]
|
||||
command. For example: `metadata foo year=2025`
|
||||
|
||||
* `maxsize repo size`
|
||||
|
||||
Configure the maximum size of a repository. This is equivilant to
|
||||
|
|
|
@ -28,11 +28,7 @@ Planned schedule of work:
|
|||
|
||||
## work notes
|
||||
|
||||
* Currently working in [[todo/proving_preferred_content_behavior]]
|
||||
in the `sim` branch.
|
||||
|
||||
* sim: Add support for metadata, so preferred content that matches on it
|
||||
will work
|
||||
* Currently working in [[todo/proving_preferred_content_behavior]].
|
||||
|
||||
* The sim cannot be safely interrupted, or two processes be run
|
||||
concurrently. Both unlike other git-annex commands. Either document these
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue