removed
Added a comment: Problems with Assistant and Android
kyle [Tue, 14 Apr 2020 22:43:34 +0000 (22:43 +0000)]
bug: alwayscommit=false creating commits
erewhon [Tue, 14 Apr 2020 21:45:35 +0000 (21:45 +0000)]
Added a comment
erewhon [Tue, 14 Apr 2020 21:30:38 +0000 (21:30 +0000)]
removed
erewhon [Tue, 14 Apr 2020 21:20:51 +0000 (21:20 +0000)]
Added a comment
erewhon [Tue, 14 Apr 2020 21:19:46 +0000 (21:19 +0000)]
removed
erewhon [Tue, 14 Apr 2020 21:18:23 +0000 (21:18 +0000)]
Added a comment
Joey Hess [Mon, 13 Apr 2020 20:12:48 +0000 (16:12 -0400)]
--auto doc wording
try to make more clear that --auto is not --all
Joey Hess [Mon, 13 Apr 2020 20:08:21 +0000 (16:08 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 13 Apr 2020 19:56:10 +0000 (15:56 -0400)]
fix runtime crash on incomplete pattern match in lambda
This was very susprising to me that it was not caught by -Wall, so I
enabled -Wincomplete-uni-patterns to catch such things. It found a
second one just lines above, but no others anywhere.
kyle [Mon, 13 Apr 2020 18:58:50 +0000 (18:58 +0000)]
Added a comment
Joey Hess [Mon, 13 Apr 2020 18:32:46 +0000 (14:32 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 13 Apr 2020 18:07:23 +0000 (14:07 -0400)]
comment
Joey Hess [Mon, 13 Apr 2020 17:45:40 +0000 (13:45 -0400)]
When parsing git configs, support all the documented ways to write true and false, including "yes", "on", "1", etc.
This change does impact git-annex config
eg "git annex config --set annex.addunlocked on"
will store "on" and new git-annex will understand that value, while
old git-annex will error:
git-annex: bad annex.addunlocked configuration in git annex config:
Parse failure: near "on"
That seems acceptable.
Not special remote configs that are only documented as =true or =false
however. Having git-annex support other values for those would break
backwards compatability when used with old versions of git-annex. And
older versions ignore invalid special remote configs.. That would not
be a good combination.
Joey Hess [Mon, 13 Apr 2020 17:35:22 +0000 (13:35 -0400)]
support boolean git configs that are represented by the name of the setting with no value
Eg"core.bare" is the same as "core.bare = true".
Note that git treats "core.bare =" the same as "core.bare = false", so the
code had to become more complicated in order to treat the absense of a
value differently than an empty value. Ugh.
Joey Hess [Mon, 13 Apr 2020 17:05:41 +0000 (13:05 -0400)]
Fix a potential failure to parse git config
Git has an obnoxious special case in git config, a line "foo" is the same
as "foo = true". That means there is no way to examine the output of
git config and tell if it was run with --null or not, since a "foo"
in the first line could be such a boolean, or could be followed by its
value on the next line if --null were used.
So, rather than trying to do such a detection, track the style of config
at all the points where it's generated.
Joey Hess [Mon, 13 Apr 2020 16:33:35 +0000 (12:33 -0400)]
improve documentation
bjornw@6a7d7d0413efc7ed3bb44922586f040bb768b71c [Mon, 13 Apr 2020 16:30:33 +0000 (16:30 +0000)]
4omecha@fff0ca6fa5307d92706e5ee6812d8db8f8067df0 [Mon, 13 Apr 2020 09:19:23 +0000 (09:19 +0000)]
Best way to restore objects with correct names w/o git log present?
4omecha@fff0ca6fa5307d92706e5ee6812d8db8f8067df0 [Mon, 13 Apr 2020 09:16:39 +0000 (09:16 +0000)]
4omecha@fff0ca6fa5307d92706e5ee6812d8db8f8067df0 [Mon, 13 Apr 2020 09:13:51 +0000 (09:13 +0000)]
Best way to restore objects with correct names w/o git log present?
Ilya_Shlyakhter [Mon, 13 Apr 2020 00:53:59 +0000 (00:53 +0000)]
Added a comment
erewhon [Sun, 12 Apr 2020 19:28:38 +0000 (19:28 +0000)]
erewhon [Sun, 12 Apr 2020 19:10:35 +0000 (19:10 +0000)]
Joey Hess [Fri, 10 Apr 2020 19:18:38 +0000 (15:18 -0400)]
fix reversion caused by earlier optimisation to git-annex branch reads
aeca7c2207a652c8a72f044204a5c0edb4782aac was predicated on the
assumption that updateTo would stage any journal files, but in one case
it did not actually do so. The test suite happened to expose the bug.
Joey Hess [Fri, 10 Apr 2020 18:46:59 +0000 (14:46 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 10 Apr 2020 18:03:40 +0000 (14:03 -0400)]
optimise catfile interface with ByteString and Attoparsec
Around 3% total speedup.
Profiling git annex find --not --in web, it's now bytestring end-to-end,
and there is only a little added overhead in eg accessing the Annex
state MVar (3%). The rest of the runtime is spent reading symlinks, and
in attoparsec.
This feels like the end of the optimisation road, without a major change
like caching information for faster queries.
Joey Hess [Fri, 10 Apr 2020 17:37:04 +0000 (13:37 -0400)]
cache annex index filename for 1.5% speedup to queries
rename bugs/fsck_lies_about_checksum__63__.mdwn to bugs/fsck_tells___39__ok__39___also_if_no_file_present.mdwn
Joey Hess [Thu, 9 Apr 2020 18:09:41 +0000 (14:09 -0400)]
new optimisation target
Joey Hess [Thu, 9 Apr 2020 17:54:43 +0000 (13:54 -0400)]
Sped up query commands that read the git-annex branch by around 5%
The only price paid is one additional MVar read per write to the journal.
Presumably writing a journal file dominiates over a MVar read time by
several orders of magnitude.
--batch does not get the speedup because then it needs to notice when
another process has made a change. Also made the assistant and other damon
modes bypass the optimisation, which would not help them anyway.
Joey Hess [Wed, 8 Apr 2020 18:12:20 +0000 (14:12 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 8 Apr 2020 18:10:29 +0000 (14:10 -0400)]
changelog for ByteString Ref
Joey Hess [Wed, 8 Apr 2020 18:10:24 +0000 (14:10 -0400)]
Merge branch 'bytestring-ref'
Joey Hess [Wed, 8 Apr 2020 18:04:58 +0000 (14:04 -0400)]
remove unused import
Chymera [Wed, 8 Apr 2020 05:18:15 +0000 (05:18 +0000)]
yarikoptic [Wed, 8 Apr 2020 01:08:10 +0000 (01:08 +0000)]
Added a comment
Joey Hess [Tue, 7 Apr 2020 21:41:09 +0000 (17:41 -0400)]
Ref ByteString conversion done
Test suite passes.
Joey Hess [Tue, 7 Apr 2020 18:49:08 +0000 (14:49 -0400)]
comment
yarikoptic [Tue, 7 Apr 2020 18:25:46 +0000 (18:25 +0000)]
Added a comment
Joey Hess [Tue, 7 Apr 2020 17:46:10 +0000 (13:46 -0400)]
comment
Joey Hess [Tue, 7 Apr 2020 17:27:11 +0000 (13:27 -0400)]
ByteString Ref continued
Several nice speed wins I think.
At 340/633 files converted.
Joey Hess [Tue, 7 Apr 2020 15:54:27 +0000 (11:54 -0400)]
ByteString Ref continued
Attoparsec parser for diff-tree.
Changed fromRef back to producing a String, to avoid needing to convert
every use of it. However, this does mean I'm going to miss some
opportunities where fromRef is used and the result converted back to a
ByteString. Would be worth revisiting that at some point maybe.
kyle [Tue, 7 Apr 2020 15:30:55 +0000 (15:30 +0000)]
Added a comment
yarikoptic [Mon, 6 Apr 2020 21:35:32 +0000 (21:35 +0000)]
initial remote
Joey Hess [Mon, 6 Apr 2020 21:14:49 +0000 (17:14 -0400)]
started converting Ref from String to ByteString
This should make code that reads shas and refs from git faster.
Does not compile yet, a lot needs to be done still.
kyle [Mon, 6 Apr 2020 16:51:44 +0000 (16:51 +0000)]
bug: wanted=anything and deleted files
Joey Hess [Sun, 5 Apr 2020 22:35:34 +0000 (18:35 -0400)]
update
Added a comment
Joey Hess [Thu, 2 Apr 2020 14:46:46 +0000 (10:46 -0400)]
adb: Better messages when the adb command is not installed
After a user completely ignored the display of the exception probably
because it didn't make sense..
This does make it a little bit slower since it checks adb is in path each
time before running it. Also, it might display a lot of warnings about it
not being installed.
This commit was sponsored by Ilya Shlyakhter on Patreon.
Joey Hess [Thu, 2 Apr 2020 00:40:43 +0000 (20:40 -0400)]
respond to confused user and close non-bug
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283 [Thu, 2 Apr 2020 00:36:08 +0000 (00:36 +0000)]
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283 [Thu, 2 Apr 2020 00:33:24 +0000 (00:33 +0000)]
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283 [Thu, 2 Apr 2020 00:31:01 +0000 (00:31 +0000)]
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283 [Thu, 2 Apr 2020 00:30:13 +0000 (00:30 +0000)]
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283 [Thu, 2 Apr 2020 00:22:34 +0000 (00:22 +0000)]
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283 [Thu, 2 Apr 2020 00:06:54 +0000 (00:06 +0000)]
removed
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283 [Thu, 2 Apr 2020 00:06:22 +0000 (00:06 +0000)]
removed
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283 [Wed, 1 Apr 2020 23:37:55 +0000 (23:37 +0000)]
Added a comment
Joey Hess [Wed, 1 Apr 2020 19:44:15 +0000 (15:44 -0400)]
remove old dead link
Joey Hess [Wed, 1 Apr 2020 19:42:59 +0000 (15:42 -0400)]
reorg more
Joey Hess [Wed, 1 Apr 2020 19:40:44 +0000 (15:40 -0400)]
move to right place and remove debian and hackage matrix embeds which have stopped working
Joey Hess [Wed, 1 Apr 2020 19:38:40 +0000 (15:38 -0400)]
added the datalad standalone build CI status badge
Joey Hess [Wed, 1 Apr 2020 14:28:03 +0000 (10:28 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
xloem [Tue, 31 Mar 2020 23:40:12 +0000 (23:40 +0000)]
thk [Tue, 31 Mar 2020 06:43:39 +0000 (06:43 +0000)]
thk [Tue, 31 Mar 2020 06:36:14 +0000 (06:36 +0000)]
Added a comment: Also problem with USB drives
yarikoptic [Tue, 31 Mar 2020 01:22:54 +0000 (01:22 +0000)]
Added a comment
https://openid.jorsn.eu/ [Mon, 30 Mar 2020 23:24:51 +0000 (23:24 +0000)]
Added a comment: automatic repository upgrades
https://openid.jorsn.eu/ [Mon, 30 Mar 2020 22:41:59 +0000 (22:41 +0000)]
removed error
https://openid.jorsn.eu/ [Mon, 30 Mar 2020 22:41:17 +0000 (22:41 +0000)]
Added a comment
Joey Hess [Mon, 30 Mar 2020 20:07:10 +0000 (16:07 -0400)]
remove unused import
Joey Hess [Mon, 30 Mar 2020 20:03:44 +0000 (16:03 -0400)]
use programPath consistently, not readProgramFile
Improve git-annex's ability to find the path to its program, especially
when it needs to run itself in another repo to upgrade it.
Some parts of the code used readProgramFile, probably because I forgot that
programPath exists.
I noticed this when a git-annex auto-upgrade failed because it was running
git-annex upgrade --autoonly, but the code to run git-annex used
readProgramFile, which happened to point to an older build of git-annex.
Joey Hess [Mon, 30 Mar 2020 19:17:25 +0000 (15:17 -0400)]
fix cleanup of old rpms
Joey Hess [Mon, 30 Mar 2020 19:13:16 +0000 (15:13 -0400)]
sync with archive.org always
Joey Hess [Mon, 30 Mar 2020 17:47:14 +0000 (13:47 -0400)]
add news item for git-annex 8.
20200330
Joey Hess [Mon, 30 Mar 2020 17:46:24 +0000 (13:46 -0400)]
releasing package git-annex version 8.
20200330
Joey Hess [Mon, 30 Mar 2020 16:35:41 +0000 (12:35 -0400)]
close
yarikoptic [Mon, 30 Mar 2020 16:32:24 +0000 (16:32 +0000)]
Added a comment: Let's just close
Joey Hess [Mon, 30 Mar 2020 16:11:52 +0000 (12:11 -0400)]
remove unused imports
Joey Hess [Mon, 30 Mar 2020 16:03:38 +0000 (12:03 -0400)]
followup
Joey Hess [Mon, 30 Mar 2020 15:54:04 +0000 (11:54 -0400)]
remove pre-commit hook
This was originally added so that unannex could prevent the hook from
running while files were in a state that the hook would interpret as
old-style unlocked and so would lock.
Now that's gone, so the only thing the hook was preventing was two
pre-commit processes running simulantaneously. But such concurrency
is normal in git-annex and should not be a problem.
Does mean that .git/hooks/pre-commit-annex might run more concurrently,
that seems the only risk of it causing any problems.
Joey Hess [Mon, 30 Mar 2020 15:50:56 +0000 (11:50 -0400)]
moreinfo
Joey Hess [Mon, 30 Mar 2020 15:48:44 +0000 (11:48 -0400)]
close per comments
Ilya_Shlyakhter [Mon, 30 Mar 2020 15:24:01 +0000 (15:24 +0000)]
Added a comment: clarification re: upgrades
andrew [Sun, 29 Mar 2020 15:27:40 +0000 (15:27 +0000)]
Added a comment: spotlight and macOS
erewhon [Sat, 28 Mar 2020 17:52:28 +0000 (17:52 +0000)]
erewhon [Sat, 28 Mar 2020 16:47:27 +0000 (16:47 +0000)]
Soxofaan [Sat, 28 Mar 2020 13:36:45 +0000 (13:36 +0000)]
Fix typo remotes.log -> remote.log
Soxofaan [Sat, 28 Mar 2020 10:41:53 +0000 (10:41 +0000)]
removed duplicate "encryption=none" in initremote command
Added a comment
Ilya_Shlyakhter [Fri, 27 Mar 2020 21:12:18 +0000 (21:12 +0000)]
Added a comment
Ilya_Shlyakhter [Fri, 27 Mar 2020 21:11:14 +0000 (21:11 +0000)]
Added a comment