Joey Hess [Fri, 23 Oct 2020 17:36:56 +0000 (13:36 -0400)]
pass --git-dir, rather than changing cwd
If .git is a gitlink file, setting cwd to it will fail, but --git-dir
will succeed. And this is the only place where it sets cwd when running
git, everywhere else already uses --git-dir.
Note that, git-annex's submodule fixup code usually converts gitlink
files to symlinks, so this wasn't usually problem. Still, worth fixing.
This commit was sponsored by Svenne Krap on Patreon.
Joey Hess [Fri, 23 Oct 2020 17:09:41 +0000 (13:09 -0400)]
Merge remote-tracking branch 'origin/master'
Joey Hess [Fri, 23 Oct 2020 17:00:55 +0000 (13:00 -0400)]
analysis
Added a comment
Joey Hess [Fri, 23 Oct 2020 16:18:52 +0000 (12:18 -0400)]
Fix bug that prevented linux standalone bundle from working on a fresh install
Bug was introduced in version 8.
20201007, lost a necessary mkdir.
This commit was sponsored by Noam Kremen on Patreon.
amindfv@97236fbaab6048ce6805b2737b27dd7f1cd51da4 [Fri, 23 Oct 2020 05:37:41 +0000 (05:37 +0000)]
Added a comment
Added a comment
yarikoptic [Fri, 23 Oct 2020 01:49:02 +0000 (01:49 +0000)]
initial report on a failing test on windows about storeKey when already present
Joey Hess [Thu, 22 Oct 2020 23:55:29 +0000 (19:55 -0400)]
this protocol is not draft for some time
Joey Hess [Thu, 22 Oct 2020 23:54:26 +0000 (19:54 -0400)]
turns out this was fixed in 2014
Joey Hess [Thu, 22 Oct 2020 23:24:38 +0000 (19:24 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 22 Oct 2020 23:23:48 +0000 (19:23 -0400)]
urk
yarikoptic [Thu, 22 Oct 2020 19:32:55 +0000 (19:32 +0000)]
Added a comment: windows build with magic
jwodder [Thu, 22 Oct 2020 18:13:40 +0000 (18:13 +0000)]
Added a comment
Joey Hess [Thu, 22 Oct 2020 17:57:56 +0000 (13:57 -0400)]
rename to avoid windows stupididy about legal filenames
Joey Hess [Thu, 22 Oct 2020 17:55:47 +0000 (13:55 -0400)]
add
Joey Hess [Thu, 22 Oct 2020 17:55:41 +0000 (13:55 -0400)]
add
Joey Hess [Thu, 22 Oct 2020 17:37:09 +0000 (13:37 -0400)]
update chunk log after speculated chunks are verified to be present
Only done in checkPresentChunks, although retrieveChunks could also do
it. Does not seem necessary though, because git-annex never retrives
content without first checking if it's present AFAICR. And really this will
only be needed when using fsck. Puttting it here, rather than in fsck
avoids breaking an abstraction boundary, and is nice and inexpensive.
Joey Hess [Thu, 22 Oct 2020 16:57:58 +0000 (12:57 -0400)]
speculatively use remote's configured chunk size as a fallback
When a special remote has chunking enabled, but no chunk sizes are
recorded (or the recorded ones are not found), speculatively try chunks
using the configured chunk size.
This makes eg, git-annex fsck --from remote be able to fix up the
location log of a file that the git-annex branch does not indicate is
stored on the remote.
Note that fsck does *not* fix up the chunk log to indicate the chunk
size. So, changing the chunk config of the remote after that will still
prevent accessing the chunks stored on it. Maybe fsck should, but I
wanted to start with this and see if it's needed.
Joey Hess [Thu, 22 Oct 2020 16:03:13 +0000 (12:03 -0400)]
close
Added a comment: cannot find this mentioned Windows build :|
edward [Wed, 21 Oct 2020 19:22:57 +0000 (19:22 +0000)]
Fix a broken link
Lukey [Wed, 21 Oct 2020 19:10:01 +0000 (19:10 +0000)]
Added a comment
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.)