Commit graph

9117 commits

Author SHA1 Message Date
Joey Hess
63e37b0beb
analysis 2019-09-09 09:44:47 -04:00
Joey Hess
5197a222aa
analysis 2019-09-09 09:43:25 -04:00
yarikoptic
029a952726 Added a comment: archaeological expedition summary 2019-09-09 12:53:17 +00:00
https://tribut.de/
fad7f3096b Added a comment 2019-09-09 09:01:26 +00:00
flixh
ecae180dfe 2019-09-07 12:45:38 +00:00
flixh
d5b5f31107 Added a comment 2019-09-07 11:44:47 +00:00
Joey Hess
e78050c808
followup 2019-09-06 12:31:01 -04:00
Ilya_Shlyakhter
37274b6853 Added a comment: another trace of concurrent copy failure 2019-09-05 06:09:13 +00:00
Ilya_Shlyakhter
eeaa2b44cd added issue re: output of error messages with --json-error-messages 2019-09-03 18:20:34 +00:00
Ilya_Shlyakhter
8acd01334c bug report where git-annex-copy fails with "thread blocked indefinitely in an STM transaction" 2019-09-02 18:26:28 +00:00
Ilya_Shlyakhter
62723b7c45 Added a comment 2019-09-02 15:49:57 +00:00
yarikoptic
c83526fed7 Added a comment: the issue persists in master 2019-09-02 14:17:14 +00:00
yarikoptic
8bc27a5cd7 removed 2019-09-02 14:14:11 +00:00
yarikoptic
3e93585ccc Added a comment: the issue remains (if there were any fixed introduced) 2019-09-02 14:13:07 +00:00
yarikoptic
f951a62210 initial report on problems with unicode directories 2019-09-02 11:52:27 +00:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
bc2cfe2483 2019-09-01 17:10:32 +00:00
yarikoptic
8859e785c3 Added a comment 2019-08-31 13:00:57 +00:00
Joey Hess
1558e03014
Refuse to upgrade direct mode repositories when git is older than 2.22
That git fixed a memory leak that could cause an OOM during the upgrade.

Most git-annex builds have a new enough git already.
OSX git was upgraded with brew.

Linux i386ancient build's git was too old. Upgrading it to a fixed
git didn't work (due to the newer git not working with the old ssh,
https://bugs.chromium.org/p/git/issues/detail?id=7 )

Choices to deal with that were:

* Somehow make direct mode upgrade work with the old git, avoiding its
  OOM problem. One way would be to switch the repo to indirect mode
  first, and so upgrade to a repo with locked files. Not good when
  the filesystem does not support symlinks.
* backport the OOM fix from git 2.22
  (And do what about the version number so git-annex knows it's fixed?)
* backport openssh (and possibly more stuff)
* move the i386ancient build to at least Debian stretch (still backporting git)
  But this will make it no longer work with some of the ancient kernels it
  targets.

Of those, backporting the OOM fix seemed the best approach. Put "oomfix"
in the git version number to indicate it.

I have not automated building the git backport, so here's the patch I
used:

diff -ur orig/git-2.1.4/convert.c git-2.1.4/convert.c
--- orig/git-2.1.4/convert.c	2014-12-18 18:42:18.000000000 +0000
+++ git-2.1.4/convert.c	2019-08-29 20:05:04.371872338 +0100
@@ -404,7 +404,7 @@
 	if (start_async(&async))
 		return 0;	/* error was already reported */

-	if (strbuf_read(&nbuf, async.out, len) < 0) {
+	if (strbuf_read(&nbuf, async.out, 0) < 0) {
 		error("read from external filter %s failed", cmd);
 		ret = 0;
 	}
diff -ur orig/git-2.1.4/GIT-VERSION-GEN git-2.1.4/GIT-VERSION-GEN
--- orig/git-2.1.4/GIT-VERSION-GEN	2014-12-18 18:42:18.000000000 +0000
+++ git-2.1.4/GIT-VERSION-GEN	2019-08-29 20:06:39.132743228 +0100
@@ -1,7 +1,7 @@
 #!/bin/sh

 GVF=GIT-VERSION-FILE
-DEF_VER=v2.1.4
+DEF_VER=v2.1.4.oomfix

 LF='
 '
diff -ur orig/git-2.1.4/configure git-2.1.4/configure
--- orig/git-2.1.4/configure	2014-12-18 18:42:19.000000000 +0000
+++ git-2.1.4/configure	2019-08-29 20:27:45.896380015 +0100
@@ -580,8 +580,8 @@
 # Identity of this package.
 PACKAGE_NAME='git'
 PACKAGE_TARNAME='git'
-PACKAGE_VERSION='2.1.4'
-PACKAGE_STRING='git 2.1.4'
+PACKAGE_VERSION='2.1.4.oomfix'
+PACKAGE_STRING='git 2.1.4.oomfix'
 PACKAGE_BUGREPORT='git@vger.kernel.org'
 PACKAGE_URL=''

diff -ur orig/git-2.1.4/version git-2.1.4/version
--- orig/git-2.1.4/version	2014-12-18 18:42:19.000000000 +0000
+++ git-2.1.4/version	2019-08-29 20:06:17.572545210 +0100
@@ -1 +1 @@
-2.1.4
+2.1.4.oomfix
2019-08-29 15:24:41 -04:00
Joey Hess
c83c82a9c4
followup 2019-08-29 13:25:22 -04:00
Joey Hess
d6e1f09ed2
init: Catch more exceptions when testing locking. 2019-08-29 12:19:07 -04:00
Joey Hess
6b27fc58d0
v7 bug review and cleanup 2019-08-28 12:20:30 -04:00
Joey Hess
7f2bf5a802
followup 2019-08-27 15:41:31 -04:00
Joey Hess
11e3b2397c
update location log for missing content during direct mode conversion
If a direct mode file is deleted or modified, and there are no other
files containing the content, the content was lost. That's a normal
thing that can happen in direct mode, but not in v7, so the upgrade
code has to notice it in order for the location log to be accurate.
2019-08-27 13:54:21 -04:00
Joey Hess
3a0842d9f8
fix bug introduced in direct mode conversion
oops, the code was "if direct && not present" and I removed the direct
which made the wrong path be taken.
2019-08-27 12:29:05 -04:00
Joey Hess
af8a73d539
noticed a problem 2019-08-26 16:41:24 -04:00
yarikoptic
9531f5b6d4 initial report about regression failing to detect need for pidlock 2019-08-23 14:16:11 +00:00
Ilya_Shlyakhter
afe5be0463 Added a comment: another instance of git-annex-sync not being idempotent 2019-08-20 17:08:45 +00:00
Joey Hess
a6933e1629
Merge branch 'master' of ssh://git-annex.branchable.com 2019-08-16 14:09:27 -04:00
Joey Hess
7f97575941
Makefile: Changed default zsh completion location to zsh default fpath.
Systems such as Debian that have overridden the default fpath will need to
set ZSH_COMPLETIONS_PATH.

I feel that Debian is causing unncessary complexity by making this change,
and have filed a bug report about it.

This also means that when git-annex is installed with PREFIX=/usr/local
it will use /usr/local/share/zsh/site-functions which works with probably
all versions of zsh.
2019-08-16 14:08:56 -04:00
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
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
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