Commit graph

29949 commits

Author SHA1 Message Date
Joey Hess
4af9b3381c
Merge branch 'master' of ssh://git-annex.branchable.com 2021-04-21 17:19:25 -04:00
Joey Hess
7cb96bc3e3
alternative 2021-04-21 17:18:47 -04:00
pat
7c8bf24768 2021-04-21 21:04:27 +00:00
Joey Hess
affdffb323
docs 2021-04-21 17:01:03 -04:00
Joey Hess
0bb57702e1
Merge branch 'master' into hiddenannex 2021-04-21 15:45:12 -04:00
Joey Hess
653b719472
fix --all to include not yet committed files from the journal
Fix bug caused by recent optimisations that could make git-annex not see
recently recorded status information when configured with
annex.alwayscommit=false.

This does mean that --all can end up processing the same key more than once,
but before the optimisations that introduced this bug, it used to also behave
that way. So I didn't try to fix that; it's an edge case and anyway git-annex
behaves well when run on the same key repeatedly.

I am not too happy with the use of a MVar to buffer the list of files in the
journal. I guess it doesn't defeat lazy streaming of the list, if that
list is actually generated lazily, and anyway the size of the journal is
normally capped and small, so if configs are changed to make it huge and
this code path fire, git-annex using enough memory to buffer it all is not a
large problem.
2021-04-21 15:40:32 -04:00
Joey Hess
b470673e50
wip 2021-04-21 13:46:39 -04:00
Joey Hess
56478e99ac
bug report 2021-04-21 13:24:32 -04:00
Joey Hess
9b870e29fd
Merge branch 'master' into hiddenannex 2021-04-21 13:04:40 -04:00
Joey Hess
f058618074
Merge branch 'master' of ssh://git-annex.branchable.com 2021-04-21 13:02:47 -04:00
Joey Hess
39d94919cd
reorder tests debugging windows failure
This order will work just as well, so no need to revert this change
later.
2021-04-21 13:01:41 -04:00
Kyle Meyer
876b134b54 doc/git-annex.mdwn: Fix quoting of annex.supportunlocked 2021-04-21 12:36:34 -04:00
kyle
108dc11af3 Added a comment: re: clarifying unlocked files 2021-04-21 16:34:50 +00:00
kyle
54a0db2563 Added a comment: re: Are my unlocked, annexed files still safe? 2021-04-21 16:32:42 +00:00
Joey Hess
430c5a15f5
update 2021-04-21 12:18:04 -04:00
Joey Hess
4ef3fb0b59
Merge branch 'master' of ssh://git-annex.branchable.com 2021-04-21 12:15:57 -04:00
Joey Hess
85d75b8a18
comment 2021-04-21 12:15:42 -04:00
Ilya_Shlyakhter
d568c7c88b Added a comment: clarifying unlocked files 2021-04-21 16:08:05 +00:00
pat
8e3ee7b91d Added a comment: Are my unlocked, annexed files still safe? 2021-04-21 15:47:48 +00:00
Ilya_Shlyakhter
78f31022e3 Added a comment: auto-expire temp repos 2021-04-21 15:37:38 +00:00
Joey Hess
5dae95f95f
Merge branch 'master' of ssh://git-annex.branchable.com 2021-04-20 15:18:56 -04:00
Joey Hess
154fb46b24
update 2021-04-20 15:18:18 -04:00
Joey Hess
05989556a2
start implementing hidden git-annex repositories
This adds a separate journal, which does not currently get committed to
an index, but is planned to be committed to .git/annex/index-private.

Changes that are regarding a UUID that is private will get written to
this journal, and so will not be published into the git-annex branch.

All log writing should have been made to indicate the UUID it's
regarding, though I've not verified this yet.

Currently, no UUIDs are treated as private yet, a way to configure that
is needed.

The implementation is careful to not add any additional IO work when
privateUUIDsKnown is False. It will skip looking at the private journal
at all. So this should be free, or nearly so, unless the feature is
used. When it is used, all branch reads will be about twice as expensive.

It is very lucky -- or very prudent design -- that Annex.Branch.change
and maybeChange are the only ways to change a file on the branch,
and Annex.Branch.set is only internal use. That let Annex.Branch.get
always yield any private information that has been recorded, without
the risk that Annex.Branch.set might be called, with a non-private UUID,
and end up leaking the private information into the git-annex branch.

And, this relies on the way git-annex union merges the git-annex branch.
When reading a file, there can be a public and a private version, and
they are just concacenated together. That will be handled the same as if
there were two diverged git-annex branches that got union merged.
2021-04-20 15:04:53 -04:00
Atemu
f0e15c5a0d Added a comment 2021-04-20 18:30:39 +00:00
Atemu
2f05565db5 Added a comment 2021-04-20 18:05:27 +00:00
fooness
f71b0218aa 2021-04-20 16:38:33 +00:00
Joey Hess
752c389849
comment 2021-04-20 11:57:10 -04:00
Joey Hess
fee6504388
fix reversion in recent CoW changes
File handle accidentially left open is both a FD leak and causes the
haskell RTS to reject opening it again with "file is locked".
2021-04-20 11:41:43 -04:00
Joey Hess
3d9d1d1416
Merge branch 'master' of ssh://git-annex.branchable.com 2021-04-20 11:08:06 -04:00
https://launchpad.net/~r0lf
fa738b8757 2021-04-20 13:49:58 +00:00
https://launchpad.net/~r0lf
617c574c17 2021-04-20 13:46:07 +00:00
Joey Hess
2d1cbdaba7
thoughts 2021-04-19 13:58:43 -04:00
Joey Hess
3262d6c0bc
yoh asked me to tag this datalad 2021-04-19 13:20:07 -04:00
Ilya_Shlyakhter
38b9cf7747 Added a comment 2021-04-19 15:38:38 +00:00
yarikoptic
b92a7b1a2f initial report for test fails on windows 2021-04-19 13:43:18 +00:00
pat
e3de27dcc0 2021-04-19 00:09:16 +00:00
Ilya_Shlyakhter
3cfc51343f Added a comment 2021-04-18 23:45:26 +00:00
Ilya_Shlyakhter
a9bf898e2c removed 2021-04-18 22:03:26 +00:00
Ilya_Shlyakhter
a9eac5c91a Added a comment: semantics of preferred content expressions 2021-04-18 22:03:02 +00:00
Joey Hess
66e3170245
comment 2021-04-18 13:07:03 -04:00
pat
cfcf11fff8 Added a comment 2021-04-18 16:18:46 +00:00
Ilya_Shlyakhter
f028d4ef77 Added a comment 2021-04-18 15:40:55 +00:00
datamanager
9c30443718 Added a comment: reply 2021-04-18 15:38:33 +00:00
anatoly.sayenko@880a118acc67f3244b406a2700f0556b2f10672c
4a9bb24d60 Added a comment: migration warning still present after migration 2021-04-18 09:37:10 +00:00
pat
42193d743b Added a comment 2021-04-18 01:19:54 +00:00
pat
081fb751b9 2021-04-18 01:12:07 +00:00
pat
4ae46a6cc7 removed 2021-04-18 00:40:44 +00:00
pat
6bd49887e6 rename forum/Drop_doesn__39__t_respect_mincopies.mdwn to bugs/Drop_doesn__39__t_respect_mincopies.mdwn 2021-04-18 00:39:11 +00:00
pat
9804705526 removed 2021-04-18 00:30:08 +00:00
Ilya_Shlyakhter
5c15deab0e Added a comment 2021-04-17 22:54:45 +00:00
Ilya_Shlyakhter
a4ebd33074 Added a comment 2021-04-17 22:54:34 +00:00
Ilya_Shlyakhter
d21b54b05b Added a comment: drop --not-used-elsewhere 2021-04-17 22:31:52 +00:00
Ilya_Shlyakhter
0a4614b653 Added a comment: updating the keys database incrementally 2021-04-17 22:23:45 +00:00
pat
3aeb4e3d8c Added a comment 2021-04-17 21:05:28 +00:00
pat
1a0ac4f5e1 2021-04-17 20:51:30 +00:00
Ilya_Shlyakhter
44aad24f30 added suggestion: let git-annex-matching-options query .gitattributes 2021-04-17 20:38:09 +00:00
pat
8934c67d80 removed 2021-04-17 20:22:35 +00:00
pat
9a61c60b53 Added a comment 2021-04-17 20:21:57 +00:00
pat
aef507b0c2 Added a comment 2021-04-17 20:21:39 +00:00
pat
07ca761084 2021-04-17 20:01:25 +00:00
Ilya_Shlyakhter
4b75d79a0b Added a comment: re: Sync from one remote to another 2021-04-17 19:34:19 +00:00
pat
bafe5102e7 2021-04-17 02:59:15 +00:00
Joey Hess
c8e607f226
comment 2021-04-16 14:45:46 -04:00
Joey Hess
e56e40c51a
Merge branch 'master' of ssh://git-annex.branchable.com 2021-04-16 14:41:51 -04:00
Joey Hess
29108a8801
thoughts 2021-04-16 14:41:12 -04:00
Lukey
c4fcfa8d33 Added a comment 2021-04-16 18:29:22 +00:00
Joey Hess
f6933c95cf
comment 2021-04-16 13:54:50 -04:00
Joey Hess
7496c86c7c
comment 2021-04-16 13:49:05 -04:00
Joey Hess
71e41eb03c
Merge branch 'master' of ssh://git-annex.branchable.com 2021-04-16 13:30:52 -04:00
Joey Hess
90eb649e73
idea 2021-04-16 13:30:23 -04:00
kousu
a07bf4c840 Added a comment: Hardlinks 2021-04-16 08:17:36 +00:00
Ilya_Shlyakhter
3378f74fb0 Added a comment: lockContent for special remotes 2021-04-15 16:32:34 +00:00
yarikoptic
75bd75def2 reporting fresh test fails 2021-04-15 13:04:18 +00:00
yarikoptic
a72b7b8c2f initial todo/report on drop dropping a key "for all paths" 2021-04-15 02:30:33 +00:00
Joey Hess
e1a9b79fa6
fix hardcoded origin name in checkAdjustedClone
init: Fix a crash when the repo's was cloned from a repo that had an
adjusted branch checked out, and the origin remote is not named "origin".

The only other hardcoding of the name of origin is in:

- Upgrade.V2, which can be ignored probably
- Annex.Branch, which doesn't fail if it has some other name, but just
  doesn't set up the git-annex branch with quite as linear a history in
  that case.
2021-04-14 18:53:27 -04:00
kyle
4c3d8241ae crippledfilesystem override not needed 2021-04-14 21:26:32 +00:00
yarikoptic
3aa4cc9d6f Added a comment 2021-04-14 20:46:11 +00:00
kyle
c489b471d5 bug: init crash with remote name other than "origin" 2021-04-14 20:44:23 +00:00
Joey Hess
17646b0b31
Merge branch 'master' of ssh://git-annex.branchable.com 2021-04-14 16:20:13 -04:00
Joey Hess
58da9f74b7
directory CoW on export
Completing Cow support for directory.
2021-04-14 16:19:43 -04:00
Joey Hess
b86206b553
directory CoW on import 2021-04-14 16:10:09 -04:00
Lukey
5299589919 Added a comment 2021-04-14 20:06:31 +00:00
jbwexler@f0760d2c023f7660c38fb17889d4cd6930183696
e3d54424ad Added a comment: thanks 2021-04-14 19:03:12 +00:00
Joey Hess
a36be49b01
comment 2021-04-14 14:12:32 -04:00
yarikoptic
066c4f1efc Added a comment: comment to joey response on cp --reflink workaround 2021-04-14 18:04:53 +00:00
Joey Hess
34e959f181
tag confirmed 2021-04-14 13:45:59 -04:00
Joey Hess
cac7866bce
note 2021-04-14 13:44:43 -04:00
Joey Hess
d1478e8b40
correction 2021-04-14 13:42:37 -04:00
Joey Hess
42c8f1e5f5
comment 2021-04-14 13:41:24 -04:00
Joey Hess
799e7b3c29
update 2021-04-14 13:32:28 -04:00
Joey Hess
5978b2a35b
comment 2021-04-14 13:31:08 -04:00
Joey Hess
5783a8d081
fsck: avoid redundant checksum when transfer is Verified
When downloading content from a remote, if the content is able to be
verified during the transfer, skip checksumming it a second time.

Note that in this case, the fsck output does not include "(checksum)"
which it does when the checksumming is done separately from the download.

This commit was sponsored by Brock Spratlen on Patreon.
2021-04-14 13:22:54 -04:00
Joey Hess
5ee14db037
Merge branch 'master' of ssh://git-annex.branchable.com 2021-04-14 12:55:18 -04:00
Atemu
46309994a2 2021-04-14 16:14:20 +00:00
yarikoptic
c300675051 is importtree CoW from directory? 2021-04-14 14:24:18 +00:00
kyle
4a542e10ac one-off unlocked annex files that go against largefiles configuration 2021-04-14 01:08:08 +00:00
Joey Hess
e0d05e00c6
comment 2021-04-13 19:58:35 -04:00
jbwexler@f0760d2c023f7660c38fb17889d4cd6930183696
d15c08e0d9 2021-04-13 23:40:00 +00:00
Joey Hess
b4686de7a1
fix comment location 2021-04-13 16:34:36 -04:00
Joey Hess
5004f9a553
Merge branch 'master' of ssh://git-annex.branchable.com 2021-04-13 16:32:00 -04:00
Joey Hess
e375169e1e
comment 2021-04-13 16:31:27 -04:00
Ilya_Shlyakhter
d48ff049bc Added a comment: hybrid encryption 2021-04-13 20:30:45 +00:00
datamanager
08962119c8 Added a comment: Can I manually decrypt my files? 2021-04-13 20:04:32 +00:00
Joey Hess
8e7dc958d2
forget: Preserve currently exported trees
Avoiding problems with exporttree remotes in some unusual circumstances.

This commit was sponsored by Brett Eisenberg on Patreon.
2021-04-13 15:00:23 -04:00
Joey Hess
0bcf155e11
thoughts 2021-04-13 14:41:27 -04:00
Joey Hess
e10ab30e3b
comment 2021-04-13 13:41:48 -04:00
Joey Hess
6911787042
idea 2021-04-13 13:41:36 -04:00
Joey Hess
a58e955293
bug report 2021-04-13 13:31:51 -04:00
Joey Hess
948dd8a0cc
change back to git-remote-gcrypt 1.4 url forms, with a note that that version is needed 2021-04-13 12:55:50 -04:00
Joey Hess
6f7730f6cf
Merge branch 'master' of ssh://git-annex.branchable.com 2021-04-13 12:45:40 -04:00
Joey Hess
67d91c63f7
update 2021-04-12 14:13:44 -04:00
https://launchpad.net/~r0lf
69efb3fa53 fix URI for rsync over ssh as per woffs' suggestion in #git-annex 2021-04-12 17:44:06 +00:00
https://launchpad.net/~r0lf
d05198f2ee fix URI for rsync over ssh as per woffs' suggestion in #git-annex 2021-04-12 17:42:25 +00:00
Joey Hess
1e322c329e
update 2021-04-12 13:00:24 -04:00
Joey Hess
4c35d58bfe
comment and analysis 2021-04-12 12:54:46 -04:00
Ilya_Shlyakhter
ad2a6d45db Added a comment 2021-04-12 15:39:31 +00:00
DeweyA123
16f9e4bfff removed 2021-04-12 15:15:43 +00:00
DeweyA123
3ee58091a1 removed 2021-04-12 15:14:40 +00:00
DeweyA123
766e52a197 Added a comment: Waiting as well 2021-04-12 15:12:53 +00:00
DeweyA123
45d6ea36f3 Added a comment: Waiting as well 2021-04-12 15:12:31 +00:00
DeweyA123
66883d9242 Added a comment: Waiting as well 2021-04-12 15:12:07 +00:00
Ilya_Shlyakhter
70991c1d65 Added a comment 2021-04-12 14:42:13 +00:00
Ilya_Shlyakhter
1eecb6e939 Added a comment: un-adding annexed files 2021-04-12 14:18:46 +00:00
Ilya_Shlyakhter
b853999c16 Added a comment: un-adding annexed files 2021-04-12 14:18:22 +00:00
Atemu
7923c6d7c2 Added a comment 2021-04-12 09:46:05 +00:00
Ilya_Shlyakhter
cf60184992 Added a comment: lockContent for special remotes w/o changing the protocol 2021-04-12 01:20:16 +00:00
Ilya_Shlyakhter
a3d2e2a09e Added a comment: un-adding a key 2021-04-12 00:50:42 +00:00
Atemu
4bc6f522ba Added a comment 2021-04-11 10:54:43 +00:00
Atemu
58728a312c Added a comment 2021-04-10 17:12:30 +00:00
Atemu
6f5ea582a0 2021-04-10 16:47:07 +00:00
Atemu
d23a8f1469 Added a comment 2021-04-08 19:33:49 +00:00
Joey Hess
805d325a8d
diffdriver: Support unlocked files 2021-04-08 14:32:09 -04:00
Joey Hess
e0dc101179
Merge branch 'master' of ssh://git-annex.branchable.com 2021-04-08 13:59:04 -04:00
Joey Hess
7b6ab0ae9a
comment 2021-04-08 13:51:43 -04:00
yarikoptic
e1ffa3e10a note on the order 2021-04-08 17:47:22 +00:00
yarikoptic
8f0a3799d0 initial report on diff driver behavior on unlocked files 2021-04-08 17:44:39 +00:00
Joey Hess
13c8fe220b
comment 2021-04-08 13:21:30 -04:00
Joey Hess
e5c4c86b45
comment 2021-04-08 12:57:57 -04:00
Atemu
da0ce2d2e0 Added a comment: Workaround 2021-04-08 14:02:54 +00:00
Atemu
86f782a4a0 2021-04-08 12:08:27 +00:00
Atemu
351f5d753f fix url 2021-04-08 11:56:13 +00:00
Atemu
474dd1a3fc 2021-04-08 11:50:59 +00:00
Ilya_Shlyakhter
9041b2b6a4 Added a comment: running untrusted code 2021-04-07 16:52:42 +00:00
Joey Hess
da88863082
comment and close, open related todo 2021-04-06 16:51:38 -04:00
Joey Hess
b57dde2590
comment 2021-04-05 15:47:42 -04:00
Joey Hess
98b223a71c
Merge branch 'master' of ssh://git-annex.branchable.com 2021-04-05 15:32:08 -04:00
Joey Hess
1b645e1ace
added --debugfilter (and annex.debugfilter) 2021-04-05 15:31:10 -04:00
Joey Hess
19c672e710
update 2021-04-05 10:56:07 -04:00
Atemu
a0c4405411 2021-04-05 09:31:48 +00:00
https://launchpad.net/~r0lf
10c04ed3b1 Added a comment: still an issue in Ubuntu Focal 2021-04-05 01:28:49 +00:00