Commit graph

29603 commits

Author SHA1 Message Date
falsifian
be5a0e4b8f 2021-02-05 05:11:24 +00:00
Joey Hess
3d3b55e7f2
Merge branch 'master' of ssh://git-annex.branchable.com 2021-02-03 15:57:46 -04:00
Joey Hess
dd39e9e255
suggest when user may want annex.stalldetection
When annex.stalldetection is not enabled, and a likely stall is detected,
display a suggestion to enable it.

Note that the progress meter display is not taken down when displaying
the message, so it will display like this:

	0%    8 B                 0 B/s
	  Transfer seems to have stalled. To handle stalling transfers, configure annex.stalldetection
	0%    10 B                0 B/s

Although of course if it's really stalled, it will never update
again after the message. Taking down the progress meter and starting
a new one doesn't seem too necessary given how unusual this is,
also this does help show the state it was at when it stalled.

Use of uninterruptibleCancel here is ok, the thread it's canceling
only does STM transactions and sleeps. The annex thread that gets
forked off is separate to avoid it being canceled, so that it
can be joined back at the end.

A module cycle required moving from dupState the precaching of the
remote list. Doing it at startConcurrency should cover all the cases
where the remote list is used in concurrent actions.

This commit was sponsored by Kevin Mueller on Patreon.
2021-02-03 15:57:19 -04:00
Joey Hess
135757d64a
automatic stall detection
annex.stalldetection can now be set to "true" to make git-annex do
automatic stall detection when it detects a remote is updating its transfer
progress consistently enough.

This commit was sponsored by Luke Shumaker on Patreon.
2021-02-03 13:33:57 -04:00
gueux
59fa8b7671 Added a comment 2021-02-03 17:20:24 +00:00
gueux
31f5482729 Added a comment 2021-02-03 17:06:24 +00:00
Joey Hess
904689f11b
Merge branch 'master' of ssh://git-annex.branchable.com 2021-02-02 19:39:24 -04:00
guardcat
ebb805b611 2021-02-02 21:04:21 +00:00
Joey Hess
aec2cf0abe
addon commands
Seems only fair, that, like git runs git-annex, git-annex runs
git-annex-foo.

Implementation relies on O.forwardOptions, so that any options are passed
through to the addon program. Note that this includes options before the
subcommand, eg: git-annex -cx=y foo

Unfortunately, git-annex eats the --help/-h options.
This is because it uses O.hsubparser, which injects that option into each
subcommand. Seems like this should be possible to avoid somehow, to let
commands display their own --help, instead of the dummy one git-annex
displays.

The two step searching mirrors how git works, it makes finding
git-annex-foo fast when "git annex foo" is run, but will also support fuzzy
matching, once findAllAddonCommands gets implemented.

This commit was sponsored by Dr. Land Raider on Patreon.
2021-02-02 16:32:49 -04:00
jrollins
627940cf7b Added a comment 2021-02-02 17:43:19 +00:00
Joey Hess
d0fe0c5e10
close old todo 2021-02-02 13:25:58 -04:00
Joey Hess
696ee5d464
close 2021-02-02 13:21:34 -04:00
Joey Hess
233b2ab133
reject 2021-02-02 13:19:28 -04:00
Joey Hess
80a16a9dc8
remove no longer relevant part 2021-02-02 13:15:32 -04:00
Joey Hess
811399c8a1
meant to close this earlier 2021-02-02 13:12:47 -04:00
Joey Hess
cdbf80d338
comment 2021-02-02 13:10:07 -04:00
Joey Hess
d2ff391919
fix syntax 2021-02-02 13:01:31 -04:00
Joey Hess
5cad76198a
close 2021-02-02 12:52:00 -04:00
Joey Hess
d631304237
remove priority tag (unused) 2021-02-02 12:42:20 -04:00
Joey Hess
ba0de2d26a
comment 2021-02-02 12:33:01 -04:00
Joey Hess
e8d31910d0
update tutorial to work with 6 year old version of git-annex-shell 2021-02-02 12:26:37 -04:00
jrollins
4e5a27841a Added a comment 2021-02-01 19:30:54 +00:00
jrollins
8de52b9f94 Added a comment 2021-02-01 19:07:29 +00:00
jrollins
85e9e67748 Added a comment 2021-02-01 19:04:42 +00:00
jrollins
f2b21baec4 Added a comment 2021-02-01 18:42:24 +00:00
gueux
c7096eb1ee Added a comment 2021-02-01 18:33:52 +00:00
jrollins
3aa72e95e3 Added a comment 2021-02-01 18:25:09 +00:00
gueux
657cc67385 Added a comment 2021-02-01 18:11:41 +00:00
jrollins
d1fe1bf908 Added a comment 2021-02-01 17:45:16 +00:00
Joey Hess
71f96a8d84
comment 2021-02-01 12:42:30 -04:00
Joey Hess
a6b0e8c7ea
comment 2021-02-01 12:40:30 -04:00
Joey Hess
ec035c2b40
comment 2021-02-01 12:27:24 -04:00
Joey Hess
f3b57baf61
comment 2021-02-01 12:24:48 -04:00
Joey Hess
895b02d8a3
comment 2021-02-01 12:16:26 -04:00
Joey Hess
7d0cbea564
response 2021-02-01 12:07:22 -04:00
Joey Hess
6c237fbeb2
remove spam 2021-02-01 12:01:33 -04:00
Joey Hess
58216ef39d
Include libkqueue.h file needed to build the assistant on BSDs
I suspect this is a bug in cabal sdist, because with
Includes: Utility/libkqueue.h
the file is not included, but putting it in extra-files does
get it into the tarball.
2021-02-01 12:00:56 -04:00
Joey Hess
41bf440729
Fix build on openbsd. Thanks, James Cook for the patch. 2021-02-01 11:56:17 -04:00
arnoldbarclay
35a5ee92e2 Added a comment: App Development 2021-02-01 07:57:04 +00:00
gitannex@5bd4fdc44060e9df930b142f801e3fc0d543c85d
131aeb53a3 2021-02-01 05:35:28 +00:00
jrollins
b25438a5ac Added a comment: problems with init after clone 2021-01-31 20:34:32 +00:00
jrollins
8a3ffbf831 removed 2021-01-31 20:32:11 +00:00
jrollins
e14eececd8 Added a comment: problems with annex init in cloned repo 2021-01-31 20:31:36 +00:00
jrollins
65b7c8cb09 Added a comment 2021-01-31 20:28:23 +00:00
jrollins
e5314ec9ee 2021-01-31 20:22:50 +00:00
jrollins
82e058ee24 2021-01-31 20:17:19 +00:00
jrollins
602c74ed0a 2021-01-31 20:12:07 +00:00
EvanDeaubl
87222b70a5 nimbus.io as a storage provider is gone 2021-01-31 18:30:21 +00:00
falsifian
7bf84e4963 Added a comment: tests mostly pass 2021-01-31 05:07:16 +00:00
falsifian
7cfa1e61bf 2021-01-31 04:56:16 +00:00
falsifian
36aa9a1d24 2021-01-31 04:55:34 +00:00
Joey Hess
7d18153955
close 2021-01-29 15:54:13 -04:00
Joey Hess
69be08ce0e
close 2021-01-29 15:52:45 -04:00
Joey Hess
e560110a7e
close 2021-01-29 15:50:08 -04:00
Joey Hess
6569e35ba4
close 2021-01-29 15:48:45 -04:00
Joey Hess
e130af198a
comment 2021-01-29 15:42:37 -04:00
Joey Hess
a7eff71cff
Merge branch 'master' of ssh://git-annex.branchable.com 2021-01-29 15:39:02 -04:00
Joey Hess
30667c2512
close moreinfo 2021-01-29 15:36:36 -04:00
Joey Hess
0fc1b94018
done 2021-01-29 15:35:30 -04:00
Joey Hess
96ffea3439
close direct mode 2021-01-29 15:34:47 -04:00
Joey Hess
59d9cb5394
close with proof this is not a bug 2021-01-29 15:33:15 -04:00
Joey Hess
93a5342797
close 2021-01-29 15:29:55 -04:00
Joey Hess
0d411a4203
close 2021-01-29 15:27:43 -04:00
Joey Hess
e248252542
close 2021-01-29 15:26:06 -04:00
Joey Hess
655068c71a
merge 2021-01-29 15:24:47 -04:00
Joey Hess
d5a2c39933
reject 2021-01-29 15:13:16 -04:00
Joey Hess
8d4eb2d34e
get: Improve output when failing to get a file fails
showTriedRemotes lists the remotes it tried to access. So there's
no need to list those again in "Try making some of these remotes
available".
2021-01-29 15:11:19 -04:00
Joey Hess
7e9617ef47
comment 2021-01-29 15:01:56 -04:00
Joey Hess
966522571f
close moreinfo 2021-01-29 14:55:48 -04:00
Joey Hess
3861845ff3
retitle and confirmed 2021-01-29 14:53:45 -04:00
Joey Hess
b505ce6e53
close 2021-01-29 14:50:52 -04:00
Joey Hess
d9363de256
close 2021-01-29 14:49:55 -04:00
Joey Hess
65b5f91641
close 2021-01-29 14:47:31 -04:00
Joey Hess
93e5eb3378
comment 2021-01-29 14:44:03 -04:00
Joey Hess
b92963c766
close moreinfo 2021-01-29 14:35:25 -04:00
Joey Hess
fbf53c320d
comment and reject 2021-01-29 14:33:26 -04:00
Joey Hess
f8a13fbbce
close 2021-01-29 14:27:36 -04:00
Joey Hess
9201d70e93
close 2021-01-29 14:26:32 -04:00
Joey Hess
bf6557b4e8
close 2021-01-29 14:24:52 -04:00
chocolate.camera@ec2ecab153906be21ac5f36652c33786ad0e0b60
599aa893a8 Added a comment 2021-01-29 18:23:04 +00:00
Joey Hess
4da5635754
close 2021-01-29 14:20:09 -04:00
Joey Hess
45eb2757de
close 2021-01-29 14:19:01 -04:00
Joey Hess
162f149704
close 2021-01-29 14:16:16 -04:00
Joey Hess
2a5e032d15
close 2021-01-29 14:14:15 -04:00
Joey Hess
89a054a215
comment 2021-01-29 14:12:25 -04:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
69205d6b06 2021-01-29 18:01:55 +00:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
b7dfa38e1e Added a comment: Different use case from backend 2021-01-29 17:35:43 +00:00
Joey Hess
2902f91897
close moreinfo 2021-01-29 13:25:25 -04:00
Joey Hess
9bdcba9fcb
close 2021-01-29 13:24:28 -04:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
263433d423 removed 2021-01-29 17:16:46 +00:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
d9bbaf003f Added a comment: I use git-annex with FAT32 2021-01-29 17:10:01 +00:00
Joey Hess
02b5bd224e
move to todo 2021-01-29 13:07:49 -04:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
8f1a1546d0 removed 2021-01-29 17:02:59 +00:00
Joey Hess
f2756f6547
retitle strangely extensioned bug report 2021-01-29 12:59:26 -04:00
Joey Hess
70ac3cefc8
remove strangely extensioned and dup bug report 2021-01-29 12:59:05 -04:00
Joey Hess
79f8145a53
close git bug 2021-01-29 12:58:05 -04:00
Joey Hess
7f6e2da321
comment 2021-01-29 12:53:57 -04:00
Joey Hess
d3a71a5db6
close moreinfo 2021-01-29 12:50:38 -04:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
ba24a61bf1 Added a comment: Thanks! And yes, no data loss. 2021-01-29 06:55:43 +00:00
Joey Hess
c35fa6975b
fix handling of implicit and before parens
Fix an oddity in matching options and preferred content expressions such as
"foo (bar or baz)", which was incorrectly handled as if it were "(foo or
bar) and baz)" rather than the intended "foo and (bar or baz)"

Seemed like a change to consume should be able to handle this case
better, but I was having trouble writing it that way, so instead added
a separate pass that inserts the implicit ands explicitly. Also added
several test cases to make sure versions with and without explicit ands
generate the same.
2021-01-28 13:51:07 -04:00
Joey Hess
6f78497572
When adding files to an adjusted branch set up by --unlock-present, add them unlocked, not locked
Missed this when implementing it because of the default case catching
the new constructor. So, removed that default case to make sure
future types of adjusted branches don't make the same mistake.

Complicated by git-annex addurl --fast which adds the file whose content
is not present, so it needs to stay unlocked when on such a branch.

This commit was sponsored by Brock Spratlen on Patreon.
2021-01-28 12:47:46 -04:00
Joey Hess
db1e6c0625
close 2021-01-28 12:42:05 -04:00
Joey Hess
133177b231
close 2021-01-28 12:40:04 -04:00
Joey Hess
e3224ff77d
formatLsTree did not use a tab where git does
Fixed that, and made parserLsTree accept the space as well as tab.

Fixes a reversion that made import of a tree from a special remote result in
a merge that deleted files that were not preferred content of that special
remote.
2021-01-28 12:36:37 -04:00
Joey Hess
3b8fcefb45
add news item for git-annex 8.20210127 2021-01-27 11:14:12 -04:00
Joey Hess
d4a3f856e9
rename forum post ending in a dot which breaks cloning on windows 2021-01-26 13:19:05 -04:00
Joey Hess
b372d962ae
Added GETGITREMOTENAME to extenal special remote protocol 2021-01-26 12:42:47 -04:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
5db7c3c8b6 Added a comment: Unless the key is the argument to set 2021-01-26 16:12:31 +00:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
4246a5eaba Added a comment: -- works between the value and the option 2021-01-26 16:10:23 +00:00
edward
201bd6f318 Remove broken link. 2021-01-26 16:01:58 +00:00
Joey Hess
a11dad646c
Merge branch 'master' of ssh://git-annex.branchable.com 2021-01-26 11:32:52 -04:00
Joey Hess
8a8491b5b9
update 2021-01-26 11:32:40 -04:00
Joey Hess
4d8ce4464f
add 2021-01-26 11:27:14 -04:00
hello@6d9a437cebceb2fc657f93c4f30a7ba859e9309c
8d3bc1d3cb Added a comment: Other benefits of proposed improvements to the smudge/clean API 2021-01-26 14:25:59 +00:00
Joey Hess
bfa85ce64e
Merge branch 'master' of ssh://git-annex.branchable.com 2021-01-25 21:51:28 -04:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
d72c5cc337 2021-01-26 01:05:19 +00:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
7d08785c82 2021-01-26 01:04:13 +00:00
Joey Hess
47338bf270
support modifying and running git add on an unlocked file that used an URL key
Avoids the smudge --clean filter failing because URL keys do not support
genKey. Instead the modified content will be added using the default
backend.

This commit was sponsored by Jochen Bartl on Patreon.
2021-01-25 17:37:16 -04:00
Joey Hess
df70b307c4
bug 2021-01-25 16:08:30 -04:00
Joey Hess
b63e3118d7
fix export overwrite on FAT
Don't accept the cid of the temp file that the content has just been
written to as something we will accept if another file has that same
content. There's no reason to, and on FAT, due to mtime resolution,
the test suite hit just such a case.

This fixes a reversion from 73df633a62
which removed inode from the ContentIdentifier.
2021-01-25 13:31:17 -04:00
yarikoptic
519aca27a8 Added a comment 2021-01-25 16:49:36 +00:00
jwodder
095cfc53bd 2021-01-25 16:47:34 +00:00
Joey Hess
9e1a797fb7
comment 2021-01-25 12:31:47 -04:00
Joey Hess
9f1cdcd9de
comment 2021-01-25 12:04:07 -04:00
Joey Hess
6a3e505cdc
Merge branch 'master' of ssh://git-annex.branchable.com 2021-01-25 11:31:46 -04:00
Joey Hess
bcf7e78a3f
notabug 2021-01-25 11:20:46 -04:00
yarikoptic
f3ff2b83ca Added a comment 2021-01-25 15:18:40 +00:00
kyle
b6dec14e7a Added a comment 2021-01-25 14:52:54 +00:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
f1a9e88c96 Add positive stuff 2021-01-24 23:24:32 +00:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
5d4a1b1cfa 2021-01-24 23:19:36 +00:00
m15
bcab80b508 Added a comment: bug report 2021-01-23 08:52:14 +00:00
Joey Hess
542f420f2c
comment 2021-01-22 14:56:18 -04:00
Joey Hess
e1a43ab097
followup 2021-01-22 14:36:34 -04:00
Joey Hess
9b2084f29a
fix problem on windows with newly rewritten prop_relPathDirToFileAbs_basics
Seems that dropDrive on windows only drops eg c:/ but not a leading /
while on linux, it does drop a leading / (which is what it considers
to be equivilant to a drive letter. I had been relying on it to drop
both. So need to drop leading directory separators.

Also, if the quickcheck generated input is eg "c:c:c:c:foo",
dropDrive will only drop the first one, leaving a path that's
still not relative. So instead of using dropDrive, just remove the
colons from the path.
2021-01-22 14:30:48 -04:00
Joey Hess
551ac2bdf9
Merge branch 'master' of ssh://git-annex.branchable.com 2021-01-22 14:05:49 -04:00
Joey Hess
5c7e6629cf
Fix a bug in view filename generation when a metadata value ended with "/"
Or ":" or "\" on Windows, eg "c:" again.
2021-01-22 14:05:14 -04:00
yarikoptic
7784046109 initial report on export_import fail 2021-01-22 16:50:58 +00:00
yarikoptic
d8722af2f3 Added a comment 2021-01-22 16:44:58 +00:00
yarikoptic
587795891b Added a comment 2021-01-22 16:42:32 +00:00
mike@2d6d71f56ce2a992244350475251df87c26fe351
0ea9539e0a Added a comment 2021-01-22 11:08:38 +00:00
yarikoptic
aa07e68ede Added a comment 2021-01-22 01:47:46 +00:00
Joey Hess
95cd49abdb
fix a bug that prevented git-annex init from working in a submodule
This is probably a reversion, but not sure what caused it. By the time
Annex.Init runs fixupUnusualReposAfterInit, another git-annex process has
at least sometimes already done the necessary fixups. (Eg, one run
indirectly by a git command.) But since the Repo is cached, it doesn't
realize and does them again. So, avoid crashing when git config --unset
fails.

This commit was sponsored by Jack Hill on Patreon.
2021-01-21 15:33:15 -04:00
Joey Hess
7482c093cc
comment 2021-01-21 15:25:46 -04:00
yarikoptic
734be1260a Added a comment 2021-01-21 18:36:50 +00:00
Joey Hess
954816f1eb
comment 2021-01-21 13:19:40 -04:00
yarikoptic
9f2ab66e06 adjusted report with more of not so deep thoughts/observation ;) 2021-01-21 03:30:07 +00:00
yarikoptic
cccc05ff30 initial plea for considering credentials upon 404 of /config 2021-01-21 03:26:09 +00:00
mark@6b90344cdab3158eacb94a3944460d138afc9bef
a39b2beda7 2021-01-20 17:36:20 +00:00
mike@2d6d71f56ce2a992244350475251df87c26fe351
9a29eba1f9 Added a comment 2021-01-20 15:41:50 +00:00
mike@2d6d71f56ce2a992244350475251df87c26fe351
7762f8be37 Added a comment 2021-01-19 18:16:28 +00:00
Joey Hess
9b2711167c
Merge branch 'master' of ssh://git-annex.branchable.com 2021-01-19 13:20:22 -04:00
Joey Hess
73df633a62
omit inode from ContentIdentifier for directory special remote
Directory special remotes with importtree=yes now avoid unncessary overhead
when inodes of files have changed, as happens whenever a FAT filesystem
gets remounted.

A few unusual edge cases of modifications won't be detected and
imported. I think they're unusual enough not to be a concern. It would
be possible to add a config setting that controls whether to compare
inodes too, but does not seem worth bothering the user about currently.

I chose to continue to use the InodeCache serialization, just with the
inode zeroed. This way, if I later change my mind or make it
configurable, can parse it back to an InodeCache and operate on it. The
overhead of storing a 0 in the content identifier log seems worth it.

There is a one-time cost to this change; all directory special remotes
with importtree=yes will re-hash all files once, and will update the
content identifier logs with zeroed inodes.

This commit was sponsored by Brett Eisenberg on Patreon.
2021-01-19 13:15:07 -04:00
Lukey
41cc2af245 removed 2021-01-19 16:49:57 +00:00
Lukey
40107f1ef1 Added a comment 2021-01-19 16:49:05 +00:00
Lukey
da428b152d Added a comment 2021-01-19 16:45:31 +00:00
Joey Hess
7ccddd4aea
display exception as part of warnings
and comment that led to this change
2021-01-19 12:27:42 -04:00
Lukey
b11aa063ae Added a comment 2021-01-19 16:27:07 +00:00
Joey Hess
4d51c9f148
comment 2021-01-19 12:12:34 -04:00
Joey Hess
5ca842aa7d
comment 2021-01-19 12:11:38 -04:00
Joey Hess
2b458c2d68
comment and todo 2021-01-19 11:56:27 -04:00
mike@2d6d71f56ce2a992244350475251df87c26fe351
15d3ea5fe9 removed 2021-01-19 12:21:38 +00:00
mike@2d6d71f56ce2a992244350475251df87c26fe351
bf5632ef52 Added a comment 2021-01-19 12:21:07 +00:00
mike@2d6d71f56ce2a992244350475251df87c26fe351
82820fabcd Added a comment 2021-01-19 12:19:46 +00:00
mike@2d6d71f56ce2a992244350475251df87c26fe351
d6d19ed494 2021-01-19 12:04:48 +00:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
62ffc7180d Added a comment: Went away with fsck? 2021-01-19 01:15:51 +00:00
aschoise@2386473665998adccbe71286036e57d7f3ad3a58
2a9f574e6f Added a comment: Issue when using flag --recurse-submodules with git-checkout and git-switch 2021-01-18 23:04:17 +00:00
rdp@af74e2cdae4a6bbe02b41cfc0821a1980ed59293
43eed43b34 2021-01-18 22:31:29 +00:00
Joey Hess
2aa4fab62a
avoid crashing when there are remotes using unparseable urls
Including the non-standard URI form that git-remote-gcrypt uses for rsync.

Eg, "ook://foo:bar" cannot be parsed because "bar" is not a valid port
number. But git could have a remote with that, it would try to run
git-remote-ook to handle it. So, git-annex has to allow for such things,
rather than crashing.

This commit was sponsored by Luke Shumaker on Patreon.
2021-01-18 14:59:08 -04:00
Joey Hess
aafb7f6eb9
comment 2021-01-18 13:54:57 -04:00
Joey Hess
c0ffb5c2c4
comment 2021-01-18 13:40:31 -04:00
Joey Hess
7cc1ed1940
Merge branch 'master' of ssh://git-annex.branchable.com 2021-01-18 13:28:08 -04:00
Joey Hess
7eb54bad12
fix prop_relPathDirToFileAbs_basics fail on windows
It was just slapping on a path separator to the front of the path to
make it absolute, but on windows, a path like "//foo/bar" actually
has a network "drive" of "//foo" and so that broke the test case.

Since "a:foo" is a somehow relative path on windows
(who knows how), drop any drive from the input. But dropDrive also drops
any leading path separator, making the input path relative. So now
it should be safe to slapp on a leading path separator.
2021-01-18 13:26:10 -04:00
Lukey
541efd7476 Added a comment 2021-01-18 17:05:55 +00:00
Joey Hess
75358f98b0
update 2021-01-18 13:02:28 -04:00
Joey Hess
f89721e13f
comment 2021-01-18 12:42:34 -04:00
Joey Hess
5193aae385
Bug fix: Fix tilde expansion in ssh urls when the tilde is the last character in the url. Thanks, Grond for the patch. 2021-01-18 12:22:48 -04:00
Joey Hess
a9bf2a6cad
Merge branch 'master' of ssh://git-annex.branchable.com 2021-01-18 12:18:23 -04:00
yarikoptic
02e1af71af initial report on prop_relPathDirToFileAbs_basics windows FAIL 2021-01-18 15:50:24 +00:00
Lukey
46aff11afc Added a comment 2021-01-18 14:31:06 +00:00
Lukey
7f72314bf3 Added a comment 2021-01-18 14:11:45 +00:00
Lukey
4f4ee314e9 2021-01-18 14:02:19 +00:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
a70cd409e2 Added a comment: Works fine after changing mount point 2021-01-17 07:24:38 +00:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
0c39105355 2021-01-17 06:36:20 +00:00
Joey Hess
ea5c3b4491
improve 2021-01-15 11:31:08 -04:00
grond66@79ca29ba964cd0d8e2f352871d54452e4a9dad88
75988a790e 2021-01-15 13:07:28 +00:00
grond66@79ca29ba964cd0d8e2f352871d54452e4a9dad88
33f9edbd0f 2021-01-15 13:01:50 +00:00
mih
eaf7e67475 Added a comment 2021-01-15 08:32:58 +00:00
grond66@79ca29ba964cd0d8e2f352871d54452e4a9dad88
8b57cc6c00 2021-01-15 02:24:25 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
48fc69120b removed 2021-01-14 22:16:20 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
88c007493d removed 2021-01-14 22:15:54 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
a0b05c59a6 Added a comment 2021-01-14 22:15:12 +00:00
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