Commit graph

26361 commits

Author SHA1 Message Date
TroisSinges
2eb7e338b6 Added a comment 2019-09-02 22:19:04 +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
1a7c06ea9d added suggestion for S3 export remote redirecting to key-value store 2019-09-02 17:41:46 +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
TroisSinges
4c1af28371 2019-09-02 07:52:08 +00:00
johnmario.itec19@69a7b742534851b36216e0f951f1a00dbb9067cd
564256614e Added a comment: commenting on git-annex-add 2019-09-02 06:21:27 +00:00
Joey Hess
f845195354
Added annex.autoupgraderepository configuration
Can be set to false to prevent any automatic repository upgrades.

Also, removed direct mode specific upgrade code in Annex.Init, and made
needsUpgrade always include the name/path of the repo, so if
there's a problem it's clear what repo has the problem.

And, made needsUpgrade catch any exceptions that might occur during the
upgrade, so it can display a more useful error message than just the
exception.
2019-09-01 13:42:26 -04:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
bc2cfe2483 2019-09-01 17:10:32 +00:00
Joey Hess
b421004d75
reorg gitconfig settings and break out several large sections 2019-09-01 12:56:28 -04:00
Joey Hess
8865041834
rename page 2019-09-01 12:25:46 -04:00
Joey Hess
63314a9188
link to other install methods as EPEL has an ancient git-annex 2019-09-01 12:22:04 -04:00
Joey Hess
29eb2c2d9a
remove SL5 instructions
Those were from 2013, and the link to the repo no longer works.
2019-09-01 12:17:25 -04:00
marek@33e8ba4fbc201af14a2badcc0656024401f5c916
cdb679818e 2019-09-01 10:57:57 +00:00
yarikoptic
8859e785c3 Added a comment 2019-08-31 13:00:57 +00:00
Joey Hess
31a6086a9a
v7-default branch 2019-08-30 14:14:42 -04:00
Joey Hess
3f0eef4baa
v7 for all repositories
* Default to v7 for new repositories.
* Automatically upgrade v5 repositories to v7.
2019-08-30 14:09:14 -04: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
dc19fa8b04
comment 2019-08-29 12:06:46 -04:00
Joey Hess
f5a63e5a81
devblog 2019-08-28 15:18:41 -04:00
Joey Hess
6b27fc58d0
v7 bug review and cleanup 2019-08-28 12:20:30 -04:00
Joey Hess
a648c22b9b
clarification 2019-08-27 16:18:29 -04:00
Joey Hess
c21c0cd885
update with WSL findings 2019-08-27 15:45:43 -04:00
Joey Hess
7f2bf5a802
followup 2019-08-27 15:41:31 -04:00
Joey Hess
56370c009c
Merge branch 'master' of ssh://git-annex.branchable.com 2019-08-27 14:14:52 -04:00
Joey Hess
45663f6f35
planning 2019-08-27 14:14:16 -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
6b56c3ae11
close 2019-08-27 11:39:52 -04:00
Joey Hess
0b10d10753
add 2019-08-26 17:00:06 -04:00
Ilya_Shlyakhter
637ced91b9 Added a comment 2019-08-26 20:58:14 +00:00
Joey Hess
867f0b7442
Merge branch 'master' of ssh://git-annex.branchable.com 2019-08-26 16:46:32 -04:00
Joey Hess
99ac4c0cb8
devblog 2019-08-26 16:46:13 -04:00
Joey Hess
af8a73d539
noticed a problem 2019-08-26 16:41:24 -04:00
Joey Hess
20741b1eb4
Automatically convert direct mode repositories to v7 with adjusted unlocked branches
* Automatically convert direct mode repositories to v7 with adjusted
  unlocked branches and set annex.thin.
* init: When run on a crippled filesystem with --version=5,
  will error out, since version 7 is needed for adjusted unlocked branch.
* direct: This command always errors out as direct mode is no longer
  supported.
* indirect: This command has become a deprecated noop.
* proxy: This command is deprecated because it was only needed in direct
  mode. (But it continues to work.)

Also removed mentions of direct mode throughough the documentation.

I have not removed all the direct mode code yet.
2019-08-26 15:05:25 -04:00
Joey Hess
2fd27c6df5
assistant: When creating a new repository use v7 adjusted branches with annex.thin
Rather than direct mode, which this is a small step on the path to
removing.

Init on a crippled filesystem already used v7 adjusted branches,
and like that, this doesn't pose any interoperability issues with old
versions of git-annex that clone the same repo, because files are only
unlocked on the adjusted branch.
2019-08-26 12:54:14 -04:00
Joey Hess
0c718763fd
planning
several entangled things
2019-08-26 12:29:43 -04:00
Joey Hess
9bf3a5c405
close as probably fixed in recent test suite improvements 2019-08-26 12:27:27 -04:00
Joey Hess
b627c5b4d0
followup 2019-08-26 12:20:57 -04:00
ronald@bfae3dfd3105df06e4cc44c37b3e8dc430bd137a
04a928eccc fix git:// url for repo 2019-08-25 19:12:58 +00:00
Joey Hess
8012d61874
Merge branch 'master' of ssh://git-annex.branchable.com 2019-08-23 16:52:23 -04:00
Joey Hess
cb318d4404
todo 2019-08-23 16:52:08 -04:00
giuly
1eb2a87147 Datalad/Git annex/unkown archive format 2019-08-23 19:40:04 +00:00
yarikoptic
9531f5b6d4 initial report about regression failing to detect need for pidlock 2019-08-23 14:16:11 +00:00
Joey Hess
246ec97338
update 2019-08-22 21:04:19 -04:00
https://christian.amsuess.com/chrysn
e4161b6ea5 Added a comment: workaround not working any more 2019-08-21 11:34:23 +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
Ilya_Shlyakhter
f0ca57a232 added a hyperlink to conda installation page 2019-08-20 02:45:43 +00:00
Ilya_Shlyakhter
908476a9b8 Added a comment: hourly windows autobuild seems to have stopped running 2019-08-19 19:47:06 +00:00
Joey Hess
0bb42aea9a
add news item for git-annex 7.20190819 2019-08-19 12:27:15 -04: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
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
yarikoptic
05d85c757a Added a comment 2019-08-13 18:15:36 +00: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
a95de6bcc7
reply 2019-08-13 12:54:46 -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
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
5798d063b0
make test_export_import work on adjusted branch 2019-08-09 14:00:22 -04:00
Joey Hess
b87ea12b6b
git-annex merge branch
* merge: When run with a branch parameter, merges from that branch.
  This is especially useful when using an adjusted branch, because
  it applies the same adjustment to the branch before merging it.
2019-08-09 13:21:15 -04:00
Horus
d174feeb0f Added a comment 2019-08-09 07:51:07 +00:00
Lukey
aec95e48df Added a comment: HOWTO 2019-08-08 20:21:11 +00:00
Joey Hess
69a5b5a27f
bug report 2019-08-08 15:11:56 -04:00
Joey Hess
298812a353
use separate main repo dir for each test suite pass
This way a failure to clean up the main repo dir from a previous pass
can't result in reusing that repo, which won't be configured right for the
current pass.
2019-08-08 14:29:28 -04:00
Joey Hess
70b71bf660
have init --version fail when repo is already initialized with other version
init: When the repo is already initialized, and --version requests a
different version, error out rather than silently not changing the version.
2019-08-08 14:13:02 -04:00
Joey Hess
022875274a
bug 2019-08-08 13:34:58 -04:00
Joey Hess
9e230cd448
work around adjusted unlocked branch problem in test suite 2019-08-08 13:28:04 -04:00
Ilya_Shlyakhter
5ceff99573 removed 2019-08-08 15:08:45 +00:00
Ilya_Shlyakhter
e1d97a92db removed 2019-08-08 15:05:48 +00:00
Ilya_Shlyakhter
8ce06e4a8f removed 2019-08-08 15:05:23 +00:00
Ilya_Shlyakhter
7421e214af Added a comment: Git for Windows installation -- support for symlinks 2019-08-08 15:04:40 +00:00
Ilya_Shlyakhter
8bf7a44293 Added a comment: Git for Windows installation -- support for symlinks 2019-08-08 15:04:32 +00:00
Ilya_Shlyakhter
ae4eade74e Added a comment: Git for Windows installation -- support for symlinks 2019-08-08 15:04:25 +00:00
Ilya_Shlyakhter
30c084f792 Added a comment: Git for Windows installation -- support for symlinks 2019-08-08 15:04:08 +00:00
Joey Hess
7598cc6362
fixed 2019-08-07 18:00:49 -04:00
Joey Hess
3adc251f9d
Build with silently-1.2.5.1 on Windows; the old one used "NUL" which is not supported with recent versions of ghc. 2019-08-07 17:42:16 -04:00
Joey Hess
ec64a08b2b
Merge branch 'master' of ssh://git-annex.branchable.com 2019-08-07 14:05:32 -04:00
Joey Hess
8042ae7eaa
comment 2019-08-07 14:05:20 -04:00
frederik@ffbea6a549cb3f460d110386c0f634c1ddc6a68a
e3ef6db1a1 2019-08-07 11:03:10 +00:00
Horus
b20b4c3d4c 2019-08-07 08:33:41 +00:00
Ilya_Shlyakhter
890a51485e Added a comment: similar bug report 2019-08-05 17:55:21 +00:00
Ilya_Shlyakhter
5e6a143740 Added a comment: issues with concurrent copy 2019-08-05 17:53:38 +00:00
Joey Hess
8938102896
devblog 2019-08-05 13:52:07 -04:00
Joey Hess
0dd6ba302e
close 2019-08-05 13:44:24 -04:00
Joey Hess
3e0770e800
Merge branch 'git-lfs' 2019-08-05 13:44:04 -04:00
Joey Hess
fb7d92457f
support using gcrypt with git-lfs special remote 2019-08-05 13:43:45 -04:00
Joey Hess
c527ae5887
Merge branch 'master' into git-lfs 2019-08-05 11:48:45 -04:00
Joey Hess
3f450f0f4a
add encryption warning 2019-08-05 11:35:26 -04:00
Joey Hess
87e9ed38b8
expand encryption warning 2019-08-05 10:43:51 -04:00
Joey Hess
922434bccc
remove extra blank line 2019-08-05 10:37:19 -04:00
Joey Hess
bf7da09cf6
update 2019-08-05 10:36:46 -04:00
Joey Hess
f5eb28682a
expand 2019-08-04 13:59:24 -04:00
Joey Hess
8460bbcea9
note on git-lfs program 2019-08-04 13:16:59 -04:00
Joey Hess
c5ed11bc3f
documentation for git-lfs special remote 2019-08-04 13:15:47 -04:00
david@8424c56b088b73b1f9bd7d0497ca9b5752776099
9108927b86 2019-08-03 22:42:50 +00:00
yarikoptic
fba7da498b 2019-08-03 13:42:18 +00:00
leej
be31ef910f Added a comment: Thank you, CFBundleShortVersionString is present and matches the internal git-annex version 2019-08-02 15:57:10 +00:00
leej
3731e511ab removed 2019-08-02 15:49:58 +00:00
leej
bc38bca5ed removed 2019-08-02 15:49:36 +00:00
leej
51e99b1502 Added a comment: Currently, 7.20190730 is expected but 7.20190709-gee3885d15 present on OSX/current 2019-08-02 15:49:20 +00:00
leej
6ee7a5f3c1 Added a comment: Currently, 7.20190730 is expected but 7.20190709-gee3885d15 present on OSX/current 2019-08-02 15:49:11 +00:00
leej
7e03cfd0ea Added a comment: Currently, 7.20190730 is expected but 7.20190709-gee3885d15 present on OSX/current 2019-08-02 15:48:52 +00:00
Joey Hess
1cef791cf3
skeleton git-lfs special remote
This is a special remote and a git remote at the same time; git can pull
and push to it and git-annex can use it as a special remote.

Remote.Git has to check if it's configured as a git-lfs special remote
and sets it up as one if so.

Object methods not implemented yet.
2019-08-01 15:30:12 -04:00
Joey Hess
9c20a8792d
fix names of per-remote git config keys
These are all prefixed by annex- and always have been, the docs were just
wrong.
2019-08-01 14:24:59 -04:00
Joey Hess
74a36b8262
comment 2019-08-01 12:36:06 -04:00
Joey Hess
3d301dfb9f
comment 2019-08-01 12:26:28 -04:00
Joey Hess
404824594c
Merge branch 'master' of ssh://git-annex.branchable.com 2019-08-01 00:30:37 -04:00
Joey Hess
4ad33e7524
link to contact 2019-07-31 16:37:21 -04:00
Ilya_Shlyakhter
922778004d added bug report about test suite failures on Windows 2019-07-31 17:59:22 +00:00
andrew7278
a63bf35dc3 Added a comment: SnapChat Error 2019-07-31 11:04:58 +00:00
Joey Hess
8e102e3608
add news item for git-annex 7.20190730 2019-07-30 16:21:59 -04:00
Joey Hess
018b5b8173
Support building with socks-0.6 and persistant-template-2.7
persistent-template now needs UndecidableInstances.

socks changed defaultSocksConf to take a SockAddr.
2019-07-30 12:50:48 -04:00