ericm [Wed, 21 Oct 2020 18:18:25 +0000 (18:18 +0000)]
Joey Hess [Wed, 21 Oct 2020 14:32:24 +0000 (10:32 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 21 Oct 2020 14:32:08 +0000 (10:32 -0400)]
devblog
Joey Hess [Wed, 21 Oct 2020 14:31:56 +0000 (10:31 -0400)]
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.
removed
Added a comment
Added a comment
yarikoptic [Tue, 20 Oct 2020 23:31:22 +0000 (23:31 +0000)]
report/idea on minting chunked keys to try from special remote
Joey Hess [Tue, 20 Oct 2020 20:42:28 +0000 (16:42 -0400)]
more log file actions
Which will be needed soon.
And use more ByteStrings for speed.
This commit was sponsored by Graham Spencer on Patreon.
Joey Hess [Tue, 20 Oct 2020 19:06:55 +0000 (15:06 -0400)]
improve name
yarikoptic [Tue, 20 Oct 2020 16:39:15 +0000 (16:39 +0000)]
Added a comment
kyle [Tue, 20 Oct 2020 15:59:26 +0000 (15:59 +0000)]
Added a comment
ericm [Tue, 20 Oct 2020 13:45:10 +0000 (13:45 +0000)]
Added a comment
achilleas [Tue, 20 Oct 2020 12:51:55 +0000 (12:51 +0000)]
New bug report
yarikoptic [Tue, 20 Oct 2020 12:33:29 +0000 (12:33 +0000)]
Added a comment
yarikoptic [Tue, 20 Oct 2020 12:29:19 +0000 (12:29 +0000)]
Added a comment
Joey Hess [Mon, 19 Oct 2020 19:36:18 +0000 (15:36 -0400)]
add, import: Fix a reversion in 7.
20191009 that broke handling of --largerthan and --smallerthan
This commit was sponsored by Jochen Bartl on Patreon.
Joey Hess [Mon, 19 Oct 2020 19:24:38 +0000 (15:24 -0400)]
bug
Joey Hess [Mon, 19 Oct 2020 19:04:52 +0000 (15:04 -0400)]
comment
Joey Hess [Mon, 19 Oct 2020 18:57:30 +0000 (14:57 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com into master
Joey Hess [Mon, 19 Oct 2020 18:57:02 +0000 (14:57 -0400)]
design done
Joey Hess [Mon, 19 Oct 2020 18:48:39 +0000 (14:48 -0400)]
update
Joey Hess [Mon, 19 Oct 2020 18:48:21 +0000 (14:48 -0400)]
fix build warning
ericm [Mon, 19 Oct 2020 18:33:57 +0000 (18:33 +0000)]
Joey Hess [Mon, 19 Oct 2020 18:19:41 +0000 (14:19 -0400)]
more thoughts
Joey Hess [Mon, 19 Oct 2020 17:13:49 +0000 (13:13 -0400)]
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.
Joey Hess [Mon, 19 Oct 2020 17:12:07 +0000 (13:12 -0400)]
comment
Joey Hess [Mon, 19 Oct 2020 17:04:03 +0000 (13:04 -0400)]
comment
Joey Hess [Mon, 19 Oct 2020 16:37:40 +0000 (12:37 -0400)]
comment
Joey Hess [Mon, 19 Oct 2020 16:19:33 +0000 (12:19 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com into master
Joey Hess [Mon, 19 Oct 2020 16:16:15 +0000 (12:16 -0400)]
close
Joey Hess [Mon, 19 Oct 2020 15:14:01 +0000 (11:14 -0400)]
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.
Ilya_Shlyakhter [Sun, 18 Oct 2020 21:00:59 +0000 (21:00 +0000)]
Added a comment: copying directly from directory special remote to the cloud
Ilya_Shlyakhter [Fri, 16 Oct 2020 14:58:42 +0000 (14:58 +0000)]
Added a comment: building the standalone distribution on CentOS
yarikoptic [Fri, 16 Oct 2020 01:50:39 +0000 (01:50 +0000)]
Added a comment
yarikoptic [Fri, 16 Oct 2020 01:29:23 +0000 (01:29 +0000)]
Added a comment
edward [Thu, 15 Oct 2020 19:10:58 +0000 (19:10 +0000)]
Fix typo
yarikoptic [Thu, 15 Oct 2020 16:43:06 +0000 (16:43 +0000)]
initial report
Lukey [Thu, 15 Oct 2020 14:46:33 +0000 (14:46 +0000)]
Added a comment
Added a comment: dropunused and copies
Joey Hess [Tue, 13 Oct 2020 22:57:30 +0000 (18:57 -0400)]
comment
Joey Hess [Tue, 13 Oct 2020 22:41:47 +0000 (18:41 -0400)]
devblog
Joey Hess [Tue, 13 Oct 2020 20:46:32 +0000 (16:46 -0400)]
devblog
Joey Hess [Tue, 13 Oct 2020 20:31:01 +0000 (16:31 -0400)]
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.
Joey Hess [Tue, 13 Oct 2020 19:36:01 +0000 (15:36 -0400)]
enable profiling in dev build
Joey Hess [Tue, 13 Oct 2020 19:33:59 +0000 (15:33 -0400)]
blew a day investigating this and still don't understand it fully
Joey Hess [Tue, 13 Oct 2020 16:24:13 +0000 (12:24 -0400)]
comment
Joey Hess [Tue, 13 Oct 2020 16:19:36 +0000 (12:19 -0400)]
add a few missing copyrights
Joey Hess [Mon, 12 Oct 2020 20:14:51 +0000 (16:14 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com into master
Joey Hess [Mon, 12 Oct 2020 20:12:24 +0000 (16:12 -0400)]
comment
Joey Hess [Mon, 12 Oct 2020 19:47:46 +0000 (15:47 -0400)]
comment
This commit was sponsored by Ethan Aubin.
Maximilian [Mon, 12 Oct 2020 19:53:27 +0000 (19:53 +0000)]
Added a comment
Joey Hess [Mon, 12 Oct 2020 19:47:46 +0000 (15:47 -0400)]
comment
This commit was sponsored by Ethan Aubin.
Joey Hess [Mon, 12 Oct 2020 19:10:57 +0000 (15:10 -0400)]
comment
Joey Hess [Mon, 12 Oct 2020 19:03:18 +0000 (15:03 -0400)]
comment
Joey Hess [Mon, 12 Oct 2020 18:50:38 +0000 (14:50 -0400)]
close as notabug
Joey Hess [Mon, 12 Oct 2020 18:49:36 +0000 (14:49 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com into master
Joey Hess [Mon, 12 Oct 2020 18:48:26 +0000 (14:48 -0400)]
profiling
Currently a bit stuck, but at least starting to get some clues on this
memory leak.
This commit was sponsored by Ethan Aubin.
Lukey [Mon, 12 Oct 2020 17:20:37 +0000 (17:20 +0000)]
Added a comment
mhauru [Mon, 12 Oct 2020 17:07:58 +0000 (17:07 +0000)]
Added a comment
Joey Hess [Mon, 12 Oct 2020 16:32:53 +0000 (12:32 -0400)]
comment
yarikoptic [Mon, 12 Oct 2020 16:00:32 +0000 (16:00 +0000)]
Added a comment
Joey Hess [Mon, 12 Oct 2020 15:41:58 +0000 (11:41 -0400)]
comment
Joey Hess [Mon, 12 Oct 2020 15:35:40 +0000 (11:35 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com into master
Lukey [Sun, 11 Oct 2020 14:17:47 +0000 (14:17 +0000)]
Added a comment
Lukey [Sun, 11 Oct 2020 14:08:27 +0000 (14:08 +0000)]
Added a comment
Lukey [Sun, 11 Oct 2020 14:01:35 +0000 (14:01 +0000)]
Added a comment
yarikoptic [Sun, 11 Oct 2020 13:51:28 +0000 (13:51 +0000)]
Added a comment
Joey Hess [Sat, 10 Oct 2020 14:40:35 +0000 (10:40 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com into master
Maximilian [Sat, 10 Oct 2020 09:11:21 +0000 (09:11 +0000)]
Joey Hess [Sat, 10 Oct 2020 00:24:56 +0000 (20:24 -0400)]
comment
Joey Hess [Thu, 8 Oct 2020 18:36:36 +0000 (14:36 -0400)]
this was closed a long time ago, but a rename made it re-appear
Joey Hess [Thu, 8 Oct 2020 14:50:39 +0000 (10:50 -0400)]
Fix build on Windows with network-3
inet_addr was removed, but all this needs is localhost, so hardcoding it
should work fine.
It may be that this windows ifdef is no longer needed. It was added in 2013
with a note that getAddrInfo didn't work on windows, but it seems likely
such a problem would have been fixed since.
Joey Hess [Thu, 8 Oct 2020 14:38:15 +0000 (10:38 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com into master
Joey Hess [Thu, 8 Oct 2020 14:35:16 +0000 (10:35 -0400)]
change from deprecated and removed aNY_PORT to defaultPort
(Both are just 0 internally.)
Joey Hess [Thu, 8 Oct 2020 14:31:03 +0000 (10:31 -0400)]
remove unused define
Joey Hess [Thu, 8 Oct 2020 14:09:12 +0000 (10:09 -0400)]
design for finally slaying this beast
This commit was sponsored by Ethan Aubin.
jwodder [Thu, 8 Oct 2020 13:02:20 +0000 (13:02 +0000)]
jwodder [Thu, 8 Oct 2020 12:44:52 +0000 (12:44 +0000)]
Added a comment
Joey Hess [Wed, 7 Oct 2020 18:18:57 +0000 (14:18 -0400)]
add news item for git-annex 8.
20201007
Joey Hess [Wed, 7 Oct 2020 18:10:56 +0000 (14:10 -0400)]
releasing package git-annex version 8.
20201007
Joey Hess [Wed, 7 Oct 2020 16:12:53 +0000 (12:12 -0400)]
renamed some filenames to not end with a period
Windows does not allow such filenames, which prevented cloning git-annex
on windows.
Joey Hess [Wed, 7 Oct 2020 16:04:54 +0000 (12:04 -0400)]
Fix a build failure on Windows.
Joey Hess [Tue, 6 Oct 2020 15:25:17 +0000 (11:25 -0400)]
avoid depending on cmp
If it was not available, the caches would get deleted unncessarily.
This should be just as fast as using it.
Joey Hess [Tue, 6 Oct 2020 15:23:55 +0000 (11:23 -0400)]
shorten buildid
No need to end it with " git-annex"
Joey Hess [Tue, 6 Oct 2020 14:54:10 +0000 (10:54 -0400)]
response
Joey Hess [Tue, 6 Oct 2020 14:24:09 +0000 (10:24 -0400)]
close
Joey Hess [Tue, 6 Oct 2020 14:07:48 +0000 (10:07 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com into master
Joey Hess [Tue, 6 Oct 2020 14:07:27 +0000 (10:07 -0400)]
update
Joey Hess [Tue, 6 Oct 2020 12:46:35 +0000 (08:46 -0400)]
move cache cleanup back to before cache creation
It was moved to avoid a race, but that's now avoided in another way.
I prefer having it here, because this way if it somehow fails and
deletes the locpath that is going to be used, at least it will get
re-created.
Joey Hess [Tue, 6 Oct 2020 12:44:05 +0000 (08:44 -0400)]
fix another race
Use a different tmp directory so the cache cleanup won't delete the
locpath directory while it's being populated.
This does change the hash used for the locpath directory, but it already
changed in
f0ec725234463a7165a4339c8a65486a9b04ab3a
yarikoptic [Tue, 6 Oct 2020 01:27:01 +0000 (01:27 +0000)]
Added a comment
yarikoptic [Tue, 6 Oct 2020 00:04:38 +0000 (00:04 +0000)]
Added a comment: FTR
yarikoptic [Mon, 5 Oct 2020 23:17:08 +0000 (23:17 +0000)]
Added a comment
yarikoptic [Mon, 5 Oct 2020 23:11:32 +0000 (23:11 +0000)]
Added a comment: just comments
Joey Hess [Mon, 5 Oct 2020 19:19:48 +0000 (15:19 -0400)]
comment
Joey Hess [Mon, 5 Oct 2020 18:51:19 +0000 (14:51 -0400)]
comment
Joey Hess [Mon, 5 Oct 2020 18:38:29 +0000 (14:38 -0400)]
comment