git-annex.git
6 years ago(no commit message)
Christoph.Schmidpeter@d3e5d124c7d5459315c2a9f983ab9a70b88e1d03 [Wed, 15 Apr 2020 13:06:14 +0000 (13:06 +0000)]

6 years agoremoved
Christoph.Schmidpeter@d3e5d124c7d5459315c2a9f983ab9a70b88e1d03 [Wed, 15 Apr 2020 13:00:12 +0000 (13:00 +0000)]
removed

6 years agoAdded a comment: Problems with Assistant and Android
Christoph.Schmidpeter@d3e5d124c7d5459315c2a9f983ab9a70b88e1d03 [Wed, 15 Apr 2020 12:59:44 +0000 (12:59 +0000)]
Added a comment: Problems with Assistant and Android

6 years ago(no commit message)
Christoph.Schmidpeter@d3e5d124c7d5459315c2a9f983ab9a70b88e1d03 [Wed, 15 Apr 2020 12:59:04 +0000 (12:59 +0000)]

6 years ago(no commit message)
Christoph.Schmidpeter@d3e5d124c7d5459315c2a9f983ab9a70b88e1d03 [Wed, 15 Apr 2020 12:09:08 +0000 (12:09 +0000)]

6 years agobug: alwayscommit=false creating commits
kyle [Tue, 14 Apr 2020 22:43:34 +0000 (22:43 +0000)]
bug: alwayscommit=false creating commits

6 years agoAdded a comment
erewhon [Tue, 14 Apr 2020 21:45:35 +0000 (21:45 +0000)]
Added a comment

6 years agoremoved
erewhon [Tue, 14 Apr 2020 21:30:38 +0000 (21:30 +0000)]
removed

6 years agoAdded a comment
erewhon [Tue, 14 Apr 2020 21:20:51 +0000 (21:20 +0000)]
Added a comment

6 years agoremoved
erewhon [Tue, 14 Apr 2020 21:19:46 +0000 (21:19 +0000)]
removed

6 years agoAdded a comment
erewhon [Tue, 14 Apr 2020 21:18:23 +0000 (21:18 +0000)]
Added a comment

6 years ago--auto doc wording
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

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 13 Apr 2020 20:08:21 +0000 (16:08 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agofix runtime crash on incomplete pattern match in lambda
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.

6 years agoAdded a comment
kyle [Mon, 13 Apr 2020 18:58:50 +0000 (18:58 +0000)]
Added a comment

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 13 Apr 2020 18:32:46 +0000 (14:32 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agocomment
Joey Hess [Mon, 13 Apr 2020 18:07:23 +0000 (14:07 -0400)]
comment

6 years agoWhen parsing git configs, support all the documented ways to write true and false...
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.

6 years agosupport boolean git configs that are represented by the name of the setting with...
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.

6 years agoFix a potential failure to parse git config
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.

6 years agoimprove documentation
Joey Hess [Mon, 13 Apr 2020 16:33:35 +0000 (12:33 -0400)]
improve documentation

6 years ago(no commit message)
bjornw@6a7d7d0413efc7ed3bb44922586f040bb768b71c [Mon, 13 Apr 2020 16:30:33 +0000 (16:30 +0000)]

6 years agoBest way to restore objects with correct names w/o git log present?
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?

6 years agobad edit
4omecha@fff0ca6fa5307d92706e5ee6812d8db8f8067df0 [Mon, 13 Apr 2020 09:16:39 +0000 (09:16 +0000)]
bad edit

This reverts commit ce664ebc7b27c75928c610f701e21b48db7cb338

6 years agoBest way to restore objects with correct names w/o git log present?
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?

6 years agoAdded a comment
Ilya_Shlyakhter [Mon, 13 Apr 2020 00:53:59 +0000 (00:53 +0000)]
Added a comment

6 years ago(no commit message)
erewhon [Sun, 12 Apr 2020 19:28:38 +0000 (19:28 +0000)]

6 years ago(no commit message)
erewhon [Sun, 12 Apr 2020 19:10:35 +0000 (19:10 +0000)]

6 years agofix reversion caused by earlier optimisation to git-annex branch reads
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.

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 10 Apr 2020 18:46:59 +0000 (14:46 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agooptimise catfile interface with ByteString and Attoparsec
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.

6 years agocache annex index filename for 1.5% speedup to queries
Joey Hess [Fri, 10 Apr 2020 17:37:04 +0000 (13:37 -0400)]
cache annex index filename for 1.5% speedup to queries

6 years agorename bugs/fsck_lies_about_checksum__63__.mdwn to bugs/fsck_tells___39__ok__39___als...
christoph@62dc589e980f444024ff1a9808022914e056f386 [Fri, 10 Apr 2020 12:06:52 +0000 (12:06 +0000)]
rename bugs/fsck_lies_about_checksum__63__.mdwn to bugs/fsck_tells___39__ok__39___also_if_no_file_present.mdwn

6 years ago(no commit message)
christoph@62dc589e980f444024ff1a9808022914e056f386 [Fri, 10 Apr 2020 12:04:29 +0000 (12:04 +0000)]

6 years ago(no commit message)
christoph@62dc589e980f444024ff1a9808022914e056f386 [Fri, 10 Apr 2020 12:02:35 +0000 (12:02 +0000)]

6 years agonew optimisation target
Joey Hess [Thu, 9 Apr 2020 18:09:41 +0000 (14:09 -0400)]
new optimisation target

6 years agoSped up query commands that read the git-annex branch by around 5%
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.

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 8 Apr 2020 18:12:20 +0000 (14:12 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agochangelog for ByteString Ref
Joey Hess [Wed, 8 Apr 2020 18:10:29 +0000 (14:10 -0400)]
changelog for ByteString Ref

6 years agoMerge branch 'bytestring-ref'
Joey Hess [Wed, 8 Apr 2020 18:10:24 +0000 (14:10 -0400)]
Merge branch 'bytestring-ref'

6 years agoremove unused import
Joey Hess [Wed, 8 Apr 2020 18:04:58 +0000 (14:04 -0400)]
remove unused import

6 years ago(no commit message)
Chymera [Wed, 8 Apr 2020 05:18:15 +0000 (05:18 +0000)]

6 years agoAdded a comment
yarikoptic [Wed, 8 Apr 2020 01:08:10 +0000 (01:08 +0000)]
Added a comment

6 years agoRef ByteString conversion done
Joey Hess [Tue, 7 Apr 2020 21:41:09 +0000 (17:41 -0400)]
Ref ByteString conversion done

Test suite passes.

6 years agocomment
Joey Hess [Tue, 7 Apr 2020 18:49:08 +0000 (14:49 -0400)]
comment

6 years agoAdded a comment
yarikoptic [Tue, 7 Apr 2020 18:25:46 +0000 (18:25 +0000)]
Added a comment

6 years agocomment
Joey Hess [Tue, 7 Apr 2020 17:46:10 +0000 (13:46 -0400)]
comment

6 years agoByteString Ref continued
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.

6 years agoByteString Ref continued
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.

6 years agoAdded a comment
kyle [Tue, 7 Apr 2020 15:30:55 +0000 (15:30 +0000)]
Added a comment

6 years agoinitial remote
yarikoptic [Mon, 6 Apr 2020 21:35:32 +0000 (21:35 +0000)]
initial remote

6 years agostarted converting Ref from String to ByteString
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.

6 years agobug: wanted=anything and deleted files
kyle [Mon, 6 Apr 2020 16:51:44 +0000 (16:51 +0000)]
bug: wanted=anything and deleted files

6 years agoupdate
Joey Hess [Sun, 5 Apr 2020 22:35:34 +0000 (18:35 -0400)]
update

6 years agoAdded a comment
javkalas@30f67400375ff022347b37236b63786ecf79cd82 [Fri, 3 Apr 2020 19:09:52 +0000 (19:09 +0000)]
Added a comment

6 years agoadb: Better messages when the adb command is not installed
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.

6 years agorespond to confused user and close non-bug
Joey Hess [Thu, 2 Apr 2020 00:40:43 +0000 (20:40 -0400)]
respond to confused user and close non-bug

6 years ago(no commit message)
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283 [Thu, 2 Apr 2020 00:36:08 +0000 (00:36 +0000)]

6 years ago(no commit message)
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283 [Thu, 2 Apr 2020 00:33:24 +0000 (00:33 +0000)]

6 years ago(no commit message)
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283 [Thu, 2 Apr 2020 00:31:01 +0000 (00:31 +0000)]

6 years ago(no commit message)
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283 [Thu, 2 Apr 2020 00:30:13 +0000 (00:30 +0000)]

6 years ago(no commit message)
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283 [Thu, 2 Apr 2020 00:22:34 +0000 (00:22 +0000)]

6 years agoremoved
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283 [Thu, 2 Apr 2020 00:06:54 +0000 (00:06 +0000)]
removed

6 years agoremoved
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283 [Thu, 2 Apr 2020 00:06:22 +0000 (00:06 +0000)]
removed

6 years agoAdded a comment
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283 [Wed, 1 Apr 2020 23:37:55 +0000 (23:37 +0000)]
Added a comment

6 years agoremove old dead link
Joey Hess [Wed, 1 Apr 2020 19:44:15 +0000 (15:44 -0400)]
remove old dead link

6 years agoreorg more
Joey Hess [Wed, 1 Apr 2020 19:42:59 +0000 (15:42 -0400)]
reorg more

6 years agomove to right place and remove debian and hackage matrix embeds which have stopped...
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

6 years agoadded the datalad standalone build CI status badge
Joey Hess [Wed, 1 Apr 2020 19:38:40 +0000 (15:38 -0400)]
added the datalad standalone build CI status badge

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 1 Apr 2020 14:28:03 +0000 (10:28 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years ago(no commit message)
xloem [Tue, 31 Mar 2020 23:40:12 +0000 (23:40 +0000)]

6 years ago(no commit message)
thk [Tue, 31 Mar 2020 06:43:39 +0000 (06:43 +0000)]

6 years agoAdded a comment: Also problem with USB drives
thk [Tue, 31 Mar 2020 06:36:14 +0000 (06:36 +0000)]
Added a comment: Also problem with USB drives

6 years agoAdded a comment
yarikoptic [Tue, 31 Mar 2020 01:22:54 +0000 (01:22 +0000)]
Added a comment

6 years agoAdded a comment: automatic repository upgrades
https://openid.jorsn.eu/ [Mon, 30 Mar 2020 23:24:51 +0000 (23:24 +0000)]
Added a comment: automatic repository upgrades

6 years agoremoved error
https://openid.jorsn.eu/ [Mon, 30 Mar 2020 22:41:59 +0000 (22:41 +0000)]
removed error

6 years ago(no commit message)
https://openid.jorsn.eu/ [Mon, 30 Mar 2020 22:41:17 +0000 (22:41 +0000)]

6 years agoAdded a comment
vinicius.vin@6d4d58c59c394cd744d469c9d7c41e264331dfcd [Mon, 30 Mar 2020 21:02:52 +0000 (21:02 +0000)]
Added a comment

6 years agoremove unused import
Joey Hess [Mon, 30 Mar 2020 20:07:10 +0000 (16:07 -0400)]
remove unused import

6 years agouse programPath consistently, not readProgramFile
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.

6 years agofix cleanup of old rpms
Joey Hess [Mon, 30 Mar 2020 19:17:25 +0000 (15:17 -0400)]
fix cleanup of old rpms

6 years agosync with archive.org always
Joey Hess [Mon, 30 Mar 2020 19:13:16 +0000 (15:13 -0400)]
sync with archive.org always

6 years agoadd news item for git-annex 8.20200330
Joey Hess [Mon, 30 Mar 2020 17:47:14 +0000 (13:47 -0400)]
add news item for git-annex 8.20200330

6 years agoreleasing package git-annex version 8.20200330
Joey Hess [Mon, 30 Mar 2020 17:46:24 +0000 (13:46 -0400)]
releasing package git-annex version 8.20200330

6 years agoclose
Joey Hess [Mon, 30 Mar 2020 16:35:41 +0000 (12:35 -0400)]
close

6 years agoAdded a comment: Let's just close
yarikoptic [Mon, 30 Mar 2020 16:32:24 +0000 (16:32 +0000)]
Added a comment: Let's just close

6 years agoremove unused imports
Joey Hess [Mon, 30 Mar 2020 16:11:52 +0000 (12:11 -0400)]
remove unused imports

6 years agofollowup
Joey Hess [Mon, 30 Mar 2020 16:03:38 +0000 (12:03 -0400)]
followup

6 years agoremove pre-commit hook
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.

6 years agomoreinfo
Joey Hess [Mon, 30 Mar 2020 15:50:56 +0000 (11:50 -0400)]
moreinfo

6 years agoclose per comments
Joey Hess [Mon, 30 Mar 2020 15:48:44 +0000 (11:48 -0400)]
close per comments

6 years agoAdded a comment: clarification re: upgrades
Ilya_Shlyakhter [Mon, 30 Mar 2020 15:24:01 +0000 (15:24 +0000)]
Added a comment: clarification re: upgrades

6 years agoAdded a comment: spotlight and macOS
andrew [Sun, 29 Mar 2020 15:27:40 +0000 (15:27 +0000)]
Added a comment: spotlight and macOS

6 years ago(no commit message)
erewhon [Sat, 28 Mar 2020 17:52:28 +0000 (17:52 +0000)]

6 years ago(no commit message)
erewhon [Sat, 28 Mar 2020 16:47:27 +0000 (16:47 +0000)]

6 years agoFix typo remotes.log -> remote.log
Soxofaan [Sat, 28 Mar 2020 13:36:45 +0000 (13:36 +0000)]
Fix typo remotes.log -> remote.log

6 years agoremoved duplicate "encryption=none" in initremote command
Soxofaan [Sat, 28 Mar 2020 10:41:53 +0000 (10:41 +0000)]
removed duplicate "encryption=none" in initremote command

6 years agoAdded a comment
vinicius.vin@6d4d58c59c394cd744d469c9d7c41e264331dfcd [Fri, 27 Mar 2020 23:04:34 +0000 (23:04 +0000)]
Added a comment

6 years agoAdded a comment
Ilya_Shlyakhter [Fri, 27 Mar 2020 21:12:18 +0000 (21:12 +0000)]
Added a comment

6 years agoAdded a comment
Ilya_Shlyakhter [Fri, 27 Mar 2020 21:11:14 +0000 (21:11 +0000)]
Added a comment