git-annex.git
6 years agotypes for async protocol extension
Joey Hess [Wed, 12 Aug 2020 16:04:12 +0000 (12:04 -0400)]
types for async protocol extension

renamed AsyncMessage to ExceptionalMessage to make way for this new
extension.

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 11 Aug 2020 20:42:37 +0000 (16:42 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agodraft async extension
Joey Hess [Tue, 11 Aug 2020 20:42:09 +0000 (16:42 -0400)]
draft async extension

6 years ago(no commit message)
cardoso-neto [Tue, 11 Aug 2020 20:23:25 +0000 (20:23 +0000)]

6 years agoAdded a comment: strange conda install behavior
Ilya_Shlyakhter [Tue, 11 Aug 2020 20:19:49 +0000 (20:19 +0000)]
Added a comment: strange conda install behavior

6 years agoAdded a comment
cardoso-neto [Tue, 11 Aug 2020 19:57:06 +0000 (19:57 +0000)]
Added a comment

6 years agoclose
Joey Hess [Tue, 11 Aug 2020 18:01:22 +0000 (14:01 -0400)]
close

6 years agoadded note on installing the standalone git-annex distribution with conda
Ilya_Shlyakhter [Tue, 11 Aug 2020 16:03:40 +0000 (16:03 +0000)]
added note on installing the standalone git-annex distribution with conda

6 years agoAdded a comment: checking the conda-forge recipe
Ilya_Shlyakhter [Tue, 11 Aug 2020 15:51:28 +0000 (15:51 +0000)]
Added a comment: checking the conda-forge recipe

6 years agoAdded a comment: Great tip about conda.
cardoso-neto [Tue, 11 Aug 2020 13:23:00 +0000 (13:23 +0000)]
Added a comment: Great tip about conda.

6 years agoAdded a comment: please keep the hackage tarballs
Ilya_Shlyakhter [Tue, 11 Aug 2020 00:43:51 +0000 (00:43 +0000)]
Added a comment: please keep the hackage tarballs

6 years agoadd news item for git-annex 8.20200810
Joey Hess [Mon, 10 Aug 2020 23:22:55 +0000 (19:22 -0400)]
add news item for git-annex 8.20200810

6 years agocomment
Joey Hess [Mon, 10 Aug 2020 22:46:44 +0000 (18:46 -0400)]
comment

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 10 Aug 2020 22:42:00 +0000 (18:42 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agofix osxapp build issue
Joey Hess [Mon, 10 Aug 2020 22:41:02 +0000 (18:41 -0400)]
fix osxapp build issue

need to build git-annex 1st, otherwise otool can't run

6 years agoAdded a comment
Ilya_Shlyakhter [Mon, 10 Aug 2020 21:52:32 +0000 (21:52 +0000)]
Added a comment

6 years agoAdded a comment
kyle [Mon, 10 Aug 2020 21:34:46 +0000 (21:34 +0000)]
Added a comment

6 years agoAdded a comment: full source tarballs for specific releases?
Ilya_Shlyakhter [Mon, 10 Aug 2020 21:14:05 +0000 (21:14 +0000)]
Added a comment: full source tarballs for specific releases?

6 years agofix build failure on i386-ancient
Joey Hess [Mon, 10 Aug 2020 20:49:09 +0000 (16:49 -0400)]
fix build failure on i386-ancient

Standalone: tmp/git-annex.linux/usr/lib/i386-linux-gnu/i686: renameFile: inappropriate type (is a directory)

6 years agoimprove slightly
Joey Hess [Mon, 10 Aug 2020 20:33:58 +0000 (16:33 -0400)]
improve slightly

This probably avoids the situation that caused the exception to be
thrown. It also makes sure that both threads end up canceled in the end,
while before the exception from wait outt could have caused errt to
never be waited on.

6 years agodiscard any exception thrown while trying to kill worker threads
Joey Hess [Mon, 10 Aug 2020 20:18:47 +0000 (16:18 -0400)]
discard any exception thrown while trying to kill worker threads

Since there's a race here, and since Kyle saw an exception leak out,
which I have not been able to reproduce that. See my comment for what
I think might be going on.

Note that, I used tryNonAsync, because it seems a later tryNonAsync
caught the exception. I don't actually understand how it did, as I
understand exception classification, it's the data type, not the way it
was thrown. One possibility is that the async exception may have been wrapped
in some other, non-async exception, and Show displayed it the same way.

6 years agoreorder
Joey Hess [Mon, 10 Aug 2020 20:18:35 +0000 (16:18 -0400)]
reorder

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 10 Aug 2020 20:03:59 +0000 (16:03 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agocomment
Joey Hess [Mon, 10 Aug 2020 20:03:46 +0000 (16:03 -0400)]
comment

6 years agoAdded a comment
kyle [Mon, 10 Aug 2020 19:48:03 +0000 (19:48 +0000)]
Added a comment

6 years agofix order
Joey Hess [Mon, 10 Aug 2020 19:38:31 +0000 (15:38 -0400)]
fix order

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 10 Aug 2020 19:37:54 +0000 (15:37 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agocomment
Joey Hess [Mon, 10 Aug 2020 19:37:25 +0000 (15:37 -0400)]
comment

6 years agodocument preferred content for import/export
Joey Hess [Mon, 10 Aug 2020 19:35:26 +0000 (15:35 -0400)]
document preferred content for import/export

6 years agodocument how to build standalone tarball
Joey Hess [Mon, 10 Aug 2020 19:17:04 +0000 (15:17 -0400)]
document how to build standalone tarball

6 years agocomment
Joey Hess [Mon, 10 Aug 2020 19:01:36 +0000 (15:01 -0400)]
comment

6 years agoAdded a comment
kyle [Mon, 10 Aug 2020 19:01:37 +0000 (19:01 +0000)]
Added a comment

6 years agoadd missing command name
Joey Hess [Mon, 10 Aug 2020 19:00:58 +0000 (15:00 -0400)]
add missing command name

6 years agoAdded a comment
kyle [Mon, 10 Aug 2020 18:56:03 +0000 (18:56 +0000)]
Added a comment

6 years agocomment
Joey Hess [Mon, 10 Aug 2020 18:42:38 +0000 (14:42 -0400)]
comment

6 years agoAdded a comment
arnaud@c1d1cc612a3921dc06a417301be08a3e125478c4 [Mon, 10 Aug 2020 18:42:15 +0000 (18:42 +0000)]
Added a comment

6 years agoresponse
Joey Hess [Mon, 10 Aug 2020 18:35:20 +0000 (14:35 -0400)]
response

6 years agocouple more exports needed
Joey Hess [Mon, 10 Aug 2020 18:16:07 +0000 (14:16 -0400)]
couple more exports needed

6 years agocomment
Joey Hess [Mon, 10 Aug 2020 18:14:15 +0000 (14:14 -0400)]
comment

6 years agotag moreinfo
Joey Hess [Mon, 10 Aug 2020 18:12:07 +0000 (14:12 -0400)]
tag moreinfo

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 10 Aug 2020 18:09:24 +0000 (14:09 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agocomment
Joey Hess [Mon, 10 Aug 2020 18:08:09 +0000 (14:08 -0400)]
comment

6 years agocomment
Joey Hess [Mon, 10 Aug 2020 17:52:18 +0000 (13:52 -0400)]
comment

6 years agoone more export needed
Joey Hess [Mon, 10 Aug 2020 17:29:17 +0000 (13:29 -0400)]
one more export needed

6 years agoAdded a comment
arnaud@c1d1cc612a3921dc06a417301be08a3e125478c4 [Mon, 10 Aug 2020 17:25:11 +0000 (17:25 +0000)]
Added a comment

6 years agocomment
Joey Hess [Mon, 10 Aug 2020 17:24:31 +0000 (13:24 -0400)]
comment

6 years agofix build with old versions of process
Joey Hess [Mon, 10 Aug 2020 17:21:40 +0000 (13:21 -0400)]
fix build with old versions of process

6 years agofixed
Joey Hess [Mon, 10 Aug 2020 17:12:42 +0000 (13:12 -0400)]
fixed

6 years agocomment
Joey Hess [Mon, 10 Aug 2020 16:57:05 +0000 (12:57 -0400)]
comment

6 years agocomment
Joey Hess [Mon, 10 Aug 2020 16:51:17 +0000 (12:51 -0400)]
comment

6 years agoimprove docs and close bug
Joey Hess [Mon, 10 Aug 2020 16:37:25 +0000 (12:37 -0400)]
improve docs and close bug

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 10 Aug 2020 16:21:45 +0000 (12:21 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agomake /usr/lib consolidation more robust
Joey Hess [Mon, 10 Aug 2020 16:20:32 +0000 (12:20 -0400)]
make /usr/lib consolidation more robust

Directory enumeration could happen in either order, and also there could
be some other directories so the two to combine are not adjacent.

6 years ago(no commit message)
arnaud@c1d1cc612a3921dc06a417301be08a3e125478c4 [Mon, 10 Aug 2020 14:46:20 +0000 (14:46 +0000)]

6 years agoAdded a comment: This occurs on 9P filesystem too
hdclark@be373988ada6dc692f87a8eefdd600432e54f7d4 [Fri, 7 Aug 2020 20:41:10 +0000 (20:41 +0000)]
Added a comment: This occurs on 9P filesystem too

6 years agosquelch build warnings on osx
Joey Hess [Fri, 7 Aug 2020 17:49:56 +0000 (13:49 -0400)]
squelch build warnings on osx

6 years agoosx build fix
Joey Hess [Fri, 7 Aug 2020 17:30:11 +0000 (13:30 -0400)]
osx build fix

6 years agoosx build fix
Joey Hess [Fri, 7 Aug 2020 17:15:36 +0000 (13:15 -0400)]
osx build fix

6 years agoosx build fix
Joey Hess [Fri, 7 Aug 2020 16:59:47 +0000 (12:59 -0400)]
osx build fix

6 years agoosx build fix
Joey Hess [Fri, 7 Aug 2020 16:39:59 +0000 (12:39 -0400)]
osx build fix

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 7 Aug 2020 16:14:50 +0000 (12:14 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agofix osx build
Joey Hess [Fri, 7 Aug 2020 16:14:02 +0000 (12:14 -0400)]
fix osx build

6 years agoAdded a comment: omg
cardoso-neto [Fri, 7 Aug 2020 02:41:12 +0000 (02:41 +0000)]
Added a comment: omg

6 years agoAdded a comment: Understood.
cardoso-neto [Fri, 7 Aug 2020 02:24:47 +0000 (02:24 +0000)]
Added a comment: Understood.

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 7 Aug 2020 00:14:58 +0000 (20:14 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agostop symlink check once the top of the working tree is reached
Joey Hess [Fri, 7 Aug 2020 00:14:30 +0000 (20:14 -0400)]
stop symlink check once the top of the working tree is reached

Avoid complaining that a file with "is beyond a symbolic link" when the
filepath is absolute and the symlink in question is not actually inside the
git repository.

This assumes that inodes remain stable while the command is running.
I think they always will, the filesystems where they are unstable change
them across mounts. (If inodes were not stable, it would just complain about
symlinks in the path that are not inside the working tree.)

(On windows, I don't want to assume anything about inodes, they could be
random numbers for all I know. But if they were, this would still be ok, as
long as windows doesn't have symlinks that are detected by isSymbolicLink.
Which seems a fair bet.)

6 years agoAdded a comment
kyle [Thu, 6 Aug 2020 20:58:21 +0000 (20:58 +0000)]
Added a comment

6 years agocomment
Joey Hess [Thu, 6 Aug 2020 18:38:06 +0000 (14:38 -0400)]
comment

6 years agocomment
Joey Hess [Thu, 6 Aug 2020 17:59:22 +0000 (13:59 -0400)]
comment

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 6 Aug 2020 17:52:19 +0000 (13:52 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agowhen workTreeItems finds a problem with a parameter, don't go on to process it
Joey Hess [Thu, 6 Aug 2020 17:47:45 +0000 (13:47 -0400)]
when workTreeItems finds a problem with a parameter, don't go on to process it

Part of workTreeItems is trying detect a case
where git porcelain refuses to process a file, and where
git ls-files silently outputs nothing. But, it's hard to perfectly
replicate git's behavior, and besides, git's behavior could change.
So it could be that we warn, but then git ls-files does not skip over
it, and so git-annex also processes it after warning about it.

So, if we think we have a problem with a parameter, display the warning,
and skip processing it at all.

Implementing this was complicated by needing to handle the case where
all command-line parameters get filtered out this way. Which is
different than the case where there are none, because we don't want to
operate on all files in this new case..

6 years agocomment and moreinfo
Joey Hess [Thu, 6 Aug 2020 15:30:44 +0000 (11:30 -0400)]
comment and moreinfo

6 years agoforgot to close this earlier
Joey Hess [Thu, 6 Aug 2020 15:22:42 +0000 (11:22 -0400)]
forgot to close this earlier

6 years agoAdded a comment: Fixing URLs.
cardoso-neto [Thu, 6 Aug 2020 03:15:00 +0000 (03:15 +0000)]
Added a comment: Fixing URLs.

6 years agoAdded a comment: Correction.
cardoso-neto [Thu, 6 Aug 2020 03:09:16 +0000 (03:09 +0000)]
Added a comment: Correction.

6 years agoCreate bug report thread on ungraceful exit after cwd being moved/baleeted
cardoso-neto [Thu, 6 Aug 2020 02:55:32 +0000 (02:55 +0000)]
Create bug report thread on ungraceful exit after cwd being moved/baleeted

6 years agoAdded a comment: Improperly documented code.
cardoso-neto [Thu, 6 Aug 2020 02:52:51 +0000 (02:52 +0000)]
Added a comment: Improperly documented code.

6 years agoupdate
Joey Hess [Wed, 5 Aug 2020 21:47:55 +0000 (17:47 -0400)]
update

6 years agomake symlinks not hardlinks
Joey Hess [Wed, 5 Aug 2020 15:58:22 +0000 (11:58 -0400)]
make symlinks not hardlinks

hardlinks happened to work because it was a hard link to a symlink, but
it would have failed if eg git-annex-shell symlink did not exist,
perhaps because the Makefile was not run to build it. Or something like
that. Also, it seems like it worked by accident and the Makefile used to
ln -s.

6 years agoupdate
Joey Hess [Wed, 5 Aug 2020 15:49:21 +0000 (11:49 -0400)]
update

6 years agocreate missing directory
Joey Hess [Wed, 5 Aug 2020 15:37:03 +0000 (11:37 -0400)]
create missing directory

6 years agoimportfeed: Fix reversion that caused some '.' in filenames to be replaced with '_'
Joey Hess [Wed, 5 Aug 2020 15:35:00 +0000 (11:35 -0400)]
importfeed: Fix reversion that caused some '.' in filenames to be replaced with '_'

sanitizeFilePath was changed to sanitize leading '.', but ImportFeed was
running it on parts of the template. So eg the leading '.' in the extension
got sanitized.

Note the added case for sanitizeLeadingFilePathCharacter ('/':_)
-- this was added because, if the template is title/episode and the title
is not set, it would expand to "/episode". So this is another potential
security fix.

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 5 Aug 2020 14:39:55 +0000 (10:39 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agofurther change to support dlist-1.0
Joey Hess [Wed, 5 Aug 2020 14:37:14 +0000 (10:37 -0400)]
further change to support dlist-1.0

Its tail no longer yields a DList.

6 years agoReporting importfeed filename bug
madalu [Tue, 4 Aug 2020 17:19:06 +0000 (17:19 +0000)]
Reporting importfeed filename bug

6 years agoAdded a comment
Lukey [Tue, 4 Aug 2020 14:10:33 +0000 (14:10 +0000)]
Added a comment

6 years agofix build in clean tree
Joey Hess [Mon, 3 Aug 2020 23:43:21 +0000 (19:43 -0400)]
fix build in clean tree

removeDirectoryRecursive fails if the directory DNE.

6 years agorunshell LD_HWCAP_MASK=0 optimisation
Joey Hess [Mon, 3 Aug 2020 18:34:15 +0000 (14:34 -0400)]
runshell LD_HWCAP_MASK=0 optimisation

6 years agomove standalone building code out of Makefile and into Build.Standalone
Joey Hess [Mon, 3 Aug 2020 17:43:21 +0000 (13:43 -0400)]
move standalone building code out of Makefile and into Build.Standalone

This includes making Build.Standalone run LinuxMkLibs or OSXMkLibs
rather than doing that separately. Which is groundwork for a later
optimisation.

Also it simplified the code some.

6 years agoAdded a comment
git-annex.branchable.com@79d6855760f61f7fbe0a401b45d8c791ef49b500 [Sun, 2 Aug 2020 23:41:33 +0000 (23:41 +0000)]
Added a comment

6 years agoAdded a comment
yarikoptic [Sun, 2 Aug 2020 01:31:53 +0000 (01:31 +0000)]
Added a comment

6 years agoAdded a comment
yarikoptic [Fri, 31 Jul 2020 21:48:21 +0000 (21:48 +0000)]
Added a comment

6 years agoAdded a comment
yarikoptic [Fri, 31 Jul 2020 21:37:48 +0000 (21:37 +0000)]
Added a comment

6 years agoAdded a comment
kyle [Fri, 31 Jul 2020 21:30:34 +0000 (21:30 +0000)]
Added a comment

6 years agoAdded a comment
yarikoptic [Fri, 31 Jul 2020 21:23:57 +0000 (21:23 +0000)]
Added a comment

6 years agoAdded a comment
kyle [Fri, 31 Jul 2020 21:20:10 +0000 (21:20 +0000)]
Added a comment

6 years agocomment
Joey Hess [Fri, 31 Jul 2020 20:47:23 +0000 (16:47 -0400)]
comment

6 years agofix bug caught by test suite
Joey Hess [Fri, 31 Jul 2020 20:11:50 +0000 (16:11 -0400)]
fix bug caught by test suite

6 years agocomment
Joey Hess [Fri, 31 Jul 2020 20:11:10 +0000 (16:11 -0400)]
comment

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 31 Jul 2020 18:58:02 +0000 (14:58 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com