Commit graph

35320 commits

Author SHA1 Message Date
Ilya_Shlyakhter
09f79e5256 Added a comment: storing checksums for non-checksum keys in metadata 2019-08-16 16:06:29 +00:00
Ilya_Shlyakhter
41fee0b0fc removed 2019-08-16 16:03:41 +00:00
Ilya_Shlyakhter
9f62583717 Added a comment: storing checksums for non-checksum keys in metadata 2019-08-16 16:02:41 +00:00
Joey Hess
b532d69498
add missing build dep of install-completions
Since it runs git-annex to generate the completions files.
2019-08-16 11:42:00 -04:00
Joey Hess
206f9ad7c0
add comment 2019-08-16 11:36:33 -04:00
Joey Hess
e4a8366162
fix edge case failure in prop_view_roundtrips
"./" made it fail, because that gets eliminated
2019-08-16 11:35:32 -04:00
Joey Hess
fa62c32233
Fix intermittent failure of the test suite
Its repeated opening and writing to the sqlite database somehow caused
inode cache information to occasionally be lost.

This loses code coverage, since running git-annex as a child process
prevents tracking what parts of the code are exercised. I have not looked
at the code coverage in a long time. It would probably be possible to
collect code coverage for the child procesess and merge it together.
2019-08-16 11:11:55 -04:00
Joey Hess
83cdc511da
use GHC not ghc 2019-08-16 11:00:28 -04:00
https://launchpad.net/~felixonmars
14b2a257fb 2019-08-16 07:25:29 +00:00
Joey Hess
b68198d7be
Merge branch 'master' of ssh://git-annex.branchable.com 2019-08-15 21:44:29 -04:00
Joey Hess
61bc26dc40
comment 2019-08-15 21:44:14 -04:00
eschwartz@5abb721e66990e478c7d1caf96beb4f9794eb168
c131c0f0c5 2019-08-15 22:46:53 +00:00
Joey Hess
7cd2120b23
Merge branch 'master' of ssh://git-annex.branchable.com 2019-08-15 17:45:05 -04:00
Joey Hess
be52546af6
update 2019-08-15 17:30:38 -04:00
Joey Hess
8e2396fcff
bug 2019-08-15 17:17:59 -04:00
eschwartz@5abb721e66990e478c7d1caf96beb4f9794eb168
7a0ed9dc75 Added a comment 2019-08-15 21:15:09 +00:00
Joey Hess
94e57a7fbc
comment 2019-08-15 15:19:57 -04:00
Joey Hess
c8cca57b3b
Merge branch 'master' of ssh://git-annex.branchable.com 2019-08-15 14:48:13 -04:00
Joey Hess
69cefe8190
followup and display rsync exit status 2019-08-15 14:47:22 -04:00
eschwartz@5abb721e66990e478c7d1caf96beb4f9794eb168
5e5d0e54ca New bug for zsh-completion. 2019-08-15 18:09:47 +00:00
Joey Hess
007892739d
avoid running adjusted branch tests when git is too old 2019-08-15 13:57:12 -04:00
Joey Hess
708fc6567f
S3: Fix encoding when generating public urls of S3 objects.
This code feels worryingly stringily typed, but using URI does not help
because the uriPath still has to be constructed with the right
uri-encoding.
2019-08-15 12:56:46 -04:00
Joey Hess
83fc72653b
Merge branch 'master' of ssh://git-annex.branchable.com 2019-08-15 12:37:32 -04:00
Joey Hess
e6c7778345
bug 2019-08-15 12:37:12 -04:00
Ilya_Shlyakhter
cb60968660 Added a comment 2019-08-14 18:40:50 +00:00
Joey Hess
37f5f00923
fixed 2019-08-13 16:45:24 -04:00
Joey Hess
96a5d7c4fc
comment 2019-08-13 15:15:55 -04:00
Joey Hess
d8a0b09506
Merge branch 'master' of ssh://git-annex.branchable.com 2019-08-13 15:14:22 -04:00
Joey Hess
dc672863c3
init: Install working hook scripts when run on a crippled filesystem and on Windows 2019-08-13 15:14:17 -04:00
Joey Hess
b36229905f
avoid redundant test pass on crippled filesystem
v7 unlocked uses an adjusted branch on crippled filesystem, so is nearly
identical to the previous test pass.
2019-08-13 15:11:49 -04:00
yarikoptic
05d85c757a Added a comment 2019-08-13 18:15:36 +00:00
Joey Hess
88c61dea00
typo 2019-08-13 13:36:52 -04:00
Joey Hess
4a4a5dd5f9
comment 2019-08-13 13:36:33 -04:00
Joey Hess
386c0ce90a
close handle so windows can stat the file
windows cannot stat a file that another process has open, which caused
this to crash with an exception
2019-08-13 13:26:25 -04:00
Joey Hess
3049271fd0
fix build warnings 2019-08-13 13:12:41 -04:00
Joey Hess
cfd0b4108e
avoid windows build warning 2019-08-13 13:10:33 -04:00
Joey Hess
a95de6bcc7
reply 2019-08-13 12:54:46 -04:00
Joey Hess
8e92eaf0ab
Merge branch 'master' of ssh://git-annex.branchable.com 2019-08-13 12:35:33 -04:00
Joey Hess
5004381dd9
improve error display when storing to an export/import remote fails
Prompted by the test suite on windows failing to with "export foo failed"
and no information about what went wrong.

Note that only storeExportWithContentIdentifier has been converted.
storeExport still returns a Bool and so exceptions may be hidden.

However, storeExportWithContentIdentifier has many more failure modes,
since it needs to avoid overwriting modified files. So it's more
important it have better error display.
2019-08-13 12:05:00 -04:00
yarikoptic
0e856fd3c2 Original report 2019-08-13 15:53:37 +00:00
Ilya_Shlyakhter
070fbd693e added bug report where git-annex-sync seems not idempotent 2019-08-12 20:50:07 +00:00
yarikoptic
88a78b7d90 Added a comment 2019-08-12 20:15:02 +00:00
Horus
e1e74ccd8d Added a comment 2019-08-12 07:40:57 +00:00
hey@ccaff89baaef1ba51f67eb65fb5ded08528ccecd
f4ae100949 2019-08-12 03:16:52 +00:00
Joey Hess
05d52f9699
fix display of http exceptions 2019-08-10 11:09:25 -04:00
Joey Hess
5bd515960c
devblog 2019-08-09 15:41:10 -04:00
Joey Hess
2af9ad1808
comment 2019-08-09 15:40:23 -04:00
Joey Hess
696ab80d93
Merge branch 'master' of ssh://git-annex.branchable.com 2019-08-09 15:37:12 -04:00
Joey Hess
f27c5db5c5
avoid rsync failing with a permissions error
The test suite was intermittently failing with rsync complaining it
could not write to dest.

get foo (from origin...)
SHA256E-s20--e394a389d787383843decc5d3d99b6d184ffa5fddeec23b911f9ee7fc8b9ea77
             20 100%    0.00kB/s    0:00:00  ^M             20 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=0/1)
(from origin...)
SHA256E-s20--e394a389d787383843decc5d3d99b6d184ffa5fddeec23b911f9ee7fc8b9ea77
             20 100%    0.00kB/s    0:00:00  ^M             20 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=0/1)
rsync: open "/home/joey/src/git-annex/.t/tmprepo1103/.git/annex/tmp/SHA256E-s20--e394a389d787383843decc5d3d99b6d184ffa5fddeec23b911f9ee7fc8b9ea77" failed: Permission denied (13)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1207) [sender=3.1.3]

It seems that the first rsync actually transferred the file, but then for some
reason git-annex thinks it failed, so it retries. The second rsync then fails
because the first rsync copied the file mode over and so the file is not
writable now.

So, this fixes that problem, but leaves open the question of why git-annex
would think rsync failed when it wrote the file and didn't output any
error message. Possibly a bug in rsyncProgress that either hides an
error message, or somehow makes rsync unhappy?
2019-08-09 15:26:58 -04:00
Joey Hess
5798d063b0
make test_export_import work on adjusted branch 2019-08-09 14:00:22 -04:00