terminology
This commit is contained in:
parent
eeaa8dada8
commit
3846c7ae5e
1 changed files with 7 additions and 8 deletions
|
@ -31,10 +31,10 @@ It may make sense to have annex-accept info also be stored in the git-annex
|
||||||
branch, for settings that should apply to a repo globally. Does it make
|
branch, for settings that should apply to a repo globally. Does it make
|
||||||
sense to have local configuration too?
|
sense to have local configuration too?
|
||||||
|
|
||||||
## repo classes
|
## repo groups
|
||||||
|
|
||||||
Seems like git-annex needs a way to know the classes of repos. Some
|
Seems like git-annex needs a way to know the groups of repos. Some
|
||||||
classes:
|
groups:
|
||||||
|
|
||||||
* enduser: The user interacts with this repo directly.
|
* enduser: The user interacts with this repo directly.
|
||||||
* archival: This repo accumulates stuff, and once it's in enough archives,
|
* archival: This repo accumulates stuff, and once it's in enough archives,
|
||||||
|
@ -43,18 +43,17 @@ classes:
|
||||||
it does not hold data for long periods of time, and tends to have a
|
it does not hold data for long periods of time, and tends to have a
|
||||||
limited size.
|
limited size.
|
||||||
|
|
||||||
Add a class.log that can assign repos to these or other classes.
|
Add a group.log that can assign repos to these or other groups. **done**
|
||||||
(Should a repo be allowed to be in multiple classes?)
|
|
||||||
|
|
||||||
Some examples of using classes:
|
Some examples of using groups:
|
||||||
|
|
||||||
* Want to remove content from a repo, if it's not an archival repo,
|
* Want to remove content from a repo, if it's not an archival repo,
|
||||||
and the content has reached at least one archival repo:
|
and the content has reached at least one archival repo:
|
||||||
|
|
||||||
`(not class=archival) and (not copies=archival:1)`
|
`(not group=archival) and (not copies=archival:1)`
|
||||||
|
|
||||||
That would make send to configure on all repos, or even set
|
That would make send to configure on all repos, or even set
|
||||||
a global `annex.accept` to it.
|
a global `annex.accept` to it. **done**
|
||||||
|
|
||||||
* Make a cloud repo only hold data until all known clients have a copy:
|
* Make a cloud repo only hold data until all known clients have a copy:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue