Commit graph

38986 commits

Author SHA1 Message Date
Joey Hess
cc89699457
mincopies
This is conceptually very simple, just making a 1 that was hard coded be
exposed as a config option. The hard part was plumbing all that, and
dealing with complexities like reading it from git attributes at the
same time that numcopies is read.

Behavior change: When numcopies is set to 0, git-annex used to drop
content without requiring any copies. Now to get that (highly unsafe)
behavior, mincopies also needs to be set to 0. It seemed better to
remove that edge case, than complicate mincopies by ignoring it when
numcopies is 0.

This commit was sponsored by Denis Dzyubenko on Patreon.
2021-01-06 14:15:19 -04:00
AlbertZeyer
81f47c2662 2021-01-06 15:24:28 +00:00
AlbertZeyer
7404d26f6a Added a comment 2021-01-06 14:59:01 +00:00
AlbertZeyer
35e9318418 Added a comment 2021-01-06 11:15:43 +00:00
Joey Hess
8d8cdbec56
branch 2021-01-05 14:28:54 -04:00
Joey Hess
428d228ee5
docs for requirednumcopies
Not implemented yet.
2021-01-05 14:22:44 -04:00
Joey Hess
f3312baa2c
the author of this forum post deleted it, so remove comments 2021-01-05 11:23:31 -04:00
Joey Hess
56df4030c3
Merge branch 'master' of ssh://git-annex.branchable.com 2021-01-05 11:23:02 -04:00
Joey Hess
5018c6abee
update 2021-01-05 09:15:28 -04:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
6808e76d0a removed 2021-01-05 06:06:35 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
6fbb284b8d Added a comment 2021-01-05 05:55:14 +00:00
Joey Hess
90ec3f2238
promote forum post to bug report 2021-01-04 17:01:51 -04:00
Joey Hess
c6a38d392b
comment 2021-01-04 16:48:28 -04:00
Joey Hess
3fa806b048
wrong, wrong, wrong 2021-01-04 16:28:36 -04:00
Joey Hess
a3a19518d8
fix --time-limit
It got broken in several ways by the streaming seeking optimisations
around version 8.20201007.

Moved time limit checking out of the matcher, which was a hack in the
first place. So everywhere that uses Limit.getMatcher needs to check
time limit. Well, almost everywhere. Command.Info uses it, but it does
not make sense to time limit getting info. And Command.MultiCast uses it
just to build up a list of files that then get passed to a command, so
it would never have hit the timeout in a useful way.

This implementation is a little more expensive when at time limit than
necessary, since it continues seeking only to discard everything after the
time limit. I did try making it close the file handles to force a faster
shutdown, but that didn't work and hung. Could certianly be improved
somehow, but seeking is probably not the expensive bit when a time limit
is hit, so this seems acceptable for now.
2021-01-04 15:57:11 -04:00
Joey Hess
a5511c32d7
comment 2021-01-04 14:32:29 -04:00
Joey Hess
8a84ddc061
close 2021-01-04 13:46:11 -04:00
Joey Hess
0684b940ae
comment 2021-01-04 13:43:01 -04:00
Joey Hess
ebc89b3550
add pointer to annex.largefiles config docs 2021-01-04 13:39:48 -04:00
Joey Hess
8f69f5d9aa
comment 2021-01-04 13:34:32 -04:00
Joey Hess
5ce61c6b2a
add: Significantly speed up adding lots of non-large files to git
* add: Significantly speed up adding lots of non-large files to git,
  by disabling the annex smudge filter when running git add.
* add --force-small: Run git add rather than updating the index itself,
  so any other smudge filters than the annex one that may be enabled will
  be used.
2021-01-04 13:12:28 -04:00
Joey Hess
0b2b666a38
fix bad annex.largefiles example syntax 2021-01-04 13:11:05 -04:00
Joey Hess
1c5fc8f047
Git.Queue: allow providing git common options like -c 2021-01-04 12:51:55 -04:00
Joey Hess
36f691e7e5
update year 2021-01-04 12:45:19 -04:00
Joey Hess
cd776ecb2e
avoid combining queued commands with different params
I don't think this affected git-annex currently, but if the same command
was queued twice with different params, one set of params was thrown
away, and the files going with those were run with the other set of
params.
2021-01-04 12:41:19 -04:00
Joey Hess
e7b0754171
comment and todo 2021-01-04 12:26:48 -04:00
Joey Hess
27ec6c7427
comment 2021-01-04 12:07:01 -04:00
Joey Hess
4f95ff6e84
comment 2021-01-04 12:05:32 -04:00
Joey Hess
89f923135d
comment 2021-01-04 12:04:01 -04:00
Joey Hess
409eeed014
Merge branch 'master' of ssh://git-annex.branchable.com 2021-01-04 11:57:29 -04:00
AlbertZeyer
ebe6c12cc0 Added a comment 2021-01-04 12:04:04 +00:00
AlbertZeyer
c5dd184d66 Added a comment 2021-01-03 22:07:02 +00:00
AlbertZeyer
3ceaf762b9 2021-01-03 22:02:02 +00:00
AlbertZeyer
29114d53d9 Added a comment 2021-01-03 21:48:51 +00:00
AlbertZeyer
d7bb4040d8 Added a comment 2021-01-02 23:49:14 +00:00
Joey Hess
ea95de3656
Merge branch 'master' of ssh://git-annex.branchable.com 2021-01-02 19:33:55 -04:00
AlbertZeyer
62f06649d7 Added a comment 2021-01-02 16:23:05 +00:00
Lukey
0a264f1c98 2021-01-02 15:28:02 +00:00
Lukey
7f11160002 Added a comment 2021-01-02 15:22:18 +00:00
Lukey
bd5c668118 Added a comment 2021-01-02 15:16:04 +00:00
Lukey
420e704955 Added a comment 2021-01-02 15:12:49 +00:00
Lukey
ed412d2406 Added a comment 2021-01-02 15:05:01 +00:00
AlbertZeyer
065cea3568 Added a comment 2021-01-01 22:30:34 +00:00
AlbertZeyer
90a026b33d Added a comment: Difference to import/add? 2021-01-01 21:49:29 +00:00
AlbertZeyer
754327b2c4 Added a comment: rename or move files 2021-01-01 21:33:41 +00:00
AlbertZeyer
62a6d40f1c Added a comment: Adding external files 2021-01-01 21:30:38 +00:00
AlbertZeyer
c7bcc32e37 Added a comment: annex.largefiles 2021-01-01 21:25:44 +00:00
Lukey
497d45d04c 2021-01-01 15:43:43 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
f972c5c132 Added a comment 2021-01-01 04:08:44 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
c7939d226e Added a comment 2020-12-31 22:45:03 +00:00