Commit graph

38904 commits

Author SHA1 Message Date
Joey Hess
515f54bd70
idea 2021-01-10 16:32:44 -04:00
michael.hanke@c60e12358aa3fc6060531bdead1f530ac4d582ec
11963e11a0 Added a comment: Specific to repository location in /private 2021-01-10 16:10:42 +00:00
michael.hanke@c60e12358aa3fc6060531bdead1f530ac4d582ec
e425e4716c 2021-01-10 13:40:29 +00:00
AlbertZeyer
78834056ed Added a comment 2021-01-09 20:14:21 +00:00
andrew
fe70663bb4 Added a comment: checkout borg remote 2021-01-09 15:25:05 +00:00
yarikoptic
e26bf1b4bb report on fresh test fails 2021-01-08 15:37:46 +00:00
Joey Hess
1e65d1b9af
merged fix from kyle 2021-01-07 13:47:36 -04:00
Joey Hess
33bcee86f1
avoid using wildcard near bug kyle fixed 2021-01-07 13:44:23 -04:00
Kyle Meyer
fd161da2c2
adjustTree: Consider submodule deletions
In addition to regular file deletions, the removefiles argument passed
to adjustTree may contain removed submodules.  When making the new
tree, filter these out in the same way that is done for regular files
so that the deletion is propagated.
2021-01-07 13:43:09 -04:00
Joey Hess
c940b02cda
Merge branch 'master' of ssh://git-annex.branchable.com 2021-01-07 13:38:46 -04:00
Joey Hess
c8b1fa67b4
Behavior change: --trust-glacier option no longer overrides trust
Since that can lead to data loss, which should never be enabled by an
option other than --force.

This commit was sponsored by Jake Vosloo on Patreon.
2021-01-07 10:37:43 -04:00
Joey Hess
2bf34fc17f
Behavior change: --trust option no longer overrides trust
Since that can lead to data loss, which should never be enabled by an
option other than --force.

I suppose that using --trust was in some situation, safer than --force,
because it doesn't entirely disable checking for data loss, but only
disables checking involving data that is on the specified repository.
But it seems better to be able to say that data loss only happens with
--force.

This commit was sponsored by Graham Spencer on Patreon.
2021-01-07 10:34:57 -04:00
Joey Hess
6a0030a110
Behavior change: git-annex trust now needs --force
Since unconsidered use of trusted repositories can lead to data loss.

Trusted has always been this way, but it used to be acceptable for
git-annex to be set up so that data could be lost without using --force,
and most or all other ways that can happen have already been eliminated.

This commit was sponsored by Mark Reidenbach on Patreon.
2021-01-07 10:09:39 -04:00
kyle
0e10402ef3 2021-01-07 00:25:38 +00:00
Joey Hess
f354697648
Merge branch 'master' of ssh://git-annex.branchable.com 2021-01-06 14:27:03 -04:00
Joey Hess
715c6013d4
wording 2021-01-06 14:26:39 -04:00
Joey Hess
24564c3de1
improve wording 2021-01-06 14:24:17 -04:00
Joey Hess
4694c2bb87
Merge branch 'master' into requirednumcopies 2021-01-06 14:24:09 -04:00
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