sim: implement dropunwantedfrom

This commit is contained in:
Joey Hess 2024-09-17 13:35:27 -04:00
parent eb5fad4e79
commit b85965cb3c
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
4 changed files with 63 additions and 51 deletions

View file

@ -192,7 +192,7 @@ as passed to "git annex sim" while a simulation is running.
Simulate the repository dropping files it does not want,
when it is able to verify enough copies exist on remotes.
* `action repo dropunwanted remote`
* `action repo dropunwantedfrom remote`
Simulate the repository dropping files from the remote that the remote
does not want, when it is able to verify enouh copies exist.
@ -217,7 +217,7 @@ as passed to "git annex sim" while a simulation is running.
* `action repo push remote`
Simulate the equivilant of [[git-annex-push]](1) by combining
the actions sendwanted, dropunwanted, and gitpush.
the actions sendwanted, dropunwantedfrom, and gitpush.
* `action repo sync remote`

View file

@ -34,8 +34,6 @@ Planned schedule of work:
* sim: implement addtree
* sim: implement ActionDropUnwanted
## items deferred until later for balanced preferred content and maxsize tracking
* `git-annex assist --rebalance` of `balanced=foo:2`