Commit graph

38333 commits

Author SHA1 Message Date
nix.zahlen@1211ac6c964ba2d68b70655f747bef1383032e77
a9cec7a810 2020-10-21 20:44:23 +00:00
edward
c20be8d09b Fix a broken link 2020-10-21 19:22:57 +00:00
Lukey
d7b95e363e Added a comment 2020-10-21 19:10:01 +00:00
ericm
4816cfc104 2020-10-21 18:18:25 +00:00
Joey Hess
b7835701c8
Merge branch 'master' of ssh://git-annex.branchable.com 2020-10-21 10:32:24 -04:00
Joey Hess
02d5466c23
devblog 2020-10-21 10:32:08 -04:00
Joey Hess
0133b7e5a8
move: Improve resuming a move that was interrupted after the object was transferred
In cases where numcopies checks prevented the resumed move from dropping
the object from the source repository, it now relies on a log of recent
moves to replicate the behavior of the interrupted command.

Performance: Probably noticable impact, since it has to add to the log,
check the log, and remove from the log. Seems worth it to avoid this
annoying edge case. The log functions are pretty well optimised to avoid
unncessary work.

An performance improvement to make later would be to avoid cleanup doing
anything if it's not written to the log file, and has confirmed that the
log file does not contain the log line.

This commit was sponsored by Jake Vosloo on Patreon.
2020-10-21 10:31:56 -04:00
achilleas.k@14be77d42a1252fab5ec9dbf4e5ea03c5833e8c8
9f69a68ed7 removed 2020-10-21 07:51:58 +00:00
achilleas.k@14be77d42a1252fab5ec9dbf4e5ea03c5833e8c8
fd30262fb3 Added a comment 2020-10-21 07:51:37 +00:00
achilleas.k@14be77d42a1252fab5ec9dbf4e5ea03c5833e8c8
bdc7f63c21 Added a comment 2020-10-21 07:51:13 +00:00
yarikoptic
8f261113f3 report/idea on minting chunked keys to try from special remote 2020-10-20 23:31:22 +00:00
Joey Hess
363acfb55b
more log file actions
Which will be needed soon.

And use more ByteStrings for speed.

This commit was sponsored by Graham Spencer on Patreon.
2020-10-20 16:51:03 -04:00
Joey Hess
62d630272e
improve name 2020-10-20 15:06:55 -04:00
yarikoptic
fa686784f1 Added a comment 2020-10-20 16:39:15 +00:00
kyle
7c78321770 Added a comment 2020-10-20 15:59:26 +00:00
ericm
ad86a25c58 Added a comment 2020-10-20 13:45:10 +00:00
achilleas
fb2bd67f76 New bug report 2020-10-20 12:51:55 +00:00
yarikoptic
b6f70c2876 Added a comment 2020-10-20 12:33:29 +00:00
yarikoptic
1a5fc2667f Added a comment 2020-10-20 12:29:19 +00:00
Joey Hess
7036d0a4c1
add, import: Fix a reversion in 7.20191009 that broke handling of --largerthan and --smallerthan
This commit was sponsored by Jochen Bartl on Patreon.
2020-10-19 15:36:18 -04:00
Joey Hess
b390a4012c
bug 2020-10-19 15:24:38 -04:00
Joey Hess
f8b0be1f93
comment 2020-10-19 15:04:52 -04:00
Joey Hess
b9c02b29fe
Merge branch 'master' of ssh://git-annex.branchable.com into master 2020-10-19 14:57:30 -04:00
Joey Hess
15ea0e6c0a
design done 2020-10-19 14:57:02 -04:00
Joey Hess
5009c1ce68
update 2020-10-19 14:49:16 -04:00
Joey Hess
72644d919a
fix build warning 2020-10-19 14:48:21 -04:00
ericm
9d70cd5def 2020-10-19 18:33:57 +00:00
Joey Hess
c337b58caf
more thoughts 2020-10-19 14:19:41 -04:00
Joey Hess
c3e5417c17
don't try to remove pre-commit-annex and post-update-annex-hooks
Those are not installed by git-annex but by the user, and so removal
will never find the default content, and so if the user did install
them, it would display a misleading message.

Seems better, since the user installed them, to let the user remove them
if they want to.
2020-10-19 13:13:49 -04:00
Joey Hess
b2c5c99506
comment 2020-10-19 13:12:07 -04:00
Joey Hess
f1398a1a92
comment 2020-10-19 13:04:03 -04:00
Joey Hess
bdb6d8581c
comment 2020-10-19 12:37:40 -04:00
Joey Hess
3c6cfacb19
Merge branch 'master' of ssh://git-annex.branchable.com into master 2020-10-19 12:19:33 -04:00
Joey Hess
e408658eaa
close 2020-10-19 12:16:15 -04:00
Joey Hess
2dd38b6403
switch to Haskell2010
When I put in Haskell98 this spring, I was under the mistaken
apprehension that ghc defaulted to that. But it actually its default
is a third mode, which is closer to Haskell2010 but with some differences.
The manual says "By default, GHC mainly aims to behave (mostly) like a
Haskell 2010 compiler"

Fixed two cases where the Haskell98 do indentation flexability let
wrongly indented code build. That is one of the places where
ghc does not behave like Haskell2010 by default.

The other place that I think I was concerned about, is GHC manual
section 19.1.1.3. Expressions and patterns. But that only seems to
affect code using bottoms, so would only affect pure functions throwing
an error, which I don't think git-annex does in many places as it's
pretty horrid style. And it would only affect rare cases like shown in
that section. If it did happen, it would mean that the error was not
thrown before specifying Haskell98, and then was. Haskell2010 behaves
the same as Haskell98.

This commit was sponsored by Denis Dzyubenko on Patreon.
2020-10-19 11:26:16 -04:00
Ilya_Shlyakhter
1ac3735ac9 Added a comment: copying directly from directory special remote to the cloud 2020-10-18 21:00:59 +00:00
Ilya_Shlyakhter
6ee7ccb7bd Added a comment: building the standalone distribution on CentOS 2020-10-16 14:58:42 +00:00
yarikoptic
4f45051a2f Added a comment 2020-10-16 01:50:39 +00:00
yarikoptic
9910b8a513 Added a comment 2020-10-16 01:29:23 +00:00
edward
fd80a4e43d Fix typo 2020-10-15 19:10:58 +00:00
yarikoptic
361b9d719a initial report 2020-10-15 16:43:06 +00:00
Lukey
3d686af1e1 Added a comment 2020-10-15 14:46:33 +00:00
fbaca1610@41d03d827c5fd52d594eef456b6196c057c0944f
b18130e24b Added a comment: dropunused and copies 2020-10-15 10:19:17 +00:00
Joey Hess
e4a8b7b26f
comment 2020-10-13 18:57:30 -04:00
Joey Hess
e726aee7be
devblog 2020-10-13 18:41:47 -04:00
Joey Hess
c8995b040f
devblog 2020-10-13 16:46:32 -04:00
Joey Hess
9a5cd96f0d
Fix a memory leak introduced in the last release
The problem was this line:

	cleanup = and <$> sequence (map snd v)

That caused all of v to be held onto until the end, when the cleanup action
was run.

I could not seem to find a bang pattern that avoided the leak, so I
resorted to a IORef, rather clunky, but not a performance problem because
it will only be written once per git ls-files, so typically just 1 time.

This commit was sponsored by Mark Reidenbach on Patreon.
2020-10-13 16:31:01 -04:00
Joey Hess
c703c6f295
enable profiling in dev build 2020-10-13 15:36:01 -04:00
Joey Hess
d41795c8ff
blew a day investigating this and still don't understand it fully 2020-10-13 15:33:59 -04:00
Joey Hess
cf0ff9f53d
comment 2020-10-13 12:24:13 -04:00