Commit graph

29262 commits

Author SHA1 Message Date
Joey Hess
0a218bf51c
close as not a git-annex bug 2021-01-13 14:51:44 -04:00
Joey Hess
6a30d04ece
Bug fix: export with -J could fail when two files had the same content.
Exporting is done inside a call to writeLockDbWhile which guarantees there
is only one process uploading to a given ExportLocation.
2021-01-13 14:50:48 -04:00
Joey Hess
5e39b7eb8d
Windows: Work around win32 length limits when dealing with lock files 2021-01-13 14:38:35 -04:00
Joey Hess
99ba471209
rewrite prop_relPathDirToFileAbs_basics
This was not a good test, it broke the requirement that
relPathDirToFileAbs take absolute paths. And it failed when the two
input paths were eg, the same but differently normalized.

Replaced with some tests of the real basics of that function.
2021-01-13 13:23:26 -04:00
Joey Hess
6c8205a113
close 2021-01-13 13:19:54 -04:00
Joey Hess
27fbd41193
comment 2021-01-13 12:58:21 -04:00
Joey Hess
a7c56f84fc
improve comment 2021-01-13 12:55:26 -04:00
Joey Hess
0ec7bed3c6
comment 2021-01-13 12:49:28 -04:00
Joey Hess
79f319e494
Merge branch 'master' of ssh://git-annex.branchable.com 2021-01-13 12:31:43 -04:00
Joey Hess
285151a921
include bugs/todos tagged datalad
sometimes they are not signed with an author
2021-01-13 12:30:46 -04:00
yarikoptic
3f6d1db33c initial report about fresh test fail 2021-01-13 15:18:44 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
2d84bf9921 Added a comment 2021-01-11 22:48:27 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
b806c22cb3 Added a comment 2021-01-11 22:42:28 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
ff80ab5f40 Added a comment: git-annex uninit --fast 2021-01-11 22:41:04 +00:00
yarikoptic
8df98e9335 removed myself as the author, damn cut/paste ;) 2021-01-11 21:58:59 +00:00
yarikoptic
89024e25d1 assigned to datalad project 2021-01-11 21:57:26 +00:00
Joey Hess
8a1256bdf1
fixed 2021-01-11 15:55:33 -04:00
Joey Hess
d133dd9003
comment 2021-01-11 14:55:46 -04:00
Joey Hess
af88d55686
Merge branch 'master' of ssh://git-annex.branchable.com 2021-01-11 13:47:04 -04:00
Joey Hess
96a7a1fb71
close 2021-01-11 12:26:52 -04:00
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
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
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
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
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
31eef3d213 Added a comment 2020-12-31 22:05:19 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
cc1e8897e6 Added a comment 2020-12-31 22:00:08 +00:00
Lukey
89ac4e68bb Added a comment 2020-12-31 21:46:33 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
e82bbb09a2 Added a comment 2020-12-31 20:51:12 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
6e467a3807 Added a comment 2020-12-31 20:34:55 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
073cdd6227 removed 2020-12-31 19:41:18 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
3643705e2e Added a comment 2020-12-31 19:40:22 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
82b4916c31 Added a comment 2020-12-31 19:40:01 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
861b3b3088 Added a comment 2020-12-31 19:34:56 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
935f8991cb Added a comment 2020-12-31 18:55:30 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
50b200b5e0 2020-12-31 18:51:50 +00:00
Joey Hess
13a1d6eb17
Merge branch 'master' of ssh://git-annex.branchable.com 2020-12-31 13:46:25 -04:00
Lukey
5826c713db Added a comment 2020-12-31 17:32:47 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
2a9eb6609c 2020-12-31 16:58:50 +00:00
Joey Hess
9a3998392e
close import_tree todo
Split out two todos for things that were mentioned as still open items
in there. Most of the others were already dealt with. I didn't open a
new todo for the import from readonly S3 bucket because I guess if
someone needs that, they can ask for it.
2020-12-30 13:40:49 -04:00
Joey Hess
cefbfc678d
document what importKey returning Nothing does
That was added for thirdpartypopulated remotes, but for others it also
has the effect of skipping including the file in the imported tree.
2020-12-30 13:23:16 -04:00
Lukey
c88008beca Added a comment 2020-12-29 23:30:47 +00:00
Joey Hess
92900cb71a
add news item for git-annex 8.20201129 2020-12-29 13:52:34 -04:00