git-annex.git
5 years agoadd a test case that move respects numcopies
Joey Hess [Fri, 13 Nov 2020 17:49:12 +0000 (13:49 -0400)]
add a test case that move respects numcopies

There is already one for drop, but move and drop don't handle numcopies
exactly the same, and there was recently a reversion in it checking
numcopies properly at all.

This commit was sponsored by Noam Kremen on Patreon.

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 13 Nov 2020 17:34:59 +0000 (13:34 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

5 years agohush build warning on OSX
Joey Hess [Fri, 13 Nov 2020 17:34:34 +0000 (13:34 -0400)]
hush build warning on OSX

5 years agofix build on windows
Joey Hess [Fri, 13 Nov 2020 17:34:28 +0000 (13:34 -0400)]
fix build on windows

5 years agoAdded a comment
kyle [Fri, 13 Nov 2020 16:36:46 +0000 (16:36 +0000)]
Added a comment

5 years ago(no commit message)
wting [Fri, 13 Nov 2020 06:20:27 +0000 (06:20 +0000)]

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 12 Nov 2020 18:11:19 +0000 (14:11 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

5 years agoexaminekey: Added --migrate-to-backend
Joey Hess [Thu, 12 Nov 2020 18:08:13 +0000 (14:08 -0400)]
examinekey: Added --migrate-to-backend

Note that, the way the SeekInput parser is written to support batch mode,
it's actually possible to do git-annex examinekey
"SHA1--foo foo.tar.gz" --migrate-to-backend=SHA1E

While that might be kind of useful to support multiple migrations not using
batch mode, I have not documented it. It would be better to take pairs of
key and file in that case.

5 years ago(no commit message)
kyle [Thu, 12 Nov 2020 17:13:55 +0000 (17:13 +0000)]

5 years agoexaminekey: Added two new format variables: objectpath and objectpointer
Joey Hess [Thu, 12 Nov 2020 17:02:31 +0000 (13:02 -0400)]
examinekey: Added two new format variables: objectpath and objectpointer

5 years agocomment
Joey Hess [Thu, 12 Nov 2020 16:59:27 +0000 (12:59 -0400)]
comment

5 years agomove old direct mode stuff out of Annex.Locations
Joey Hess [Thu, 12 Nov 2020 16:40:35 +0000 (12:40 -0400)]
move old direct mode stuff out of Annex.Locations

5 years agocomment
Joey Hess [Thu, 12 Nov 2020 16:29:15 +0000 (12:29 -0400)]
comment

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 12 Nov 2020 15:39:47 +0000 (11:39 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

5 years agofix build on windows
Joey Hess [Thu, 12 Nov 2020 15:39:29 +0000 (11:39 -0400)]
fix build on windows

5 years agofix build on OSX
Joey Hess [Thu, 12 Nov 2020 15:36:14 +0000 (11:36 -0400)]
fix build on OSX

5 years agoadding a note pointing to tentative recipe
yarikoptic [Wed, 11 Nov 2020 20:10:33 +0000 (20:10 +0000)]
adding a note pointing to tentative recipe

5 years agotodo/question on how to get full path to the key knowing metadata but having no file
yarikoptic [Wed, 11 Nov 2020 19:29:14 +0000 (19:29 +0000)]
todo/question on how to get full path to the key knowing metadata but having no file

5 years agobump filepath-bytestring dep
Joey Hess [Wed, 11 Nov 2020 15:49:19 +0000 (11:49 -0400)]
bump filepath-bytestring dep

5 years agomixed up some of these long urls
Joey Hess [Wed, 11 Nov 2020 15:47:58 +0000 (11:47 -0400)]
mixed up some of these long urls

5 years agofix build on windows
Joey Hess [Wed, 11 Nov 2020 12:51:42 +0000 (08:51 -0400)]
fix build on windows

5 years agofix build on OSX more
Joey Hess [Wed, 11 Nov 2020 12:51:09 +0000 (08:51 -0400)]
fix build on OSX more

5 years agoupdated github builds that datalad is doing
Joey Hess [Wed, 11 Nov 2020 12:50:18 +0000 (08:50 -0400)]
updated github builds that datalad is doing

5 years agoupdate
Joey Hess [Wed, 11 Nov 2020 12:14:55 +0000 (08:14 -0400)]
update

5 years agoquestion
Joey Hess [Wed, 11 Nov 2020 11:53:42 +0000 (07:53 -0400)]
question

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 10 Nov 2020 16:15:04 +0000 (12:15 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

5 years agoadd warning on add of annex link
Joey Hess [Tue, 10 Nov 2020 16:10:51 +0000 (12:10 -0400)]
add warning on add of annex link

Warn when adding a annex symlink or pointer file that uses a key that is
not known to the repository, to prevent confusion if the user has copied it
from some other repository.

This commit was sponsored by Jake Vosloo on Patreon.

5 years agoAdded a comment
jcjgraf [Tue, 10 Nov 2020 16:05:57 +0000 (16:05 +0000)]
Added a comment

5 years agocomment
Joey Hess [Tue, 10 Nov 2020 15:53:45 +0000 (11:53 -0400)]
comment

5 years agofix build on windows
Joey Hess [Tue, 10 Nov 2020 15:21:03 +0000 (11:21 -0400)]
fix build on windows

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 10 Nov 2020 15:16:56 +0000 (11:16 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

5 years agofix build on OSX
Joey Hess [Tue, 10 Nov 2020 15:16:39 +0000 (11:16 -0400)]
fix build on OSX

5 years agobump dep on filepath-bytestring
Joey Hess [Tue, 10 Nov 2020 15:15:14 +0000 (11:15 -0400)]
bump dep on filepath-bytestring

needed for makeRelative

5 years agoAdded a comment
jcjgraf [Tue, 10 Nov 2020 10:17:12 +0000 (10:17 +0000)]
Added a comment

5 years agoadd newtypes for QuickCheck to avoid LANG=C issues
Joey Hess [Tue, 10 Nov 2020 00:07:31 +0000 (20:07 -0400)]
add newtypes for QuickCheck to avoid LANG=C issues

All properties changed to use them, except for
prop_encode_c_decode_c_roundtrip, which already filtered to ascii
for other reasons.

A few modules had to be split out, because Setup does not build-depend
on QuickCheck.

5 years agodiagnosis
Joey Hess [Mon, 9 Nov 2020 23:10:41 +0000 (19:10 -0400)]
diagnosis

5 years agofresh test failures + report that still there are FTBFS: I only wish git-annex develo...
yarikoptic [Mon, 9 Nov 2020 22:11:32 +0000 (22:11 +0000)]
fresh test failures + report that still there are FTBFS: I only wish git-annex development used some CI

5 years agoadd debug in two unusual situations
Joey Hess [Mon, 9 Nov 2020 21:50:35 +0000 (17:50 -0400)]
add debug in two unusual situations

5 years agocomment
Joey Hess [Mon, 9 Nov 2020 21:30:08 +0000 (17:30 -0400)]
comment

5 years agoAdded a comment
jcjgraf [Mon, 9 Nov 2020 20:41:00 +0000 (20:41 +0000)]
Added a comment

5 years agofollowup
Joey Hess [Mon, 9 Nov 2020 19:45:39 +0000 (15:45 -0400)]
followup

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 9 Nov 2020 19:26:31 +0000 (15:26 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

5 years agouse MatchingKey when a Key is known
Joey Hess [Mon, 9 Nov 2020 19:12:08 +0000 (15:12 -0400)]
use MatchingKey when a Key is known

This fixes a bug where a file that was not preferred content could be
transferred to a remote. This happened when the file got deleted after
the sync started running.

The only time checkMatcher is run without a Key is in calls to
checkFileMatcher, which are only done by add, addurl, import, and
smudge --clean. Those won't be affected by this kind of race. Anything
else that might be precaching and have a similar race as sync will also
be fixed, but I don't know if it actually affected anything other than
sync.

As well as fixing a bug, this also probably makes sync and --auto faster
by avoiding the redundant key lookup.

This commit was sponsored by Graham Spencer on Patreon.

5 years agoreproduced
Joey Hess [Mon, 9 Nov 2020 18:35:51 +0000 (14:35 -0400)]
reproduced

5 years agoAdded a comment
jcjgraf [Mon, 9 Nov 2020 18:13:47 +0000 (18:13 +0000)]
Added a comment

5 years agoclose
Joey Hess [Mon, 9 Nov 2020 17:50:16 +0000 (13:50 -0400)]
close

5 years agoupdate link
Joey Hess [Mon, 9 Nov 2020 17:46:17 +0000 (13:46 -0400)]
update link

5 years agocomment
Joey Hess [Mon, 9 Nov 2020 16:38:44 +0000 (12:38 -0400)]
comment

5 years agoupdate after RawFilePath transition
Joey Hess [Mon, 9 Nov 2020 16:06:53 +0000 (12:06 -0400)]
update after RawFilePath transition

5 years agoAdded a comment
jochen.keil@38b1f86ab65128dab3e62e726403ceee4f5141bf [Mon, 9 Nov 2020 13:15:41 +0000 (13:15 +0000)]
Added a comment

5 years agoMake change log entry readable on the wiki (previous copy-paste from (debian?) change...
https://christian.amsuess.com/chrysn [Sun, 8 Nov 2020 18:14:48 +0000 (18:14 +0000)]
Make change log entry readable on the wiki (previous copy-paste from (debian?) changelog garbled itemization)

5 years agoAdded a comment
Lukey [Sun, 8 Nov 2020 08:25:36 +0000 (08:25 +0000)]
Added a comment

5 years agoAdded a comment
yarikoptic [Sat, 7 Nov 2020 23:59:52 +0000 (23:59 +0000)]
Added a comment

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Sat, 7 Nov 2020 18:10:19 +0000 (14:10 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

5 years agoenable extensions needed by new version of persistent
Joey Hess [Sat, 7 Nov 2020 18:09:17 +0000 (14:09 -0400)]
enable extensions needed by new version of persistent

Needed in order to use mkPersist in
persistent version 2.11.0.1
persistent-template version 2.9.1.0

5 years agobug
Joey Hess [Sat, 7 Nov 2020 14:58:43 +0000 (10:58 -0400)]
bug

5 years agoFTBFS
yarikoptic [Sat, 7 Nov 2020 00:45:06 +0000 (00:45 +0000)]
FTBFS

5 years agoavoid providing filename with NUL to quickcheck properties
Joey Hess [Fri, 6 Nov 2020 19:13:14 +0000 (15:13 -0400)]
avoid providing filename with NUL to quickcheck properties

instance Arbitrary [Char] allows that, and it's not a legal part of a
filename so can break processing them.

Noticed when prop_view_roundtrips failed.

The instance Arbitrary AssociatedFile avoids this problem.

This commit was sponsored by Mark Reidenbach on Patreon.

5 years agofinished this stage of the RawFilePath conversion
Joey Hess [Fri, 6 Nov 2020 18:10:58 +0000 (14:10 -0400)]
finished this stage of the RawFilePath conversion

This commit was sponsored by Denis Dzyubenko on Patreon.

5 years agoAdded a comment
jcjgraf [Fri, 6 Nov 2020 14:57:52 +0000 (14:57 +0000)]
Added a comment

5 years agoAdded a comment
Lukey [Fri, 6 Nov 2020 14:14:18 +0000 (14:14 +0000)]
Added a comment

5 years agomore RawFilePath conversion
Joey Hess [Thu, 5 Nov 2020 22:45:37 +0000 (18:45 -0400)]
more RawFilePath conversion

Converted file mode setting to it, and follow-on changes.

Compiles up through 369/646.

This commit was sponsored by Ethan Aubin.

5 years ago(no commit message)
Lukey [Thu, 5 Nov 2020 18:41:25 +0000 (18:41 +0000)]

5 years agoAdded a comment
interfect@b151490178830f44348aa57b77ad58c7d18e8fe7 [Thu, 5 Nov 2020 17:55:31 +0000 (17:55 +0000)]
Added a comment

5 years agoconvert getFileSize to RawFilePath
Joey Hess [Thu, 5 Nov 2020 15:26:34 +0000 (11:26 -0400)]
convert getFileSize to RawFilePath

Lots of nice wins from this in avoiding unncessary work, and I think
nothing got slower.

This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.

5 years ago(no commit message)
jcjgraf [Thu, 5 Nov 2020 13:31:04 +0000 (13:31 +0000)]

5 years agoAdded a comment: Re: Moving S3 special remote
a@92214b2eae95307f511e06845d2cb5b5931b00a3 [Thu, 5 Nov 2020 03:44:52 +0000 (03:44 +0000)]
Added a comment: Re: Moving S3 special remote

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 4 Nov 2020 18:40:34 +0000 (14:40 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

5 years agoMerge branch 'master' into rawfilepath
Joey Hess [Wed, 4 Nov 2020 18:21:44 +0000 (14:21 -0400)]
Merge branch 'master' into rawfilepath

5 years agofinished this stage of the RawFilePath conversion
Joey Hess [Wed, 4 Nov 2020 18:20:37 +0000 (14:20 -0400)]
finished this stage of the RawFilePath conversion

Finally compiles again, and test suite passes.

This commit was sponsored by Brock Spratlen on Patreon.

5 years agomore RawFilePath conversion
Joey Hess [Tue, 3 Nov 2020 22:34:27 +0000 (18:34 -0400)]
more RawFilePath conversion

580/645

This commit was sponsored by Jack Hill on Patreon.

5 years ago(no commit message)
a@92214b2eae95307f511e06845d2cb5b5931b00a3 [Tue, 3 Nov 2020 16:38:19 +0000 (16:38 +0000)]

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 3 Nov 2020 15:53:52 +0000 (11:53 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

5 years agoadd news item for git-annex 8.20201103
Joey Hess [Tue, 3 Nov 2020 15:53:33 +0000 (11:53 -0400)]
add news item for git-annex 8.20201103

5 years agoreleasing package git-annex version 8.20201103
Joey Hess [Tue, 3 Nov 2020 15:53:11 +0000 (11:53 -0400)]
releasing package git-annex version 8.20201103

5 years agoclean build warning
Joey Hess [Tue, 3 Nov 2020 15:36:48 +0000 (11:36 -0400)]
clean build warning

5 years agomore RawFilePath conversion
Joey Hess [Tue, 3 Nov 2020 14:11:04 +0000 (10:11 -0400)]
more RawFilePath conversion

535/645

This commit was sponsored by Brett Eisenberg on Patreon.

5 years agocomment
Joey Hess [Tue, 3 Nov 2020 02:34:04 +0000 (22:34 -0400)]
comment

5 years agoAdded a comment
yarikoptic [Tue, 3 Nov 2020 02:12:17 +0000 (02:12 +0000)]
Added a comment

5 years agoinitial formal report on drop
yarikoptic [Tue, 3 Nov 2020 02:02:41 +0000 (02:02 +0000)]
initial formal report on drop

5 years agoAdded a comment
yarikoptic [Mon, 2 Nov 2020 21:04:35 +0000 (21:04 +0000)]
Added a comment

5 years agoAdded a comment
yarikoptic [Mon, 2 Nov 2020 20:37:47 +0000 (20:37 +0000)]
Added a comment

5 years agomore RawFilePath conversion
Joey Hess [Mon, 2 Nov 2020 20:31:28 +0000 (16:31 -0400)]
more RawFilePath conversion

This commit was sponsored by Luke Shumaker on Patreon.

5 years agoremove unused imports
Joey Hess [Mon, 2 Nov 2020 19:36:11 +0000 (15:36 -0400)]
remove unused imports

5 years agorename 2 bug report titles that are too long due to pasting enormous error messages...
Joey Hess [Mon, 2 Nov 2020 19:25:10 +0000 (15:25 -0400)]
rename 2 bug report titles that are too long due to pasting enormous error messages into title entry

So the repo can be cloned on windows.

5 years agoadd maxlength=50 to ikiwiki template used for page title entry
Joey Hess [Mon, 2 Nov 2020 19:21:24 +0000 (15:21 -0400)]
add maxlength=50 to ikiwiki template used for page title entry

5 years agotest case for view
Joey Hess [Mon, 2 Nov 2020 19:06:55 +0000 (15:06 -0400)]
test case for view

For reversion fixed in 9252f86b2e9a3ee218867e1ef4572766eb44418c

This commit was sponsored by Ethan Aubin

5 years agocomment
Joey Hess [Mon, 2 Nov 2020 19:01:17 +0000 (15:01 -0400)]
comment

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

5 years agoview: Fix a reversion in 8.20200522 that broke entering or changing views.
Joey Hess [Mon, 2 Nov 2020 18:47:08 +0000 (14:47 -0400)]
view: Fix a reversion in 8.20200522 that broke entering or changing views.

Commit 2dc7b5186a586acb768744242083ad48d658a538 messed up indentation.

This commit was sponsored by Noam Kremen on Patreon.

5 years agoMerge branch 'master' into rawfilepath
Joey Hess [Mon, 2 Nov 2020 18:35:46 +0000 (14:35 -0400)]
Merge branch 'master' into rawfilepath

5 years agoa plea for more --debug output
yarikoptic [Mon, 2 Nov 2020 18:04:20 +0000 (18:04 +0000)]
a plea for more --debug output

5 years agocomment
Joey Hess [Mon, 2 Nov 2020 17:50:49 +0000 (13:50 -0400)]
comment

5 years agoalready fixed
Joey Hess [Mon, 2 Nov 2020 17:25:07 +0000 (13:25 -0400)]
already fixed

5 years agonot a bug
Joey Hess [Mon, 2 Nov 2020 17:24:23 +0000 (13:24 -0400)]
not a bug

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 2 Nov 2020 17:24:02 +0000 (13:24 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

5 years agoImprove shutdown process for external special remotes and external backends
Joey Hess [Mon, 2 Nov 2020 16:35:07 +0000 (12:35 -0400)]
Improve shutdown process for external special remotes and external backends

Make sure to relay any remaining stderr from the process after it has
shut down, rather than closing stderr just before shutdown. This avoids
a situation where the process is still running and tries to write to
stderr, getting a SIGPIPE. And, it ensures that no stderr output is
lost.

This may fix a problem encountered by datalad on windows, where it hangs
during the external special remote shutdown.

Before commit a49d300545b4b7e7bd1e2719e3042d14f6e32e9c, it closed stdin
and stdout, but left stderr open, and never killed the stderr waiter
thread, which presumably exited on its own. For async exception
safety, do need to at make sure that thread gets waited on, as that
commit does, but it introduced this problem.

Note that, the process's stdout is closed before waiting on it. It's too
late for anything it writes to stdout to be processed, and since we're
not going to consume any such writes, this avoids the process getting
blocked writing to stdout due to us not reading what it's buffered. This
does mean that if the process writes to stdout too late, it will get a
SIGPIPE. (This was already the case before the above-mentioned commit.)
In practice, I think only the protocol's ERROR is allowed to be
sent at a point where this could happen.

5 years agoupdated URL of Homebrew formula for git-annex.
Ilya_Shlyakhter [Mon, 2 Nov 2020 15:56:45 +0000 (15:56 +0000)]
updated URL of Homebrew formula for git-annex.

5 years agoAdded a comment: build a CI/CD chain for git-annex
nix.zahlen@1211ac6c964ba2d68b70655f747bef1383032e77 [Sat, 31 Oct 2020 17:47:15 +0000 (17:47 +0000)]
Added a comment: build a CI/CD chain for git-annex

5 years agoAdded a comment: where and how to submit Windows autobuild related issues?
nix.zahlen@1211ac6c964ba2d68b70655f747bef1383032e77 [Sat, 31 Oct 2020 17:44:18 +0000 (17:44 +0000)]
Added a comment: where and how to submit Windows autobuild related issues?