git-annex.git
5 years ago(no commit message)
ericm [Wed, 21 Oct 2020 18:18:25 +0000 (18:18 +0000)]

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 21 Oct 2020 14:32:24 +0000 (10:32 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

5 years agodevblog
Joey Hess [Wed, 21 Oct 2020 14:32:08 +0000 (10:32 -0400)]
devblog

5 years agomove: Improve resuming a move that was interrupted after the object was transferred
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.

5 years agoremoved
achilleas.k@14be77d42a1252fab5ec9dbf4e5ea03c5833e8c8 [Wed, 21 Oct 2020 07:51:58 +0000 (07:51 +0000)]
removed

5 years agoAdded a comment
achilleas.k@14be77d42a1252fab5ec9dbf4e5ea03c5833e8c8 [Wed, 21 Oct 2020 07:51:37 +0000 (07:51 +0000)]
Added a comment

5 years agoAdded a comment
achilleas.k@14be77d42a1252fab5ec9dbf4e5ea03c5833e8c8 [Wed, 21 Oct 2020 07:51:13 +0000 (07:51 +0000)]
Added a comment

5 years agoreport/idea on minting chunked keys to try from special remote
yarikoptic [Tue, 20 Oct 2020 23:31:22 +0000 (23:31 +0000)]
report/idea on minting chunked keys to try from special remote

5 years agomore log file actions
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.

5 years agoimprove name
Joey Hess [Tue, 20 Oct 2020 19:06:55 +0000 (15:06 -0400)]
improve name

5 years agoAdded a comment
yarikoptic [Tue, 20 Oct 2020 16:39:15 +0000 (16:39 +0000)]
Added a comment

5 years agoAdded a comment
kyle [Tue, 20 Oct 2020 15:59:26 +0000 (15:59 +0000)]
Added a comment

5 years agoAdded a comment
ericm [Tue, 20 Oct 2020 13:45:10 +0000 (13:45 +0000)]
Added a comment

5 years ago New bug report
achilleas [Tue, 20 Oct 2020 12:51:55 +0000 (12:51 +0000)]
 New bug report

5 years agoAdded a comment
yarikoptic [Tue, 20 Oct 2020 12:33:29 +0000 (12:33 +0000)]
Added a comment

5 years agoAdded a comment
yarikoptic [Tue, 20 Oct 2020 12:29:19 +0000 (12:29 +0000)]
Added a comment

5 years agoadd, import: Fix a reversion in 7.20191009 that broke handling of --largerthan and...
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.

5 years agobug
Joey Hess [Mon, 19 Oct 2020 19:24:38 +0000 (15:24 -0400)]
bug

5 years agocomment
Joey Hess [Mon, 19 Oct 2020 19:04:52 +0000 (15:04 -0400)]
comment

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com into master
Joey Hess [Mon, 19 Oct 2020 18:57:30 +0000 (14:57 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com into master

5 years agodesign done
Joey Hess [Mon, 19 Oct 2020 18:57:02 +0000 (14:57 -0400)]
design done

5 years agoupdate
Joey Hess [Mon, 19 Oct 2020 18:48:39 +0000 (14:48 -0400)]
update

5 years agofix build warning
Joey Hess [Mon, 19 Oct 2020 18:48:21 +0000 (14:48 -0400)]
fix build warning

5 years ago(no commit message)
ericm [Mon, 19 Oct 2020 18:33:57 +0000 (18:33 +0000)]

5 years agomore thoughts
Joey Hess [Mon, 19 Oct 2020 18:19:41 +0000 (14:19 -0400)]
more thoughts

5 years agodon't try to remove pre-commit-annex and post-update-annex-hooks
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.

5 years agocomment
Joey Hess [Mon, 19 Oct 2020 17:12:07 +0000 (13:12 -0400)]
comment

5 years agocomment
Joey Hess [Mon, 19 Oct 2020 17:04:03 +0000 (13:04 -0400)]
comment

5 years agocomment
Joey Hess [Mon, 19 Oct 2020 16:37:40 +0000 (12:37 -0400)]
comment

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com into master
Joey Hess [Mon, 19 Oct 2020 16:19:33 +0000 (12:19 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com into master

5 years agoclose
Joey Hess [Mon, 19 Oct 2020 16:16:15 +0000 (12:16 -0400)]
close

5 years agoswitch to Haskell2010
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.

5 years agoAdded a comment: copying directly from directory special remote to the cloud
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

5 years agoAdded a comment: building the standalone distribution on CentOS
Ilya_Shlyakhter [Fri, 16 Oct 2020 14:58:42 +0000 (14:58 +0000)]
Added a comment: building the standalone distribution on CentOS

5 years agoAdded a comment
yarikoptic [Fri, 16 Oct 2020 01:50:39 +0000 (01:50 +0000)]
Added a comment

5 years agoAdded a comment
yarikoptic [Fri, 16 Oct 2020 01:29:23 +0000 (01:29 +0000)]
Added a comment

5 years agoFix typo
edward [Thu, 15 Oct 2020 19:10:58 +0000 (19:10 +0000)]
Fix typo

5 years agoinitial report
yarikoptic [Thu, 15 Oct 2020 16:43:06 +0000 (16:43 +0000)]
initial report

5 years agoAdded a comment
Lukey [Thu, 15 Oct 2020 14:46:33 +0000 (14:46 +0000)]
Added a comment

5 years agoAdded a comment: dropunused and copies
fbaca1610@41d03d827c5fd52d594eef456b6196c057c0944f [Thu, 15 Oct 2020 10:19:17 +0000 (10:19 +0000)]
Added a comment: dropunused and copies

5 years agocomment
Joey Hess [Tue, 13 Oct 2020 22:57:30 +0000 (18:57 -0400)]
comment

5 years agodevblog
Joey Hess [Tue, 13 Oct 2020 22:41:47 +0000 (18:41 -0400)]
devblog

5 years agodevblog
Joey Hess [Tue, 13 Oct 2020 20:46:32 +0000 (16:46 -0400)]
devblog

5 years agoFix a memory leak introduced in the last release
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.

5 years agoenable profiling in dev build
Joey Hess [Tue, 13 Oct 2020 19:36:01 +0000 (15:36 -0400)]
enable profiling in dev build

5 years agoblew a day investigating this and still don't understand it fully
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

5 years agocomment
Joey Hess [Tue, 13 Oct 2020 16:24:13 +0000 (12:24 -0400)]
comment

5 years agoadd a few missing copyrights
Joey Hess [Tue, 13 Oct 2020 16:19:36 +0000 (12:19 -0400)]
add a few missing copyrights

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com into master
Joey Hess [Mon, 12 Oct 2020 20:14:51 +0000 (16:14 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com into master

5 years agocomment
Joey Hess [Mon, 12 Oct 2020 20:12:24 +0000 (16:12 -0400)]
comment

5 years agocomment
Joey Hess [Mon, 12 Oct 2020 19:47:46 +0000 (15:47 -0400)]
comment

This commit was sponsored by Ethan Aubin.

5 years agoAdded a comment
Maximilian [Mon, 12 Oct 2020 19:53:27 +0000 (19:53 +0000)]
Added a comment

5 years agocomment
Joey Hess [Mon, 12 Oct 2020 19:47:46 +0000 (15:47 -0400)]
comment

This commit was sponsored by Ethan Aubin.

5 years agocomment
Joey Hess [Mon, 12 Oct 2020 19:10:57 +0000 (15:10 -0400)]
comment

5 years agocomment
Joey Hess [Mon, 12 Oct 2020 19:03:18 +0000 (15:03 -0400)]
comment

5 years agoclose as notabug
Joey Hess [Mon, 12 Oct 2020 18:50:38 +0000 (14:50 -0400)]
close as notabug

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com into master
Joey Hess [Mon, 12 Oct 2020 18:49:36 +0000 (14:49 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com into master

5 years agoprofiling
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.

5 years agoAdded a comment
Lukey [Mon, 12 Oct 2020 17:20:37 +0000 (17:20 +0000)]
Added a comment

5 years agoAdded a comment
mhauru [Mon, 12 Oct 2020 17:07:58 +0000 (17:07 +0000)]
Added a comment

5 years agocomment
Joey Hess [Mon, 12 Oct 2020 16:32:53 +0000 (12:32 -0400)]
comment

5 years agoAdded a comment
yarikoptic [Mon, 12 Oct 2020 16:00:32 +0000 (16:00 +0000)]
Added a comment

5 years agocomment
Joey Hess [Mon, 12 Oct 2020 15:41:58 +0000 (11:41 -0400)]
comment

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com into master
Joey Hess [Mon, 12 Oct 2020 15:35:40 +0000 (11:35 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com into master

5 years agoAdded a comment
Lukey [Sun, 11 Oct 2020 14:17:47 +0000 (14:17 +0000)]
Added a comment

5 years agoAdded a comment
Lukey [Sun, 11 Oct 2020 14:08:27 +0000 (14:08 +0000)]
Added a comment

5 years agoAdded a comment
Lukey [Sun, 11 Oct 2020 14:01:35 +0000 (14:01 +0000)]
Added a comment

5 years agoAdded a comment
yarikoptic [Sun, 11 Oct 2020 13:51:28 +0000 (13:51 +0000)]
Added a comment

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com into master
Joey Hess [Sat, 10 Oct 2020 14:40:35 +0000 (10:40 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com into master

5 years ago(no commit message)
Maximilian [Sat, 10 Oct 2020 09:11:21 +0000 (09:11 +0000)]

5 years agocomment
Joey Hess [Sat, 10 Oct 2020 00:24:56 +0000 (20:24 -0400)]
comment

5 years agothis was closed a long time ago, but a rename made it re-appear
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

5 years agoFix build on Windows with network-3
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.

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com into master
Joey Hess [Thu, 8 Oct 2020 14:38:15 +0000 (10:38 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com into master

5 years agochange from deprecated and removed aNY_PORT to defaultPort
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.)

5 years agoremove unused define
Joey Hess [Thu, 8 Oct 2020 14:31:03 +0000 (10:31 -0400)]
remove unused define

5 years agodesign for finally slaying this beast
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.

5 years ago(no commit message)
jwodder [Thu, 8 Oct 2020 13:02:20 +0000 (13:02 +0000)]

5 years agoAdded a comment
jwodder [Thu, 8 Oct 2020 12:44:52 +0000 (12:44 +0000)]
Added a comment

5 years agoadd news item for git-annex 8.20201007
Joey Hess [Wed, 7 Oct 2020 18:18:57 +0000 (14:18 -0400)]
add news item for git-annex 8.20201007

5 years agoreleasing package git-annex version 8.20201007
Joey Hess [Wed, 7 Oct 2020 18:10:56 +0000 (14:10 -0400)]
releasing package git-annex version 8.20201007

5 years agorenamed some filenames to not end with a period
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.

5 years agoFix a build failure on Windows.
Joey Hess [Wed, 7 Oct 2020 16:04:54 +0000 (12:04 -0400)]
Fix a build failure on Windows.

5 years ago(no commit message)
git-annex.branchable@f45632a8044327f7993eb5b462c37b76ae48cb10 [Wed, 7 Oct 2020 15:01:06 +0000 (15:01 +0000)]

5 years ago(no commit message)
git-annex.branchable@f45632a8044327f7993eb5b462c37b76ae48cb10 [Tue, 6 Oct 2020 19:19:44 +0000 (19:19 +0000)]

5 years agoavoid depending on cmp
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.

5 years agoshorten buildid
Joey Hess [Tue, 6 Oct 2020 15:23:55 +0000 (11:23 -0400)]
shorten buildid

No need to end it with " git-annex"

5 years agoresponse
Joey Hess [Tue, 6 Oct 2020 14:54:10 +0000 (10:54 -0400)]
response

5 years agoclose
Joey Hess [Tue, 6 Oct 2020 14:24:09 +0000 (10:24 -0400)]
close

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com into master
Joey Hess [Tue, 6 Oct 2020 14:07:48 +0000 (10:07 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com into master

5 years agoupdate
Joey Hess [Tue, 6 Oct 2020 14:07:27 +0000 (10:07 -0400)]
update

5 years agomove cache cleanup back to before cache creation
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.

5 years agofix another race
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

5 years agoAdded a comment
yarikoptic [Tue, 6 Oct 2020 01:27:01 +0000 (01:27 +0000)]
Added a comment

5 years agoAdded a comment: FTR
yarikoptic [Tue, 6 Oct 2020 00:04:38 +0000 (00:04 +0000)]
Added a comment: FTR

5 years agoAdded a comment
yarikoptic [Mon, 5 Oct 2020 23:17:08 +0000 (23:17 +0000)]
Added a comment

5 years agoAdded a comment: just comments
yarikoptic [Mon, 5 Oct 2020 23:11:32 +0000 (23:11 +0000)]
Added a comment: just comments

5 years agocomment
Joey Hess [Mon, 5 Oct 2020 19:19:48 +0000 (15:19 -0400)]
comment

5 years agocomment
Joey Hess [Mon, 5 Oct 2020 18:51:19 +0000 (14:51 -0400)]
comment

5 years agocomment
Joey Hess [Mon, 5 Oct 2020 18:38:29 +0000 (14:38 -0400)]
comment