git-annex.git
4 years agoAdded a comment
weinzwang [Fri, 17 Sep 2021 18:57:41 +0000 (18:57 +0000)]
Added a comment

4 years agoAdded a comment
Lukey [Fri, 17 Sep 2021 15:24:48 +0000 (15:24 +0000)]
Added a comment

4 years ago(no commit message)
davi.castro@13c06889d1a1aef6321227888bd7d6b73d5692ea [Thu, 16 Sep 2021 21:45:17 +0000 (21:45 +0000)]

4 years agoAdded a comment
weinzwang [Thu, 16 Sep 2021 20:56:30 +0000 (20:56 +0000)]
Added a comment

4 years agoAdded a comment
Lukey [Thu, 16 Sep 2021 15:00:49 +0000 (15:00 +0000)]
Added a comment

4 years ago(no commit message)
weinzwang [Wed, 15 Sep 2021 15:29:59 +0000 (15:29 +0000)]

4 years agoAdded a comment
mike@2d6d71f56ce2a992244350475251df87c26fe351 [Fri, 10 Sep 2021 14:41:17 +0000 (14:41 +0000)]
Added a comment

4 years agoAdded a comment
mike@2d6d71f56ce2a992244350475251df87c26fe351 [Fri, 10 Sep 2021 14:28:23 +0000 (14:28 +0000)]
Added a comment

4 years ago(no commit message)
mike@2d6d71f56ce2a992244350475251df87c26fe351 [Fri, 10 Sep 2021 13:57:53 +0000 (13:57 +0000)]

4 years ago(no commit message)
mike@2d6d71f56ce2a992244350475251df87c26fe351 [Fri, 10 Sep 2021 13:56:58 +0000 (13:56 +0000)]

4 years agoresponse and close
Joey Hess [Wed, 8 Sep 2021 16:12:11 +0000 (12:12 -0400)]
response and close

4 years agoMerge remote-tracking branch 'origin/master'
Joey Hess [Wed, 8 Sep 2021 15:56:27 +0000 (11:56 -0400)]
Merge remote-tracking branch 'origin/master'

4 years agofix build with ghc 9.0.1
Joey Hess [Tue, 7 Sep 2021 20:53:07 +0000 (16:53 -0400)]
fix build with ghc 9.0.1

I was not able to test the whole build because of a very strange
Prelude.chr: bad argument: 469762054
Which I assume is a problem with this version of ghc or the way I was
using stack.

The stack.yaml that builds it used this patch

diff --git a/stack.yaml b/stack.yaml
index 790bffff2..8bcbaa0ec 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -1,6 +1,6 @@
 flags:
   git-annex:
-    production: true
+    production: false
     assistant: true
     pairing: true
     torrentparser: true
@@ -18,13 +18,15 @@ extra-deps:
 - IfElse-0.85
 - aws-0.22
 - bloomfilter-2.0.1.0
-- filepath-bytestring-1.4.2.1.6
-- git-lfs-1.1.0
-- http-client-restricted-0.0.3
+- filepath-bytestring-1.4.2.1.8
+- git-lfs-1.1.1
+- http-client-restricted-0.0.4
 - network-multicast-0.3.2
 - sandi-0.5
 - torrent-10000.1.1
 - bencode-0.6.1.1
+- base16-bytestring-0.1.1.7
+- base64-bytestring-1.0.0.3
 explicit-setup-deps:
   git-annex: true
-resolver: lts-16.27
+resolver: nightly-2021-09-07

4 years agosome weird corner case that might be handled a little better?
anarcat [Tue, 7 Sep 2021 14:25:38 +0000 (14:25 +0000)]
some weird corner case that might be handled a little better?

4 years agocomment
Joey Hess [Mon, 6 Sep 2021 19:52:10 +0000 (15:52 -0400)]
comment

4 years agoretitle
Joey Hess [Mon, 6 Sep 2021 19:32:53 +0000 (15:32 -0400)]
retitle

4 years agofollowup
Joey Hess [Mon, 6 Sep 2021 19:32:15 +0000 (15:32 -0400)]
followup

4 years agoclose
Joey Hess [Mon, 6 Sep 2021 18:27:15 +0000 (14:27 -0400)]
close

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Sun, 5 Sep 2021 16:35:39 +0000 (12:35 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agoupdate
Joey Hess [Sun, 5 Sep 2021 16:27:24 +0000 (12:27 -0400)]
update

4 years ago(no commit message)
hoxu [Sat, 4 Sep 2021 10:32:00 +0000 (10:32 +0000)]

4 years agoAdded a comment
strmd [Fri, 3 Sep 2021 18:22:30 +0000 (18:22 +0000)]
Added a comment

4 years agotest borg special remote
Joey Hess [Fri, 3 Sep 2021 16:40:23 +0000 (12:40 -0400)]
test borg special remote

Sponsored-by: Boyd Stephen Smith Jr. on Patreon
4 years agofix build
Joey Hess [Fri, 3 Sep 2021 16:36:42 +0000 (12:36 -0400)]
fix build

4 years agoborg: Avoid trying to extract xattrs, ACLS, and bsdflags
Joey Hess [Fri, 3 Sep 2021 16:10:14 +0000 (12:10 -0400)]
borg: Avoid trying to extract xattrs, ACLS, and bsdflags

when retrieving from a borg repository

That broke restoring on linux from a borg backup made on OSX.

Sponsored-by: Boyd Stephen Smith Jr. on Patreon
4 years agoadd news item for git-annex 8.20210903
Joey Hess [Fri, 3 Sep 2021 16:01:35 +0000 (12:01 -0400)]
add news item for git-annex 8.20210903

4 years agoreleasing package git-annex version 8.20210903
Joey Hess [Fri, 3 Sep 2021 16:01:12 +0000 (12:01 -0400)]
releasing package git-annex version 8.20210903

4 years agoRevert spam
Joey Hess [Fri, 3 Sep 2021 15:56:11 +0000 (11:56 -0400)]
Revert spam

This reverts commit e2038ef412bf6ddfe8ccb73bf2bc1af02480a7c5.

4 years agoclose
Joey Hess [Fri, 3 Sep 2021 15:54:45 +0000 (11:54 -0400)]
close

4 years agocomment
Joey Hess [Fri, 3 Sep 2021 15:52:35 +0000 (11:52 -0400)]
comment

4 years agocomment
Joey Hess [Fri, 3 Sep 2021 15:41:38 +0000 (11:41 -0400)]
comment

4 years agoAdded a comment: Automatically adding metadata can be very slow
aurelf [Fri, 3 Sep 2021 12:46:07 +0000 (12:46 +0000)]
Added a comment: Automatically adding metadata can be very slow

4 years agoclose dup
Joey Hess [Thu, 2 Sep 2021 22:50:05 +0000 (18:50 -0400)]
close dup

4 years agodefer write permissions checking in import until after copy to repo
Joey Hess [Thu, 2 Sep 2021 17:45:21 +0000 (13:45 -0400)]
defer write permissions checking in import until after copy to repo

This should complete the fix started in
6329997ac44691937f1d7fe6a71da3184237b13b, fixing the actual cause of the
test suite failure this time.

Sponsored-by: Dartmouth College's Datalad project
4 years agocomment
Joey Hess [Thu, 2 Sep 2021 16:58:46 +0000 (12:58 -0400)]
comment

4 years agoreopen
Joey Hess [Thu, 2 Sep 2021 16:24:03 +0000 (12:24 -0400)]
reopen

4 years agofix windows build
Joey Hess [Thu, 2 Sep 2021 16:21:25 +0000 (12:21 -0400)]
fix windows build

4 years ago(no commit message)
jwodder [Thu, 2 Sep 2021 14:48:00 +0000 (14:48 +0000)]

4 years agoAdded a comment
scy [Thu, 2 Sep 2021 08:17:03 +0000 (08:17 +0000)]
Added a comment

4 years agoAdded a comment
jkniiv [Thu, 2 Sep 2021 05:24:14 +0000 (05:24 +0000)]
Added a comment

4 years agoadd author meta
jkniiv [Thu, 2 Sep 2021 04:39:12 +0000 (04:39 +0000)]
add author meta

4 years agocommit 9595a247a doesn't compile on Windows without reverting a small previous change
jkniiv [Thu, 2 Sep 2021 04:29:16 +0000 (04:29 +0000)]
commit 9595a247a doesn't compile on Windows without reverting a small previous change

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 1 Sep 2021 19:35:32 +0000 (15:35 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agoimprove url download failure display
Joey Hess [Wed, 1 Sep 2021 19:28:22 +0000 (15:28 -0400)]
improve url download failure display

* When downloading urls fail, explain which urls failed for which
  reasons.
* web: Avoid displaying a warning when downloading one url failed
  but another url later succeeded.

Some other uses of downloadUrl use urls that are effectively internal use,
and should not all be displayed to the user on failure. Eg, Remote.Git
tries different urls where content could be located depending on how the
remote repo is set up. Exposing those urls to the user would lead to wild
goose chases. So had to parameterize it to control whether it displays urls
or not.

A side effect of this change is that when there are some youtube urls
and some regular urls, it will try regular urls first, even if the
youtube urls are listed first. This seems like an improvement if
anything, but in any case there's no defined order of urls that it's
supposed to use.

Sponsored-by: Dartmouth College's Datalad project
4 years agoAdded a comment
yarikoptic [Wed, 1 Sep 2021 18:05:26 +0000 (18:05 +0000)]
Added a comment

4 years agoAdded a comment
yarikoptic [Wed, 1 Sep 2021 16:22:22 +0000 (16:22 +0000)]
Added a comment

4 years agocomment
Joey Hess [Wed, 1 Sep 2021 15:43:51 +0000 (11:43 -0400)]
comment

4 years agoAdded a comment: clarification
yarikoptic [Wed, 1 Sep 2021 15:39:06 +0000 (15:39 +0000)]
Added a comment: clarification

4 years agofix test suite failure on windows
Joey Hess [Wed, 1 Sep 2021 15:32:25 +0000 (11:32 -0400)]
fix test suite failure on windows

This was maybe a real bug too, although I don't know what circumstances
it would be a problem. See comment for analysis of this windows drive
letter wackyness issue.

Sponsored-by: Brock Spratlen on Patreon
4 years agoclose
Joey Hess [Wed, 1 Sep 2021 14:47:33 +0000 (10:47 -0400)]
close

4 years agoskip test_readonly on windows
Joey Hess [Wed, 1 Sep 2021 14:42:50 +0000 (10:42 -0400)]
skip test_readonly on windows

       drop vs readonly repo failed (transcript follows)
      drop foo
      failed
      git-annex: .git\annex\objects\6cd\e82\SHA256E-s20--e394a389d787383843decc5d3d99b6d184ffa5fddeec23b911f9ee7fc8b9ea77\SHA256E-s20--e394a389d787383843decc5d3d99b6d184ffa5fddeec23b911f9ee7fc8b9ea77: DeleteFile "\\\\?\\C:\\Users\\runneradmin\\.t\\tmprepo3\\.git\\annex\\objects\\6cd\\e82\\SHA256E-s20--e394a389d787383843decc5d3d99b6d184ffa5fddeec23b911f9ee7fc8b9ea77\\SHA256E-s20--e394a389d787383843decc5d3d99b6d184ffa5fddeec23b911f9ee7fc8b9ea77": permission denied (Access is denied.)

This is a bit surprising, it seems that chmod -R -w on windows actually
had some effect. But also, on Windows lockContentShared
has to write to a lock file, so it cannot work in a readonly repo.
So git-annex cannot support readonly repos on Windows.

Sponsored-by: Dartmouth College's Datalad project
4 years agoinit: check for filesystem where write bit cannot be removed
Joey Hess [Wed, 1 Sep 2021 14:27:28 +0000 (10:27 -0400)]
init: check for filesystem where write bit cannot be removed

This fixes a reversion caused by a99a84f3420a1d93e4ecd4b8cf30638b48e2758e,
when git-annex init is run as root on a FAT filesystem mounted with
hdiutil on OSX. Such a mount point has file mode 777 for everything and
it cannot be changed. The existing crippled filesystem test tried to
write to a file after removing write bit, but that test does not run as
root (since root can write to unwritable files). So added a check of the
write permissions of the file, after attempting to remove them.

Sponsored-by: Dartmouth College's Datalad project
4 years agoprop_relPathDirToFileAbs_basics fails on occasion
jkniiv@b330fc3a602d36a37a67b2a2d99d4bed3bb653cb [Tue, 31 Aug 2021 21:44:25 +0000 (21:44 +0000)]
prop_relPathDirToFileAbs_basics fails on occasion

4 years agoAdded a comment
jkniiv@b330fc3a602d36a37a67b2a2d99d4bed3bb653cb [Tue, 31 Aug 2021 20:47:24 +0000 (20:47 +0000)]
Added a comment

4 years agoinitial TODO on improving 'get' errors reporting
yarikoptic [Tue, 31 Aug 2021 14:40:48 +0000 (14:40 +0000)]
initial TODO on improving 'get' errors reporting

4 years agoreport on 2 tests fail on crippled FS on mac
yarikoptic [Tue, 31 Aug 2021 14:20:15 +0000 (14:20 +0000)]
report on 2 tests fail on crippled FS on mac

4 years agoinitial report
yarikoptic [Tue, 31 Aug 2021 14:13:11 +0000 (14:13 +0000)]
initial report

4 years agoAdded a comment: just an update on my testing
yarikoptic [Mon, 30 Aug 2021 22:17:53 +0000 (22:17 +0000)]
Added a comment: just an update on my testing

4 years agoadd test case for readonly remote
Joey Hess [Mon, 30 Aug 2021 20:39:02 +0000 (16:39 -0400)]
add test case for readonly remote

Tests for the reversion fixed in 837116ef1e253f82726b023bfe6ca46777060e27
and similar problems.

Sponsored-by: Dartmouth College's Datalad project
4 years agocomment
Joey Hess [Mon, 30 Aug 2021 18:42:09 +0000 (14:42 -0400)]
comment

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 30 Aug 2021 18:37:32 +0000 (14:37 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agoupdate
Joey Hess [Mon, 30 Aug 2021 18:34:25 +0000 (14:34 -0400)]
update

4 years agoidea for making more special remotes support importtree
Joey Hess [Mon, 30 Aug 2021 17:54:46 +0000 (13:54 -0400)]
idea for making more special remotes support importtree

Sponsored-by: Jack Hill on Patreon
4 years agoAdded a comment: reproducer
yarikoptic [Mon, 30 Aug 2021 18:07:05 +0000 (18:07 +0000)]
Added a comment: reproducer

4 years agoAdded a comment
yarikoptic [Mon, 30 Aug 2021 17:24:25 +0000 (17:24 +0000)]
Added a comment

4 years agodecorate openTempFile errors with the template name
Joey Hess [Mon, 30 Aug 2021 17:05:02 +0000 (13:05 -0400)]
decorate openTempFile errors with the template name

This is to track down what file in .git/annex/ is being written to via a
temp file when the repository is read-only.

Sponsored-by: Dartmouth College's Datalad project
4 years agoFix support for readonly git remotes
Joey Hess [Mon, 30 Aug 2021 16:34:19 +0000 (12:34 -0400)]
Fix support for readonly git remotes

Boolean blindness oops.

(Reversion in version 8.20210621)

Sponsored-by: Dartmouth College's Datalad project
4 years agocomment
Joey Hess [Mon, 30 Aug 2021 16:08:01 +0000 (12:08 -0400)]
comment

4 years agocomment
Joey Hess [Mon, 30 Aug 2021 16:06:28 +0000 (12:06 -0400)]
comment

4 years agocomment
Joey Hess [Mon, 30 Aug 2021 16:02:52 +0000 (12:02 -0400)]
comment

4 years ago(no commit message)
LazerEpilasyon [Mon, 30 Aug 2021 11:32:34 +0000 (11:32 +0000)]

4 years ago(no commit message)
strmd [Sat, 28 Aug 2021 09:30:28 +0000 (09:30 +0000)]

4 years agoAdded a comment
yarikoptic [Fri, 27 Aug 2021 18:46:39 +0000 (18:46 +0000)]
Added a comment

4 years agoadd: Detect when xattrs or perhaps ACLs prevent locking down a file's content
Joey Hess [Fri, 27 Aug 2021 18:33:01 +0000 (14:33 -0400)]
add: Detect when xattrs or perhaps ACLs prevent locking down a file's content

And fail with an informative message.

I don't think ACLs can prevent removing the write bit, but I'm not sure,
so kept it mentioning them as a possibility.

Should git-annex lock also check if the write bits are able to be removed?
Maybe, but the case I know about with xattrs involves cp -a copying NFS
xattrs, and it's the copy of the file that is the problem. So when locking
a file, I guess it will not be the copy.

Sponsored-by: Dartmouth College's Datalad project
4 years agoRun cp -a with --no-preserve=xattr, to avoid problems with copied xattrs
Joey Hess [Fri, 27 Aug 2021 17:09:34 +0000 (13:09 -0400)]
Run cp -a with --no-preserve=xattr, to avoid problems with copied xattrs

Including them breaking permissions setting on some NFS servers.

Sponsored-by: Dartmouth College's Datalad project
4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 27 Aug 2021 16:30:35 +0000 (12:30 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agoAdded annex.youtube-dl-command config
Joey Hess [Fri, 27 Aug 2021 13:44:23 +0000 (09:44 -0400)]
Added annex.youtube-dl-command config

This can be used to run some forks of youtube-dl.

Sponsored-by: Brett Eisenberg on Patreon
4 years agothought
Joey Hess [Fri, 27 Aug 2021 04:59:24 +0000 (00:59 -0400)]
thought

4 years agoAdded a comment
yarikoptic [Fri, 27 Aug 2021 01:38:54 +0000 (01:38 +0000)]
Added a comment

4 years agoAdded a comment: it turns out I had to file this as a bug
jkniiv@b330fc3a602d36a37a67b2a2d99d4bed3bb653cb [Fri, 27 Aug 2021 01:38:29 +0000 (01:38 +0000)]
Added a comment: it turns out I had to file this as a bug

4 years agoAdded a comment
yarikoptic [Fri, 27 Aug 2021 01:34:18 +0000 (01:34 +0000)]
Added a comment

4 years agosometimes `sync --content` really does take longer to get a file than `get`
jkniiv@b330fc3a602d36a37a67b2a2d99d4bed3bb653cb [Fri, 27 Aug 2021 00:58:18 +0000 (00:58 +0000)]
sometimes `sync --content` really does take longer to get a file than `get`

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 26 Aug 2021 21:26:49 +0000 (17:26 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agocomment
Joey Hess [Thu, 26 Aug 2021 21:25:33 +0000 (17:25 -0400)]
comment

4 years agoAdded a comment
nothingmuch@486b0e001f63ad0513f9fc6921a31f08832ba22d [Thu, 26 Aug 2021 21:19:43 +0000 (21:19 +0000)]
Added a comment

4 years agoAdded a comment
yarikoptic [Thu, 26 Aug 2021 16:49:56 +0000 (16:49 +0000)]
Added a comment

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 26 Aug 2021 16:01:24 +0000 (12:01 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agocomment
Joey Hess [Thu, 26 Aug 2021 16:01:15 +0000 (12:01 -0400)]
comment

4 years agoremoved
jenkin.schibel@286264d9ceb79998aecff0d5d1a4ffe34f8b8421 [Thu, 26 Aug 2021 15:21:24 +0000 (15:21 +0000)]
removed

4 years agoAdded a comment: i would like to have this feature revisted, collaberative wiki editing
jenkin.schibel@286264d9ceb79998aecff0d5d1a4ffe34f8b8421 [Thu, 26 Aug 2021 15:20:56 +0000 (15:20 +0000)]
Added a comment: i would like to have this feature revisted, collaberative wiki editing

4 years agoAdded a comment: i would like to have this feature revisted, collaberative wiki editing
jenkin.schibel@286264d9ceb79998aecff0d5d1a4ffe34f8b8421 [Thu, 26 Aug 2021 15:20:28 +0000 (15:20 +0000)]
Added a comment: i would like to have this feature revisted, collaberative wiki editing

4 years agoAdded a comment
yarikoptic [Wed, 25 Aug 2021 22:05:06 +0000 (22:05 +0000)]
Added a comment

4 years agoinitial report on inability to get data of others via ssh
yarikoptic [Wed, 25 Aug 2021 20:30:52 +0000 (20:30 +0000)]
initial report on inability to get data of others via ssh

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 25 Aug 2021 18:22:11 +0000 (14:22 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years ago--batch-keys
Joey Hess [Wed, 25 Aug 2021 18:20:33 +0000 (14:20 -0400)]
--batch-keys

New --batch-keys option added to these commands:  get, drop, move, copy, whereis

git-annex-matching-options had to be reworded since some of its options
can be used to match on keys, not only files.

Sponsored-by: Luke Shumaker on Patreon
4 years agoAdded a comment: will do
jkniiv@b330fc3a602d36a37a67b2a2d99d4bed3bb653cb [Tue, 24 Aug 2021 21:45:28 +0000 (21:45 +0000)]
Added a comment: will do

4 years agocomment
Joey Hess [Tue, 24 Aug 2021 19:02:53 +0000 (15:02 -0400)]
comment

4 years agoAdded a comment
yarikoptic [Tue, 24 Aug 2021 18:06:10 +0000 (18:06 +0000)]
Added a comment

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 24 Aug 2021 18:04:03 +0000 (14:04 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agoFix test suite failure on Windows
Joey Hess [Tue, 24 Aug 2021 18:03:29 +0000 (14:03 -0400)]
Fix test suite failure on Windows

It would be better if the Arbitrary instance avoided generating impossible
filenames like "foo/c:bar", but proably this is the only place that splits
the file from the directory and then uses the file without the directory..
At least on the quickcheck properties.

Sponsored-by: Svenne Krap on Patreon