Commit graph

9353 commits

Author SHA1 Message Date
Joey Hess
1a0c3e864b
close 2019-05-06 12:02:10 -04:00
herbgroll@5a05f17cf9cd3d69057fee2991f630e5a60cd197
947503cc6d 2019-05-05 19:15:28 +00:00
yarikoptic
3eeb5a732c initial report 2019-05-01 22:03:53 +00:00
yarikoptic
4f53cbbba8 Added a comment: update 2019-04-29 13:41:32 +00:00
yarikoptic
6b3cfcd59d Added a comment: change in libmagic behavior 2019-04-26 15:20:22 +00:00
Joey Hess
ff475d71c0
analysis 2019-04-26 10:23:48 -04:00
yarikoptic
28a3926c8c initial report on twice the add line reported 2019-04-26 14:01:54 +00:00
yarikoptic
ec69ae87ed initial report on strange text file addition to annex instead of git 2019-04-26 13:58:30 +00:00
Joey Hess
22fbab0563
close 2019-04-23 12:42:13 -04:00
guillaume.charbonnier@b98fd014ecb3f24159afc522ada81365a562f4fc
b851c12972 2019-04-21 20:09:20 +00:00
guillaume.charbonnier@b98fd014ecb3f24159afc522ada81365a562f4fc
c1f5e5a9f1 2019-04-21 16:39:13 +00:00
guillaume.charbonnier@b98fd014ecb3f24159afc522ada81365a562f4fc
2e31977789 2019-04-20 23:10:26 +00:00
guillaume.charbonnier@b98fd014ecb3f24159afc522ada81365a562f4fc
b23e3a83b1 2019-04-20 23:06:15 +00:00
Joey Hess
4c1e08e92d
followup 2019-04-10 10:25:13 -04:00
yarikoptic
7e039f9319 original report on inability to get a url 2019-04-10 13:30:17 +00:00
Joey Hess
6babb2c73f
remove wrong uniqueness constraint from ContentIdentifier db
Fix bug that caused importing from a special remote to repeatedly download
unchanged files when multiple files in the remote have the same content.

Unfortunately, there's really no good way to remove a uniqueness constraint
from a sqlite database. The best that can be done is to make a new table
and copy the data over. But that would require using persistent's
migrations or raw sql, and I don't want to do either.

Instead, a sledgehammer approach: Renamed .git/annex/cid to
.git/annex/cids. When the new database doesn't exist, it will be populated
from the git-annex branch.

Noting deletes the old database. Don't want to delete it out from under
some long-running git-annex process that might be using it. It could
eventually be deleted. But this is such a new feature, probably few repos
have the database in any case.
2019-04-09 19:58:24 -04:00
Joey Hess
5ece1408ae
analysis 2019-04-09 19:38:55 -04:00
Joey Hess
ae0a64f1c4
bug I noticed 2019-04-09 18:00:49 -04:00
Joey Hess
7d37011a11
S3: Added protocol= initremote setting, to allow https to be used on a non-standard port
protocol=https implies port=443 and
port=443 implies protocol=https
-- this was necessary because the existing configs set port=443, but
with a protocol setting, users will naturally want to use it, and then
there's no need for them to supply the default https port. So we keep
back-compat, add a nicer way to enable https, and also add support for
non-standard https ports.
2019-03-22 12:17:05 -04:00
Joey Hess
e18ac37ff6
close old bug 2019-03-22 10:32:24 -04:00
Joey Hess
95087e8a87
reopen 2019-03-22 09:44:40 -04:00
Joey Hess
97ae0f2c22
Android: Fix typo of name of armv7l in installation script. Thanks, 4omecha. 2019-03-22 09:39:18 -04:00
Joey Hess
3c58e62142
comment 2019-03-22 09:30:49 -04:00
Joey Hess
5fea7efee7
comment and toddo 2019-03-22 09:23:31 -04:00
gueux
a6233719e6 Added a comment 2019-03-21 22:57:36 +00:00
gueux
c789270c44 Added a comment 2019-03-21 20:40:55 +00:00
Fabio
9d7663432b Added a comment: no problem with xdg-open 2019-03-20 21:57:01 +00:00
4omecha@fff0ca6fa5307d92706e5ee6812d8db8f8067df0
65e41fea40 2019-03-20 17:01:58 +00:00
Joey Hess
3bcfc285e7
update 2019-03-20 12:05:58 -04:00
yarikoptic
a008053f24 Added a comment: more info on hanging 2019-03-19 21:04:54 +00:00
Joey Hess
0204d3443e
thought 2019-03-19 15:56:47 -04:00
Joey Hess
cf0ec85548
comment 2019-03-19 14:00:41 -04:00
yarikoptic
0b3d68d116 Added a comment 2019-03-19 17:41:12 +00:00
yarikoptic
5cfaf1ad39 Added a comment: reporting back 2019-03-19 17:01:10 +00:00
Joey Hess
0f20c8c517
comment 2019-03-18 22:54:34 -04:00
yarikoptic
7bd01999fd fixed up formatting typo 2019-03-18 23:24:50 +00:00
yarikoptic
d992d13c11 tune up ;) 2019-03-18 22:56:22 +00:00
yarikoptic
97fc3866bb initial report on pre-commit hanging 2019-03-18 22:55:08 +00:00
Joey Hess
5ab97333e4
import: Let --force overwrite symlinks, not only regular files
The docs already implied this should work.
2019-03-18 16:40:15 -04:00
Joey Hess
258e8f8f29
Removed bundled gpg from the Linux standalone build and OSX dmg
Because gpg now always wants to use gpg-agent, and shipping such a daemon
in those is not a good idea.
2019-03-18 16:31:07 -04:00
Joey Hess
c96e623343
Merge branch 'master' of ssh://git-annex.branchable.com 2019-03-18 16:00:20 -04:00
Joey Hess
d5ee5fef65
fsck: Detect situations where annex.thin has caused data loss to the content of locked files.
In particular, when two files had the same content, and one was unlocked
and modified, with annex.thin that can corrupt the content of the
annex object, and so fsck on the other file should detect that.

getKeyStatus was relying on Database.Keys.getAssociatedFiles to tell
when a file is unlocked, but that can false positive because the
database can list old associated files.

Instead, separate out the case of unlocked object which has multiple
hardlinks when annex.thin is in use.
2019-03-18 15:59:43 -04:00
Ilya_Shlyakhter
c07c30bc5d Added a comment 2019-03-18 19:54:05 +00:00
Ilya_Shlyakhter
78d832f48b Added a comment 2019-03-18 19:44:08 +00:00
Joey Hess
60ca3ce043
Add -- before %f in the smudge/clean filter configuration
To support filenames starting with dashes.

To update the config of existing repositories, you can re-run git-annex init.

Perhaps it should check every time for the old config and update it, but
that has several problems:

	- read-only repos
	- unexpected commands like `git annex find` changing git configs
	  might be surprising behavior

Since filenames starting with dashes are not super common and the user can
re-init easily enough if their repo needs fixed, I went for the simplest
fix.
2019-03-18 14:12:13 -04:00
Joey Hess
e7f3e2a937
close as not a git-annex bug but a termux bug 2019-03-18 14:10:08 -04:00
Ilya_Shlyakhter
af34ef79ab Added a comment 2019-03-18 18:08:06 +00:00
Joey Hess
da99edac58
followup 2019-03-18 14:00:33 -04:00
Joey Hess
93df756184
moreinfo 2019-03-18 13:58:29 -04:00
Joey Hess
98650e8435
moreinfo 2019-03-18 13:50:41 -04:00
Joey Hess
ac33a5e85e
close 2019-03-18 13:45:02 -04:00
Joey Hess
ae9b28df77
comment 2019-03-18 13:37:44 -04:00
Joey Hess
8758f9c561
addurl --file: Fix a bug that made youtube-dl be used unneccessarily when adding an html url that does not contain any media. 2019-03-18 13:34:29 -04:00
Joey Hess
a87da159c1
comment 2019-03-18 13:21:43 -04:00
Joey Hess
2c0b8e6d4d
Merge branch 'master' of ssh://git-annex.branchable.com 2019-03-18 13:08:09 -04:00
Joey Hess
6491b62614
Makefile: Added install-home target which installs git-annex into the HOME directory 2019-03-18 12:36:03 -04:00
yarikoptic
e7294158aa youtube-dl protection kicks in where it shouldn't 2019-03-18 15:32:12 +00:00
Joey Hess
95e94b9d00
comment 2019-03-18 11:20:29 -04:00
Joey Hess
0fbfe8afb2
comment 2019-03-18 11:14:17 -04:00
6yearold@36d59212c29d2959d6532d6db7928f01541bcf83
0ca577f932 2019-03-16 17:41:44 +00:00
Ilya_Shlyakhter
2951793905 added bug report where git worktree remove fails 2019-03-13 17:54:52 +00:00
crest
2cf3d68fe0 2019-03-07 10:48:01 +00:00
feulif
4bd3bd4e95 2019-02-28 21:51:54 +00:00
gueux
c7f8286e73 Added a comment 2019-02-27 09:34:12 +00:00
cman122887@9badeb8bdb364090f0a22e00ba16426ad65c34c9
913454e514 Added a comment: similar? 2019-02-27 02:47:57 +00:00
Ilya_Shlyakhter
7bfca4fc05 added bug report for when git-annex-import declines to import files that are under the repo but are git-ignored 2019-02-25 18:34:16 +00:00
Ilya_Shlyakhter
a8f0b482bf added question about using own gpg/gpg-agent with standalone git-annex 2019-02-24 22:14:00 +00:00
Ilya_Shlyakhter
d269336f19 added bug report re: incomplete gpg in standalone git-annex sandbox 2019-02-24 21:58:39 +00:00
Ilya_Shlyakhter
8e635a0ee6 fixed URL link 2019-02-24 21:15:11 +00:00
Ilya_Shlyakhter
4bd02fbeda added bug report for the standalone runshell related to caching locale info 2019-02-24 21:06:33 +00:00
david.j.buckmaster@984ff2704feacab53415ac5647206517d18f88f8
ea3e6322e7 Added a comment 2019-02-24 07:01:35 +00:00
david.j.buckmaster@984ff2704feacab53415ac5647206517d18f88f8
1202a2a48c removed 2019-02-24 06:59:21 +00:00
david.j.buckmaster@984ff2704feacab53415ac5647206517d18f88f8
24ebc3d12e Added a comment 2019-02-24 06:56:43 +00:00
david.j.buckmaster@984ff2704feacab53415ac5647206517d18f88f8
8c777cb36d removed 2019-02-24 06:43:34 +00:00
david.j.buckmaster@984ff2704feacab53415ac5647206517d18f88f8
eb6c0608e6 Added a comment 2019-02-24 06:41:01 +00:00
david.j.buckmaster@984ff2704feacab53415ac5647206517d18f88f8
3f450e5271 Added a comment 2019-02-24 01:20:15 +00:00
david.j.buckmaster@984ff2704feacab53415ac5647206517d18f88f8
663c62d7ce 2019-02-23 18:38:42 +00:00
Joey Hess
1e95bc4fd1
avoid git warning about CRLF in restagePointerFile
Saw it on Windows, could probably also happen on linux with some
configuration. Since this is a pointer file, the warning does not apply.
2019-02-18 18:35:36 -04:00
Joey Hess
1a367cad83
Fix path separator bug on Windows that completely broke git-annex since version 7.20190122. 2019-02-18 17:16:39 -04:00
Joey Hess
2eb07091e8
followup 2019-02-18 16:58:20 -04:00
Joey Hess
75d49b7755
fix link to renamed bug 2019-02-15 13:47:40 -04:00
Joey Hess
a1f8d2919d
rename obnoxiously and non-portably long bug report filename 2019-02-15 13:44:46 -04:00
Joey Hess
75204f5ae7
bug 2019-02-15 13:26:16 -04:00
Ilya_Shlyakhter
96331fc0ce bug report for checkpresentkey 2019-02-14 06:01:38 +00:00
gueux
7fa79a8838 2019-02-11 21:39:33 +00:00
gueux
21e1d6bc6a 2019-02-11 21:30:40 +00:00
np.gan@f5b13d2a374edae9a4c8b2f76022d8835781b9a5
fb0e2d9699 Added a comment: youtube feeds are limited 2019-02-10 13:09:55 +00:00
anarcat
65f21edcac Added a comment 2019-02-07 21:10:19 +00:00
Joey Hess
27fe59fd3c
followup 2019-02-07 16:06:10 -04:00
Joey Hess
dd50919980
response 2019-02-07 15:25:55 -04:00
Joey Hess
750f8ef189
comment 2019-02-07 15:22:01 -04:00
Joey Hess
d64e2ced70
response 2019-02-07 15:21:19 -04:00
Joey Hess
3ec003c45b
Merge branch 'master' of ssh://git-annex.branchable.com 2019-02-07 15:14:43 -04:00
Joey Hess
ef2010cd88
close 2019-02-07 15:14:09 -04:00
kirelagin@6d93475882c55a329fedae6be1971868a775ec7e
3a963b8d01 Added a comment 2019-02-07 19:03:36 +00:00
Joey Hess
83fdf443b5
Merge branch 'master' of ssh://git-annex.branchable.com 2019-02-07 14:39:19 -04:00
Joey Hess
07ccd932f8
followup 2019-02-07 14:06:21 -04:00
Joey Hess
60c1b5c994
deal with attempt to export filename with # or ? to webdav
xporting files with '#' or '?' in their name won't work because urls get
truncated on those. Fail in a better way in this case, and avoid failing
when removing such files from the export, so after the user has renamed the
problem files the export will succeed.
2019-02-07 13:47:57 -04:00
gueux
8153d2b265 2019-02-07 14:24:08 +00:00
gueux
b2fedc1a50 2019-02-07 14:22:18 +00:00
gueux
3e646eee4c 2019-02-07 14:20:38 +00:00
gueux
c598c5e7f6 Added a comment 2019-02-07 14:02:41 +00:00
gueux
cf32f5e7f9 2019-02-07 10:18:32 +00:00
anarcat
b2da3f2b8c sign 2019-02-06 19:11:24 +00:00
anarcat
f08c504fdb some weird issue i keep postponing to report 2019-02-06 19:04:10 +00:00
Joey Hess
011161902b
followup 2019-02-05 14:56:45 -04:00
Joey Hess
8795fc6ba8
same 2019-02-05 14:05:59 -04:00
rjc.live@9898e13e9f2423b0635b822053d4d8aeee499913
f326e7eaf7 2019-02-01 12:04:06 +00:00
Joey Hess
7ed785c38a
close 2019-01-31 13:49:51 -04:00
Joey Hess
ca12d8afdd
bug report 2019-01-30 16:23:26 -04:00
Joey Hess
a8f1add4d1
S3: Detect when version=yes but an exported file lacks versioning, and refuse to delete it, to avoid data loss.
This commit was sponsored by Denis Dzyubenko on Patreon.
2019-01-29 15:07:27 -04:00
Joey Hess
a4f71aa1e8
update 2019-01-29 14:27:32 -04:00
Joey Hess
bb9817ceae
enableremote S3: Do not let versioning=yes be set on existing remote
Because when git-annex lacks S3 version IDs for files stored in the bucket,
deleting them would cause data loss.

Also because git-annex is not able to download unversioned objects from a bucket
when versioning=yes.

This also prevents setting versioning=no. While that would perhaps be
possible to do safely, it would add complexity, and would mean that if
the user accidentially did enableremote versioning=no, they would not be
able to undo it.

This commit was sponsored by Trenton Cronholm on Patreon.
2019-01-29 14:09:50 -04:00
Joey Hess
139611331a
plan 2019-01-28 12:07:48 -04:00
Joey Hess
f08912a062
bug 2019-01-26 13:19:30 -04:00
Joey Hess
f21d692535
Merge branch 'master' of ssh://git-annex.branchable.com 2019-01-24 16:39:32 -04:00
Joey Hess
e06c0d92cd
git patch available 2019-01-24 16:39:12 -04:00
gueux
f4dd33d33b Added a comment 2019-01-24 10:34:09 +00:00
Joey Hess
016ebde0d5
followup 2019-01-22 18:07:40 -04:00
Joey Hess
9c30b358a7
close bug the right way 2019-01-22 17:44:08 -04:00
Joey Hess
17eb4b9b60
response 2019-01-22 17:43:03 -04:00
lukasstraub2@bbbb2ef261a0994edda5f5f55999dfac5998d4e5
3de15d094e rename done/Unable_to_initialize_v5_Repository_on_a_Crippled_Filesystem.mdwn to bugs/done/Unable_to_initialize_v5_Repository_on_a_Crippled_Filesystem.mdwn 2019-01-22 20:47:23 +00:00
lukasstraub2@bbbb2ef261a0994edda5f5f55999dfac5998d4e5
6e8c0abb25 rename bugs/Unable_to_initialize_v5_Repository_on_a_Crippled_Filesystem.mdwn to done/Unable_to_initialize_v5_Repository_on_a_Crippled_Filesystem.mdwn 2019-01-22 20:43:35 +00:00
Joey Hess
6ec7295870
Android: For armv71 architecture, use the armel build
This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
2019-01-22 11:50:29 -04:00
Joey Hess
ac858df32c
response 2019-01-21 16:31:15 -04:00
Joey Hess
112bb82fc2
Windows: If 64 bit git is installed, use it when installing git-annex.
However, rsync still won't work with 64 bit git and
this is still not the documented way to install it.

So, if both 64 and 32 are installed, go with 32.

And if neither git can be found, default to 32.
2019-01-21 15:51:48 -04:00
yarikoptic
603c4477f0 removed 2019-01-21 19:32:21 +00:00
yarikoptic
ef075c1c1a Added a comment 2019-01-21 19:23:17 +00:00
yarikoptic
06e5c3b145 Added a comment 2019-01-21 19:22:52 +00:00
Joey Hess
a254abfe78
Merge branch 'master' of ssh://git-annex.branchable.com 2019-01-21 15:19:44 -04:00
Joey Hess
912aefe19c
comment 2019-01-21 15:19:16 -04:00
yarikoptic
00bbf06e8d Added a comment 2019-01-21 19:17:29 +00:00
yarikoptic
354e8ae638 fixedup the link 2019-01-21 19:11:53 +00:00
Joey Hess
6f0d98f2ab
analysis and close as misconfiguration 2019-01-21 14:43:32 -04:00
Joey Hess
b7e1225d1e
followup 2019-01-21 14:28:19 -04:00
Joey Hess
b4c4ef912b
followup 2019-01-21 14:23:02 -04:00
yarikoptic
de3ac38a6f initial report on windows autostart script 2019-01-21 04:13:11 +00:00
zsolt
e83e7bcc29 Added a comment: works! 2019-01-18 22:40:39 +00:00
Joey Hess
5a94033cfd
followup 2019-01-18 13:54:14 -04:00
Joey Hess
facdeea47e
response 2019-01-18 11:55:31 -04:00
zsolt
64caba7a91 2019-01-18 09:31:08 +00:00
Joey Hess
63069a9bd7
close 2019-01-16 15:08:35 -04:00
guzik.sergey@9391b6c15e4938a539e36fbe5bab71df07111d2e
92013d86f6 2019-01-11 10:40:22 +00:00
6yearold@36d59212c29d2959d6532d6db7928f01541bcf83
a472cd3488 Added a comment 2019-01-11 06:28:32 +00:00
alogic0@d8fbd9f5b547237a650aa1d5605c2d3592496916
d2dd0a2b52 Added a comment: it's fixed 2019-01-11 00:54:02 +00:00
duncan_bayne
74682ffaad Added a comment: Known issue 2019-01-09 09:17:20 +00:00
duncan_bayne
3126dfd84d Added a comment: Bug raised 2019-01-08 21:13:38 +00:00
anarcat
2f3559d970 one more SNAFU with webdav 2019-01-06 19:35:15 +00:00
anarcat
0a90a48612 fix typo and triage 2019-01-06 19:23:36 +00:00
anarcat
cf04151ab6 Added a comment: thanks! 2019-01-06 04:12:03 +00:00
anarcat
9c6a644896 Added a comment: bump 2019-01-05 23:06:05 +00:00
ka7
328773f807 Added a comment: (better formating..) 2019-01-03 14:15:21 +00:00
ka7
7092fe9c1a Added a comment: got it 2019-01-03 14:10:19 +00:00
CandyAngel
a9d85d2993 Added a comment 2019-01-03 12:29:41 +00:00
ka7
934a1176cd 2019-01-03 11:17:31 +00:00
kirelagin@6d93475882c55a329fedae6be1971868a775ec7e
2122de1ad6 2019-01-02 17:37:57 +00:00
Woazboat
8e019f4752 2019-01-02 16:31:30 +00:00
kirelagin@6d93475882c55a329fedae6be1971868a775ec7e
a2565ad514 2019-01-02 14:34:46 +00:00
yarikoptic
944c0cab90 Added a comment: the build details 2019-01-02 01:14:39 +00:00
duncan_bayne
c992b20c2b Added a comment: Thanks 2019-01-01 22:26:45 +00:00
andrew
e0533176c1 2019-01-01 19:49:07 +00:00
andrew
38a7d7e779 Added a comment 2019-01-01 19:00:08 +00:00
andrew
87af69903d Added a comment 2019-01-01 18:47:59 +00:00
Joey Hess
2ae7ea02ad
followup 2019-01-01 12:16:20 -04:00
Joey Hess
b5174b7253
compiler toolchain being broken in freebsd update is not a bug in git-annex 2019-01-01 12:09:40 -04:00
flpgdt@f64318f00d9e1c9535e11f5d27c80c1d799cce00
8cdf87215e Added a comment 2018-12-31 16:53:50 +00:00
andrew
b7f66c20ac 2018-12-30 23:24:43 +00:00
andrew
5bfa629c6a Added a comment 2018-12-30 23:23:47 +00:00
andrew
cb4f55b64c 2018-12-30 22:13:27 +00:00
andrew
279573b601 2018-12-30 22:12:55 +00:00
andrew
a7b4eb5255 Added a comment 2018-12-30 22:12:09 +00:00
Chymera
2bc58a6786 Added a comment 2018-12-30 20:47:00 +00:00
lukasstraub2@bbbb2ef261a0994edda5f5f55999dfac5998d4e5
538cb2f77d 2018-12-30 16:56:59 +00:00
https://wentasah.mojeid.cz/#iQiZsiSMeH
2f8c5bd4c9 2018-12-30 00:35:20 +00:00
duncan_bayne
4eb86176e6 Made blog link an actual link. 2018-12-27 21:52:24 +00:00
duncan_bayne
b11bf6f605 Add version numbers 2018-12-27 21:51:14 +00:00
duncan_bayne
46a2ef38a5 2018-12-27 21:49:52 +00:00
flpgdt@f64318f00d9e1c9535e11f5d27c80c1d799cce00
ace6065c30 Added a comment 2018-12-22 20:06:32 +00:00
Chymera
fd85095bf4 Added a comment 2018-12-20 23:13:01 +00:00
Chymera
0c54ac9971 2018-12-20 22:57:54 +00:00
yarikoptic
b17168876e initial report 2018-12-20 19:42:39 +00:00
CandyAngel
ab4a1bed95 Added a comment 2018-12-20 09:19:15 +00:00
ga@2217a6e07239bc6b36af2a9134b2647fdebcabcd
246ac9f1ce Added a comment: Worked around 2018-12-19 21:09:43 +00:00
Joey Hess
6d381df0e6
sync --content: Fix dropping unwanted content from the local repository
This fixes a bug with the numcopies counting when using sync --content.
It did not always pass the local repo uuid to handleDropsFrom, and so the
numcopies counting was off by one, and unwanted local content would only be
dropped when there were numcopies+1 remote copies.

Also, support dropping local content that has reached an
exporttree remote that is not untrusted (currently only S3 remotes
with versioning).
2018-12-18 13:58:12 -04:00
Joey Hess
9438ecc30b
whaaa 2018-12-18 12:15:43 -04:00
rangedrew
c39966c072 2018-12-18 07:22:48 +00:00
rangedrew
14cb97c225 2018-12-18 07:21:39 +00:00
Joey Hess
17b9756300
bug report 2018-12-17 16:09:48 -04:00
gueux
f8ccfa3694 2018-12-12 09:39:51 +00:00
gueux
1d755720b9 Added a comment 2018-12-11 21:23:38 +00:00
Joey Hess
acecf8b6c9
followup 2018-12-11 16:46:24 -04:00
gueux
c4b6115f76 removed 2018-12-11 18:41:43 +00:00
gueux
99ecb1bc7a 2018-12-11 18:41:14 +00:00
gueux
8a056286ef Added a comment: strace 2018-12-11 18:36:50 +00:00
gueux
b5de22b9f0 2018-12-11 18:10:39 +00:00
Joey Hess
bbf7dcc193
fix bugs involving v7 unlocked files and direct mode
* Fix bug upgrading from direct mode to v7: when files in the repository
  were already committed as v7 unlocked files elsewhere, and the
  content was present in the direct mode repository, the annexed files
  got their full content checked into git.
* Fix bug that caused v7 unlocked files in a direct mode repository
  to get locked when committing.

This commit was sponsored by Nick Piper on Patreon.
2018-12-11 13:47:35 -04:00
Joey Hess
6718a9b200
Merge branch 'master' of ssh://git-annex.branchable.com 2018-12-11 13:13:41 -04:00
Joey Hess
fcf9ef6d62
bug 2018-12-11 13:13:22 -04:00
anarcat
5ce5129bb6 fixed in 11dbb829bc 2018-12-11 17:12:57 +00:00
anarcat
5e3323bc4a rename forum/why_are_all_those_files_modified.mdwn to bugs/why_are_all_those_files_modified.mdwn 2018-12-11 17:09:47 +00:00
yarikoptic
c7a48ca1d8 tuned up description and added my meta to find it later 2018-12-11 16:51:54 +00:00
anarcat
7c944336cb forgot to sign that bug! will try to test this as soon as the next release comes out - thanks! 2018-12-11 16:51:18 +00:00
yarikoptic
04716a623e Initial report on addurl file:/// not working on Windows 2018-12-11 16:50:31 +00:00
Joey Hess
dd554fabb8
fix link on download page and add a few more to break later 2018-12-10 12:55:13 -04:00
Joey Hess
0870838337
Merge branch 'master' of ssh://git-annex.branchable.com 2018-12-10 12:54:58 -04:00
Joey Hess
3f587d447a
fix webdav reversion
webdav: When initializing, avoid trying to make a directory at the top of
the webdav server, which could never accomplish anything and failed on
nextcloud servers. (Reversion introduced in version 6.20170925.)

This commit was sponsored by mo on patreon.
2018-12-10 12:49:51 -04:00
yarikoptic
b44aea6da9 2018-12-10 16:14:00 +00:00
yarikoptic
f0b1718cb0 2018-12-10 16:13:40 +00:00
Joey Hess
61b1f9deaf
close 2018-12-09 11:44:53 -04:00
Joey Hess
c34474830b
close 2018-12-09 11:41:34 -04:00
Joey Hess
41b9d77201
comment 2018-12-09 11:14:09 -04:00
Ilya_Shlyakhter
85651be9c4 added bug report about git index lock being held during concurrent operations 2018-12-07 17:08:25 +00:00
xsteadfastx
8e3b73caf7 Added a comment 2018-12-06 09:09:48 +00:00
StéphaneGL
b6ea79d09e Added a comment 2018-12-05 22:58:57 +00:00
Joey Hess
8f1701a440
close 2018-12-05 12:14:33 -04:00
xsteadfastx
b30fb7fad7 Added a comment 2018-12-05 09:57:36 +00:00
lukasstraub2@bbbb2ef261a0994edda5f5f55999dfac5998d4e5
2e4b39b307 Added a comment: Workaround 2018-12-04 19:37:38 +00:00
Joey Hess
635692410b
Merge branch 'master' of ssh://git-annex.branchable.com 2018-12-04 14:18:31 -04:00
Joey Hess
51eea6fcfa
close 2018-12-04 13:15:16 -04:00
Joey Hess
32234ebe23
respond 2018-12-04 13:13:57 -04:00
anarcat
76ed3303df Added a comment: thanks! 2018-12-04 17:10:16 +00:00
Joey Hess
aa8243df4c
dropunused edge case when annex.thin caused unused object to be modified
dropunused: When an unused object file has gotten modified, eg due to
annex.thin being set, don't silently skip it, but display a warning and let
--force drop it.

This commit was sponsored by Ethan Aubin.
2018-12-04 12:20:34 -04:00
Joey Hess
96d2000570
analysis, already fixed 2018-12-04 12:17:48 -04:00
xsteadfastx
e4dedb352a Added a comment 2018-12-04 09:46:47 +00:00
anarcat
956d8377d5 oops, problem between keyboard and chair? 2018-12-04 01:54:11 +00:00
anarcat
13fd7cf00e some user confusion with v7 repos 2018-12-04 01:50:29 +00:00
StéphaneGL
20d811f55a 2018-12-03 18:40:17 +00:00
Joey Hess
b71d62b1aa
Merge branch 'master' of ssh://git-annex.branchable.com 2018-12-03 14:36:22 -04:00
StéphaneGL
8f58627a48 Added a comment 2018-12-03 18:22:10 +00:00
StéphaneGL
e29f5c4b26 removed 2018-12-03 18:21:38 +00:00
StéphaneGL
d502eebd42 Added a comment 2018-12-03 18:20:29 +00:00
Joey Hess
2544a24765
merge 2018-12-03 13:42:56 -04:00
Joey Hess
41eb9d405e
followup 2018-12-03 13:31:20 -04:00
lukasstraub2@bbbb2ef261a0994edda5f5f55999dfac5998d4e5
1079b5b296 2018-11-30 20:51:48 +00:00
Joey Hess
5a741c624e
Make bittorrent special remote work w/o btshowmetainfo installed when it was build with torrentparser. Thanks, Robert Schütz 2018-11-27 12:31:06 -04:00
robert.schuetz@7942237bf71a2ae4f5d3cb047d167612b8c9e311
15d3ecc9cf 2018-11-26 14:26:08 +00:00
TroisSinges
a79e467c10 Added a comment 2018-11-23 07:33:55 +00:00
TroisSinges
f8099b45af 2018-11-23 07:31:07 +00:00
jwiklund@3ecbaacd157648da5a91042b6aa44f36b107b5c7
debd21ccba 2018-11-22 16:43:49 +00:00
jwiklund@3ecbaacd157648da5a91042b6aa44f36b107b5c7
b23aba36f9 2018-11-22 16:42:37 +00:00
jwiklund@3ecbaacd157648da5a91042b6aa44f36b107b5c7
3c1df9f4dd 2018-11-22 16:40:41 +00:00
andrew
e95e15f65b Added a comment 2018-11-20 21:56:03 +00:00
andrew
2d03a4fbd2 Added a comment 2018-11-20 21:42:11 +00:00
marvin@3296bf3c446430c3b2ebc32b5c784ee976620847
987af8d251 2018-11-20 19:34:26 +00:00
Joey Hess
636e6ab67a
close 2018-11-20 11:45:30 -04:00
yarikoptic
61f53f09cf initial FTBFS on sid 2018-11-20 03:09:53 +00:00
yarikoptic
76fc9af4c1 Added a comment 2018-11-19 22:46:01 +00:00
Joey Hess
171dbe81c6
finally done with this 2018-11-19 18:44:03 -04:00
Joey Hess
9c0cece35a
followup 2018-11-19 18:12:03 -04:00
Joey Hess
e053df9451
followup 2018-11-19 17:49:59 -04:00
Joey Hess
b82b775639
followup 2018-11-19 17:45:57 -04:00
yarikoptic
a078de4667 Added a comment: reconfirming with new build option 2018-11-19 21:33:34 +00:00
Joey Hess
36d4fee6b0
followup 2018-11-19 17:31:16 -04:00
yarikoptic
cd18edf858 Added a comment 2018-11-19 21:14:10 +00:00
yarikoptic
58a496d8a2 Added a comment 2018-11-19 21:10:48 +00:00
Joey Hess
362605d6c6
followup 2018-11-19 17:07:13 -04:00
Joey Hess
d418557b5e
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-19 17:01:15 -04:00
Joey Hess
ed27662e96
comment 2018-11-19 17:00:56 -04:00
yarikoptic
e52063d046 Added a comment 2018-11-19 20:55:27 +00:00
Joey Hess
12a8634d6b
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-19 16:50:46 -04:00
Joey Hess
ff9d1ed203
clarify 2018-11-19 16:50:17 -04:00
yarikoptic
1475fce58d Added a comment 2018-11-19 20:26:33 +00:00
yarikoptic
7c024f6882 Added a comment 2018-11-19 19:25:35 +00:00
Joey Hess
9127fe4821
add DebugLocks build flag
Using the method described in
https://www.fpcomplete.com/blog/2018/05/pinpointing-deadlocks-in-haskell
but my own code to implement it, and with callstacks added.

This work is supported by the NIH-funded NICEMAN (ReproNim TR&D3) project.
2018-11-19 15:02:43 -04:00
Joey Hess
e612633999
rethrow ExitStatus exceptions
Several git-annex commands want to exit right away, but that's an
exception, which is caught due to 39fbaa0682.
So, re-throw it.
2018-11-19 13:18:08 -04:00
Joey Hess
9508e02ad9
comment 2018-11-19 13:17:42 -04:00
Joey Hess
6bbcccc5bb
comment 2018-11-19 13:09:45 -04:00
Joey Hess
17fe45fc6f
comment 2018-11-19 12:41:37 -04:00
yarikoptic
9b1c371c13 Added a comment: dependencies information 2018-11-19 15:54:14 +00:00
yarikoptic
aee99a7ce5 2018-11-19 15:39:27 +00:00
yarikoptic
fb079c1dcb Added a comment 2018-11-19 04:08:37 +00:00
yarikoptic
2770e1791a Added a comment 2018-11-19 03:18:23 +00:00
yarikoptic
dacb3603dc initial FTBFS on sid 2018-11-18 19:04:50 +00:00
michael.hanke@c60e12358aa3fc6060531bdead1f530ac4d582ec
f39db41d20 Added a comment: git annex init --version=6 leaves repo dirty 2018-11-18 17:00:21 +00:00
andrew
64355f8c08 Added a comment 2018-11-17 19:07:07 +00:00
yarikoptic
900bf34362 Added a comment 2018-11-16 22:12:58 +00:00
yarikoptic
958d037467 initial suggestion to have ghc version reported in annex version output 2018-11-16 22:06:51 +00:00
yarikoptic
4238064600 Added a comment 2018-11-15 20:43:27 +00:00
Joey Hess
39fbaa0682
catch all (non-async) exceptions when running a commandAction
When a command is operating on multiple files and there's an error with
one, try harder to continue to the rest. (As was already done for many
types of errors including IO errors.)

This handles cases like lockContentForRemoval throwing an exception when
the content is already locked. Just because a drop of one file fails, does
not mean it shouldn't go on to try to drop other files.

I looked over uses of `giveup` in Command/*; there are too many to check
them all extensively, but none stood out as being problems that should let
one commandAction stop running other commandActions. Worst case, something
bad will happen and rather than stopping right away with an error,
git-annex will display multiple errors as it fails over and over on each
file. I don't think I ever really intended `error`/`giveup` to stop other
commandActions; this was a relic of old confusion over haskell exception
handling.

Test suite passes.

This commit was sponsored by Ethan Aubin.
2018-11-15 15:59:43 -04:00
Joey Hess
04b5ed09d8
close old unreproducible bug report 2018-11-15 15:17:49 -04:00
Joey Hess
ee9c974e06
followup 2018-11-15 14:37:25 -04:00
Joey Hess
ca55119749
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-15 14:32:26 -04:00
Joey Hess
025f90bfcc
followup 2018-11-15 14:30:38 -04:00
yarikoptic
98825e26d8 Added a comment 2018-11-15 18:06:10 +00:00
Joey Hess
05bfce7ca8
comments 2018-11-15 13:36:20 -04:00
Joey Hess
71cc9cfaa2
improve smudge --clean behavior on outside work tree files
smudge: When passed a file located outside the working tree, eg by git
diff, avoid erroring out.

This commit was sponsored by Ewen McNeill on Patreon.
2018-11-15 13:04:40 -04:00
sorsasampo@35b3d76c4c73ffc3f2c89e965c47a3f6a2721228
1815b027a2 2018-11-15 16:03:12 +00:00
yarikoptic
90f86575cb Added a comment: my bad 2018-11-15 12:34:58 +00:00
yarikoptic
5f53dcbf80 Added a comment 2018-11-13 20:02:18 +00:00
Joey Hess
d65df7ab21
improve messages around export conflicts
When an export conflict prevents accessing a special remote, be clearer
about what the problem is and how to resolve it.

This commit was sponsored by Trenton Cronholm on Patreon.
2018-11-13 15:50:06 -04:00
Joey Hess
e2589670da
update slightly 2018-11-13 15:13:44 -04:00
Joey Hess
4b14438c9a
suggestion 2018-11-13 14:04:37 -04:00
Joey Hess
381bc4ab34
followup 2018-11-13 13:50:59 -04:00
Joey Hess
170b88b95e
followup 2018-11-13 13:50:15 -04:00
Joey Hess
f4e0719aa3
followup and close 2018-11-13 13:34:12 -04:00
https://launchpad.net/~barthelemy
ab4be761be Added a comment: cannot reproduce on git-annex 6.20180913 2018-11-13 09:32:55 +00:00
yarikoptic
329599428b Added a comment: yeap -- it is netbase which is needed 2018-11-13 04:20:28 +00:00
yarikoptic
84b1fb72d4 Added a comment 2018-11-13 04:14:28 +00:00
Joey Hess
6f69ede2ea
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-12 17:31:52 -04:00
Joey Hess
a720f377af
bug report 2018-11-12 17:19:33 -04:00
anarcat
40dddf9ee1 Added a comment: probably fixed indeed 2018-11-12 20:54:05 +00:00
https://launchpad.net/~barthelemy
05d2cd9e14 2018-11-12 20:46:59 +00:00
Joey Hess
5d49408871
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-12 16:40:21 -04:00
Joey Hess
1e4111a1d2
close dup of fixed issue 2018-11-12 16:16:26 -04:00
Joey Hess
ff9bd9620e
Fix resume of download of url when the whole file content is already actually downloaded
Don't much like that there's no way to distinguish between having the whole
content and having an old version of the file that's bigger, but of course
resuming a http transfer can always yield the wrong result if the file on
the http server is changing, and git-annex will detect that when it
verifies the downloaded content.

This work is supported by the NIH-funded NICEMAN (ReproNim TR&D3) project.
2018-11-12 16:08:47 -04:00
Joey Hess
c24bdfd689
response 2018-11-12 15:44:44 -04:00
yarikoptic
19f7bd294f Added a comment 2018-11-12 19:34:00 +00:00
yarikoptic
7fe1a83f7f Added a comment 2018-11-12 19:27:48 +00:00
yarikoptic
47f6bfdb7e Added a comment 2018-11-12 19:15:53 +00:00
Joey Hess
563f8b7c0f
followup 2018-11-12 14:54:50 -04:00
Joey Hess
e4125318d8
response 2018-11-12 14:52:30 -04:00
yarikoptic
396b6134ac added my meta 2018-11-12 18:02:03 +00:00
yarikoptic
6f0cbbd204 initial report on annex not properly considering http somehow while within docker 2018-11-12 18:00:18 +00:00
Joey Hess
58d1b2510c
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-12 13:26:10 -04:00
yarikoptic
9d47fcac49 Added a comment 2018-11-12 17:25:43 +00:00
Joey Hess
5ce078da92
bash completion fix
Fix bash completion of "git annex" to propertly handle files with spaces
and other problem characters. (Completion of "git-annex" already did.)

This commit was sponsored by Jake Vosloo on Patreon.
2018-11-12 13:23:05 -04:00
andrew
34d77ecdfd 2018-11-12 16:51:12 +00:00
yarikoptic
8f8b746f67 Added a comment: reply on the issue 2018-11-12 16:48:08 +00:00
andrew
b3d6b2dad9 Added a comment 2018-11-12 16:37:44 +00:00
andrew
4184878218 2018-11-12 16:36:26 +00:00
Joey Hess
d01c7c173c
response 2018-11-12 12:10:40 -04:00
Joey Hess
5bb2c72b6d
followup 2018-11-12 12:03:39 -04:00
Joey Hess
911f75232b
followup 2018-11-12 11:49:44 -04:00
Joey Hess
398bac4530
not dup 2018-11-12 11:23:56 -04:00
xelxebar
cd5c53ca60 2018-11-12 03:28:38 +00:00
andrew
2429763490 Added a comment 2018-11-12 03:17:48 +00:00
andrew
8853f6b13c 2018-11-11 21:39:56 +00:00
andrew
87efebb590 Added a comment 2018-11-11 21:35:26 +00:00
andrew
97453224ed 2018-11-11 21:33:37 +00:00
yarikoptic
b1a5ea5f53 original double complain on get -J 2018-11-08 18:05:56 +00:00
yarikoptic
1011d957aa Added a comment 2018-11-06 20:01:08 +00:00
Joey Hess
6ecd55a9fa
Fixed some other potential hangs in the P2P protocol
Finishes the start made in 983c9d5a53, by
handling the case where `transfer` fails for some other reason, and so the
ReadContent callback does not get run. I don't know of a case where
`transfer` does fail other than the locking dealt with in that commit, but
it's good to have a guarantee.

StoreContent and StoreContentTo had a similar problem.
Things like `getViaTmp` may decide not to run the transfer action.
And `transfer` could certianly fail, if another transfer of the same
object was in progress. (Or a different object when annex.pidlock is set.)

If the transfer action was not run, the content of the object would
not all get consumed, and so would get interpreted as protocol commands,
which would not go well.

My approach to fixing all of these things is to set a TVar only
once all the data in the transfer is known to have been read/written.
This way the internals of `transfer`, `getViaTmp` etc don't matter.

So in ReadContent, it checks if the transfer completed.
If not, as long as it didn't throw an exception, send empty and Invalid
data to the callback. On an exception the state of the protocol is unknown
so it has to raise ProtoFailureException and close the connection,
same as before.

In StoreContent, if the transfer did not complete
some portion of the DATA has been read, so the protocol is in an unknown
state and it has to close the conection as well.

(The ProtoFailureMessage used here matches the one in Annex.Transfer, which
is the most likely reason. Not ideal to duplicate it..)

StoreContent did not ever close the protocol connection before. So this is
a protocol change, but only in an exceptional circumstance, and it's not
going to break anything, because clients already need to deal with the
connection breaking at any point.

The way this new behavior looks (here origin has annex.pidlock = true so will
only accept one upload to it at a time):

git annex copy --to origin -J2
copy x (to origin...) ok
copy y (to origin...)
  Lost connection (fd:25: hGetChar: end of file)

This work is supported by the NIH-funded NICEMAN (ReproNim TR&D3) project.
2018-11-06 14:52:32 -04:00
Joey Hess
9adc0b3417
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-06 13:01:00 -04:00
Joey Hess
983c9d5a53
git-annex-shell: fix transfer hang
Fix hang when transferring the same objects to two different clients at the
same time. (Or when annex.pidlock is used, two different objects to the
same or different clients.)

Could also potentially occur if a client was downloading an object and
somehow lost connection but that git-annex-shell was still running and
holding the transfer lock.

This does not guarantee that, if `transfer` fails for some other reason,
a DATA response will be made.

This work is supported by the NIH-funded NICEMAN (ReproNim TR&D3) project.
2018-11-06 13:00:37 -04:00
yarikoptic
68adc08502 initial report on failing to get a file after it actually got to tmp/ fully 2018-11-06 03:43:40 +00:00
Joey Hess
0a0242224d
full analysis 2018-11-05 18:25:55 -04:00
Joey Hess
44769d9285
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-05 17:13:16 -04:00
Joey Hess
14075afbd7
updated analysis 2018-11-05 17:12:19 -04:00
yarikoptic
0f0a6336cd Added a comment 2018-11-05 21:01:35 +00:00
yarikoptic
2003b42efb Added a comment 2018-11-05 20:53:48 +00:00
Joey Hess
c31ea81ee9
pidlock 2018-11-05 15:37:46 -04:00
Joey Hess
3c50fa130c
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-05 14:39:18 -04:00
Joey Hess
3ef13f128f
followup on bug triage 2018-11-05 14:38:32 -04:00
Joey Hess
fd128e5a3f
code review and response 2018-11-05 14:28:02 -04:00
marvin@3296bf3c446430c3b2ebc32b5c784ee976620847
4d11214908 Added a comment 2018-11-05 18:22:49 +00:00
yarikoptic
aabfdca800 Added a comment 2018-11-05 17:31:46 +00:00
Joey Hess
5f213d45b1
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-05 12:34:54 -04:00
Joey Hess
0cb6d14383
followup 2018-11-05 12:34:27 -04:00
yarikoptic
13f9e79df1 removed 2018-11-05 16:03:47 +00:00
yarikoptic
02c74a0dfd Added a comment 2018-11-05 16:00:53 +00:00
yarikoptic
eb218d4e59 Added a comment 2018-11-05 15:57:17 +00:00
Joey Hess
42f1ea72de
followup 2018-11-05 11:47:58 -04:00
Joey Hess
cb69b77625
fix link 2018-11-05 11:39:04 -04:00
anarcat
16cbeb6aff Added a comment: oops 2018-11-03 19:52:48 +00:00
spwhitton
f09f846fea Added a comment 2018-11-03 19:41:32 +00:00
anarcat
4241de01c8 p2pstdio doesn't exist in stretch and buster doesn't degrade gracefully 2018-11-03 19:30:29 +00:00
yarikoptic
c6cb372a9d Added a comment: tests fail - can't build to test the change 2018-11-02 21:51:16 +00:00
yarikoptic
4d24b712b0 Added a comment 2018-11-02 19:58:06 +00:00
Joey Hess
0c05b92b7c
Merge branch 'master' of ssh://git-annex.branchable.com 2018-11-02 13:45:57 -04:00
Joey Hess
c371a8b10e
followup 2018-11-02 13:42:57 -04:00
andrew
af385e2d34 Added a comment 2018-11-01 12:15:35 +00:00
andrew
937d9d545a Added a comment 2018-11-01 12:02:59 +00:00
yarikoptic
0753ad46c2 It was "user error", things work now properlyish 2018-11-01 03:53:02 +00:00
Joey Hess
37d00ca671
response 2018-10-31 13:50:51 -04:00
Adam.Schmalhofer@245dc7fa3c05299fc8973ae4241bcab07cd36140
506283c3f9 initial issue description 2018-10-31 15:51:04 +00:00
Ilya_Shlyakhter
8673c18f41 removed 2018-10-31 14:53:50 +00:00
Joey Hess
1428568554
retry when sqlite throws ErrorIO
I suspect this may be due to SQLITE_IOERR_SHORT_READ, but have not
verified.

I was able to reproduce it on Linux after running the test suite in a loop
for 1-3 hours until it failed.

The WAL mode entry change in 3963c5fcf5
may have hidden the problem I was seeing; I have not seen an ErrorIO
since then.
2018-10-30 18:06:38 -04:00
Ilya_Shlyakhter
24419efa35 Added a comment 2018-10-29 21:10:29 +00:00
Ilya_Shlyakhter
6b5f2ecf0e Added a comment 2018-10-29 21:08:55 +00:00
Joey Hess
7a050660d6
ummmmm 2018-10-29 16:48:02 -04:00
Joey Hess
4431b82bce
migrate: Fix failure to migrate from URL keys. (Reversion introduced in version 6.20180926) 2018-10-29 16:36:36 -04:00
Joey Hess
d73f92d8bc
Merge branch 'master' of ssh://git-annex.branchable.com 2018-10-29 16:01:46 -04:00
Joey Hess
c472c268c4
webapp: Fixed a crash when adding a git remote.
Reversion introduced in 2b66492d6e which added a new cache that needs to be
cleared.
2018-10-29 16:01:08 -04:00
Ilya_Shlyakhter
b6e90fd18a Added a comment 2018-10-29 19:48:36 +00:00
Ilya_Shlyakhter
9b268cdcc9 added git-annex-migrate failure 2018-10-29 19:22:24 +00:00
Joey Hess
64a369a1e2
followup 2018-10-29 15:14:34 -04:00
Joey Hess
e32282aa2c
followup 2018-10-29 15:11:40 -04:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
8e2834e5b4 2018-10-28 15:00:59 +00:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
46f65cc657 2018-10-28 14:55:13 +00:00
Joey Hess
6fd37fb016
Merge branch 'v7' 2018-10-26 13:52:09 -04:00
Joey Hess
3af29b3ba9
When annex.thin is set, allow hard links to be made between executable work tree files and annex objects.
This is safe, because while the annex object ends up executable,
there were already at least two other cases where it ended up executable:

1. git add an an executable file
2. chmod +x of a a non-executable worktree file that was hard linked to the
   annex object

After copy/hard link, it always fixes up the permissions to match the mode
of the worktree file, so when an executable annex object gets hard linked
to a non-executable worktree file, its execute bit gets removed.

Commit b7c8bf5274 already *said* it would do
this; I suspect the line of code I've removed was included in that commit
accidentially.

Also improves annex.thin documentation.

This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
2018-10-26 13:51:43 -04:00
Joey Hess
c7885491b2
clarifications 2018-10-26 13:51:15 -04:00
Joey Hess
e7e9c5744f
followup 2018-10-26 13:12:06 -04:00
Joey Hess
361740a112
close bug report, open todo item 2018-10-26 13:03:18 -04:00
marvin@3296bf3c446430c3b2ebc32b5c784ee976620847
accc753eaf Added a comment 2018-10-25 21:00:32 +00:00
marvin@3296bf3c446430c3b2ebc32b5c784ee976620847
03e375fc65 Added a comment 2018-10-25 10:23:50 +00:00
Ilya_Shlyakhter
6d695f51cf added bug - creating git-annex-move not using parallelism? 2018-10-24 18:32:21 +00:00
Ilya_Shlyakhter
2ffa54ea71 added report of a multithreading-related bug with git-annex-drop 2018-10-24 17:08:38 +00:00
Ilya_Shlyakhter
859509fbb3 Added a comment 2018-10-24 16:01:53 +00:00
seantparsons
9505cd52be 2018-10-23 20:19:55 +00:00
yarikoptic
e7877cce84 Added a comment 2018-10-23 03:04:49 +00:00
Joey Hess
94aa0e2f64
fix strange test failure
It was trying to git annex adjust when in a direct mode repo, and that
of course fails. What I don't understand though, is how the test suite
managed to work before, when it was clearly checking the wrong thing.
Since the right way to fix it was obvious, I have not bisected.

This work is supported by the NIH-funded NICEMAN (ReproNim TR&D3) project.
2018-10-22 16:51:09 -04:00
yarikoptic
0e7c2655d9 Added a comment 2018-10-22 20:07:38 +00:00
Joey Hess
ede54b93ea
Merge branch 'master' of ssh://git-annex.branchable.com 2018-10-22 15:56:01 -04:00
Joey Hess
08b7ac6643
followup 2018-10-22 15:55:51 -04:00
Joey Hess
9fdd91816d
followup 2018-10-22 15:53:13 -04:00
Ilya_Shlyakhter
06007d795d Added a comment 2018-10-22 19:22:30 +00:00
yarikoptic
1cfd2c2b96 initial report on FTBS 2018-10-22 18:20:14 +00:00
yarikoptic
8a9d505409 Added a comment: stalling - also with =false 2018-10-22 17:34:28 +00:00
Joey Hess
ba0bbced51
source git-annex-install so it it can add git-annex to PATH
This commit was sponsored by Jack Hill on Patreon.
2018-10-22 13:22:10 -04:00
Joey Hess
ff9ba1f4d3
improve response 2018-10-22 13:10:17 -04:00
Joey Hess
41d6966747
followup 2018-10-22 13:07:40 -04:00
Joey Hess
d6b2468b4c
Merge branch 'master' of ssh://git-annex.branchable.com 2018-10-22 13:01:06 -04:00
Joey Hess
c24e255de1
Fix concurrency bug that occurred on the first download from an exporttree remote
Block other threads while the export database is being constructed (or
updated) by the first thread to try to access it.

This work is supported by the NIH-funded NICEMAN (ReproNim TR&D3) project.
2018-10-22 12:59:10 -04:00
Joey Hess
3286e68063
analysis 2018-10-22 12:39:31 -04:00
Joey Hess
5012f07630
followup 2018-10-22 12:34:26 -04:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
1728d59a2b 2018-10-21 23:06:33 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
8d9680c662 2018-10-21 22:52:54 +00:00
andrey_utkin@49e37627b3060c40292113d73d7ffbf317233e62
c94e62cab5 Added a comment 2018-10-18 23:34:27 +00:00
andrey_utkin@49e37627b3060c40292113d73d7ffbf317233e62
82040ae2aa Added a comment 2018-10-18 20:18:01 +00:00
Joey Hess
5ddfd4f524
response 2018-10-18 15:52:48 -04:00
g@aaed65f19d6c3a2a18c33da828e66c7bb915e65a
435108a688 Added a comment: workaround: setting LC_ALL=C 2018-10-18 08:55:19 +00:00
ewen
177a8f9716 Added a comment: Synology NAS 6.2.1-23824 2018-10-18 00:00:34 +00:00
andrey_utkin@49e37627b3060c40292113d73d7ffbf317233e62
474a9d7258 Added a comment 2018-10-17 22:07:15 +00:00
andrey_utkin@49e37627b3060c40292113d73d7ffbf317233e62
9f740c4613 2018-10-17 21:41:10 +00:00
Joey Hess
b2bafdb2fc
v6: Fix database inconsistency
That could cause git-annex to get confused about whether a locked file's
content was present, when the object file got touched.

Unfortunately this means more work sometimes when annex.thin is set,
since it has to checksum the file to tell if it's still got the right
content.

Had to suppress output when inAnnex calls isUnmodified, otherwise
"(checksum...)" would be printed in places it ought not to be,
eg "git annex get" could turn out not need to get anything, and
so only display that.

This commit was sponsored by Ole-Morten Duesund on Patreon.
2018-10-16 13:51:37 -04:00
Joey Hess
6498643caf
bug report 2018-10-16 11:41:12 -04:00
pz63@5ea0a27986d782e467e1ebef6eb31ba440cc58d5
fd8a599a83 Added a comment 2018-10-12 15:49:01 +00:00
yarikoptic
3e3b5e6226 initial report on the problem of parallel get from exporter remote 2018-10-11 23:40:56 +00:00
anarcat
ff8e03689d Added a comment 2018-10-09 21:49:02 +00:00
Joey Hess
ca200c561d
followup 2018-10-08 12:47:02 -04:00
Joey Hess
e21afbf5ea
followup 2018-10-08 12:08:40 -04:00
Joey Hess
7f04d03688
response 2018-10-08 12:04:57 -04:00
git-annex.branchable.com@07c0f8919010cc703ae7eea746d9b494c153291f
f834955d9c 2018-10-07 20:09:27 +00:00
anarcat
6f6ccc0a4a link to the owncloudannex error 2018-10-07 18:04:47 +00:00
anarcat
9bb63b8171 cannot operate a webdav server hosted in a subdirectory 2018-10-07 18:00:35 +00:00
yarikoptic
cf9cd4f3d2 Added a comment 2018-10-05 04:30:31 +00:00
Joey Hess
6edad9be08
Merge branch 'master' of ssh://git-annex.branchable.com 2018-10-04 17:37:40 -04:00
Joey Hess
451171b7c1
clean up url removal presence update
* rmurl: Fix a case where removing the last url left git-annex thinking
  content was still present in the web special remote.
* SETURLPRESENT, SETURIPRESENT, SETURLMISSING, and SETURIMISSING
  used to update the presence information of the external special remote
  that called them; this was not documented behavior and is no longer done.

Done by making setUrlPresent and setUrlMissing only update presence info
for the web, and only when the url is a web url. See the comment for
reasoning about why that's the right thing to do.

In AddUrl, had to make it update location tracking, to handle the
non-web-url case.

This commit was sponsored by Ewen McNeill on Patreon.
2018-10-04 17:35:49 -04:00
yarikoptic
0d00230ca2 Added a comment: reporting back 2018-10-04 20:37:53 +00:00
Joey Hess
ca66e7b66a
followup 2018-10-04 15:53:33 -04:00
Joey Hess
d4bab34897
close 2018-10-04 15:33:37 -04:00
Joey Hess
99a24af0e7
close, not a bug in git-annex 2018-10-04 15:25:03 -04:00
Joey Hess
feff67aa63
response 2018-10-04 15:18:22 -04:00
Joey Hess
50c999bfa3
seems to work as desired 2018-10-04 15:03:39 -04:00
Joey Hess
b12b341c6d
close dup 2018-10-04 14:46:43 -04:00
Joey Hess
39d3995787
response 2018-10-04 14:11:38 -04:00
Joey Hess
bf9af05867
comment 2018-10-04 13:07:31 -04:00
yarikoptic
f6243734e4 Added a comment 2018-10-03 20:58:09 +00:00
Joey Hess
a93773246b
followup 2018-10-03 15:49:35 -04:00
CandyAngel
3a5fda1314 Added a comment 2018-10-03 08:01:25 +00:00
palindromos
1ee14c51e4 2018-10-02 14:15:24 +00:00
yarikoptic
8df00a084a 2018-10-01 17:40:05 +00:00
yarikoptic
6e41f970e8 2018-10-01 17:25:13 +00:00
yarikoptic
e8e9299d7d initial findings on the "smart HTTP" and git-annex 2018-10-01 17:13:58 +00:00
stefankangas@2fc5a0baba35168e9f9b5b72d5204558fd964c32
e4e1428dfa Added a comment: Same issue on OSX / git-annex 6.20180807 2018-10-01 12:49:28 +00:00
yarikoptic
ee82a976da Added a comment: "minimal" reproducible case 2018-09-26 16:03:14 +00:00
yarikoptic
23785cd40e Added a comment 2018-09-26 13:47:36 +00:00
yarikoptic
e4ff6931e5 Added a comment 2018-09-26 00:10:41 +00:00
yarikoptic
613c3f7674 Added a comment: reproducible, no locking message, many "duplicate" files 2018-09-26 00:06:29 +00:00
yarikoptic
42c60101d8 Added a comment 2018-09-25 22:36:43 +00:00
yarikoptic
216c6daa30 Added a comment 2018-09-25 22:28:49 +00:00
tai@83c0edf140a3f133031751b49c7131d9535a3fcc
6415730acf Added a comment: Thanks 2018-09-25 19:52:03 +00:00
tai@83c0edf140a3f133031751b49c7131d9535a3fcc
152bcf582f I the missing verb ;) 2018-09-25 19:50:32 +00:00
Joey Hess
177e45517f
improve back-compat of post-receive hook
* init: Improve generated post-receive hook, so it won't fail when
  run on a system whose git-annex is too old to support git-annex post-receive
* init: Update the post-receive hook when re-run in an existing repository.

This commit was sponsored by Jack Hill on Patreon.
2018-09-25 15:02:12 -04:00
Joey Hess
ce67aeb52f
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-25 14:12:26 -04:00
Joey Hess
75d769d0f3
clean up old misplaced comment 2018-09-25 14:07:03 -04:00
Joey Hess
16cbecbd09
Revert "clean P2P protocol shutdown on EOF"
This reverts commit b18fb1e343.

That broke support for old git-annex-shell before p2pstdio was added.

The immediate problem is that postAuth had a fallthrough case
that sent an error back to the peer, but sending an error back when the
connection is closed is surely not going to work.

But thinking about it some more, making every function that uses receiveMessage
need to handle ProtocolEOF adds a lot of complication, so I don't want
to do that.

The commit only cleaned up the test suite output a tiny bit, so I'm just
gonna revert it for now.
2018-09-25 14:04:12 -04:00
yarikoptic
03c8fbd718 Added a comment 2018-09-25 17:58:25 +00:00
yarikoptic
3b906594cf Added a comment 2018-09-25 17:56:58 +00:00
yarikoptic
548390035d Added a comment: resolved! 2018-09-25 17:55:30 +00:00
Joey Hess
26a02cb386
display error when an invalid url is downloaded
download is documented as displaying an error when download fails, but
it didn't when the url was not valid at all. That leads to confusing
behavior.

Also, display the url with --debug
2018-09-25 13:38:20 -04:00
Joey Hess
0d9d3cc9c4
reproed 2018-09-25 13:18:45 -04:00
Joey Hess
58e5e01ba0
sheesh 2018-09-25 13:08:10 -04:00
Joey Hess
be3dcd80b0
followup 2018-09-25 13:04:09 -04:00
Joey Hess
7c874782ba
followup 2018-09-25 12:56:14 -04:00
Joey Hess
e05b143560
close, fixed in git 2018-09-25 12:54:17 -04:00
Joey Hess
df2518af5a
comment 2018-09-25 12:34:21 -04:00
yarikoptic
e2ff597850 Added a comment 2018-09-25 16:18:58 +00:00
yarikoptic
8ee8e14ae8 Added a comment 2018-09-25 16:15:54 +00:00
yarikoptic
42e000f45f Added a comment: same as another one? 2018-09-25 15:35:15 +00:00
yarikoptic
be7ef2c519 initial report about get'ing from exported public S3 2018-09-25 15:33:58 +00:00
yarikoptic
29ae96a191 Added a comment 2018-09-25 15:27:13 +00:00
Ilya_Shlyakhter
9e075fdbfa Added a comment 2018-09-25 15:24:55 +00:00
yarikoptic
b9016a7d7e initial report about stalling ssh 2018-09-25 13:48:39 +00:00
yarikoptic
42480e8ce6 impossible to login report 2018-09-25 13:37:33 +00:00
yarikoptic
abf3d8ea15 initial report about standalone out of date 2018-09-25 13:31:05 +00:00
yarikoptic
12e6d322ca Added a comment 2018-09-24 19:33:41 +00:00
Joey Hess
35db45a1a3
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-24 15:06:03 -04:00
Joey Hess
67615bda8d
thoughts 2018-09-24 15:05:41 -04:00
yarikoptic
3c4cb7e957 Added a comment 2018-09-24 18:05:15 +00:00
yarikoptic
81c51fae30 Added a comment: downgrading helped! 2018-09-24 17:56:42 +00:00
Joey Hess
09716835c6
Merge branch 'master' of ssh://git-annex.branchable.com 2018-09-24 13:21:54 -04:00
Joey Hess
cc82f81227
More FreeBSD build fixes.
Untested, on FreeBSD but enough to fix the listed build errors.

Seems that System.Posix.Files must have used to export this stuff and it
was split.

This commit was sponsored by Peter on Patreon.
2018-09-24 11:25:56 -04:00
gueux
ccd6e58b49 Added a comment 2018-09-24 09:03:13 +00:00
tai@83c0edf140a3f133031751b49c7131d9535a3fcc
28ee26e049 2018-09-23 21:34:51 +00:00
bremner
35d08f7cda Added a comment: Dropped the firewall, no change. Maybe it's IPv6? 2018-09-22 18:56:13 +00:00
bremner
22ec386970 removed 2018-09-22 18:39:21 +00:00
bremner
cbcb7d9fa1 Added a comment: Similar failure with one host running 6.20180913-1 2018-09-22 18:38:43 +00:00
bremner
5cadd08f42 Added a comment: Similar failure with one host running 6.20180913-1 2018-09-22 18:38:24 +00:00
yarikoptic
13dc117e9c initial report on fd:19: hClose: resource vanished 2018-09-22 03:30:54 +00:00
Joey Hess
2aae6e84af
Support newlines in filenames.
Work around git cat-file --batch's protocol not supporting newlines by
running git cat-file not batched and passing the filename as a
parameter.

Of course this is quite a lot less efficient, especially because it
currently runs it multiple times to query for different pieces of
information.

Also, it has subtly different behavior when the batch process was
started and then some changes were made, in which case the batch process
sees the old index but this workaround sees the current index. Since
that batch behavior is mostly a problem that affects the assistant and has
to be worked around in it, I think I can get away with this difference.

I don't know of any other problems with newlines in filenames, everything
else in git I can think of supports -z. And git-annex's json output
supports newlines in filenames so downstream parsers from git-annex will be ok.
git-annex commands that use --batch themselves don't support newlines
in input filenames; using --json --batch is currently a way around that
problem.

This commit was sponsored by Ewen McNeill on Patreon.
2018-09-20 13:45:44 -04:00
Ilya_Shlyakhter
8a25b778f4 added bug related to file extensions 2018-09-19 16:46:51 +00:00
Ilya_Shlyakhter
6f1759db68 added bug related to file extensions for URIs from special remotes 2018-09-19 04:08:30 +00:00
yarikoptic
ff9cd8621a initial report on intermittent get -J failures over ssh 2018-09-18 14:48:37 +00:00
poelzi
9a38a8401f 2018-09-18 10:45:43 +00:00
duncan_bayne
8691a6158f Added a comment: Bug raised 2018-09-16 22:15:23 +00:00
torpidus
fea77a031f Added a comment 2018-09-16 18:40:44 +00:00
torpidus
a016b21f0b removed 2018-09-16 18:40:25 +00:00
torpidus
a80b7d46ed Added a comment 2018-09-16 18:39:57 +00:00