Commit graph

22201 commits

Author SHA1 Message Date
yarikoptic
1bdc63124f tuned up rushed report 2017-03-16 00:01:25 +00:00
yarikoptic
a7759f0898 2017-03-15 23:55:05 +00:00
Joey Hess
8dd3470da0
comment 2017-03-14 19:45:28 -04:00
https://launchpad.net/~stephane-gourichon-lpad
96b6d21d52 Added a comment: Isn't this procedure assuming that lost+found contains only uncorrupted previously annexed files? 2017-03-14 19:15:40 +00:00
Horus
5fd02cf20c Added a comment 2017-03-14 08:58:54 +00:00
ryan@d4f0c2d3daacb5ec3a2945bca06f66decad4bfb5
148b25c00d 2017-03-14 02:09:59 +00:00
Joey Hess
a20b0e0003
Merge branch 'master' of ssh://git-annex.branchable.com 2017-03-13 16:33:28 -04:00
Joey Hess
3d001276df
close; not a bug in git-annex 2017-03-13 16:32:12 -04:00
Joey Hess
d1ecdd04b2
Windows: Fix bug in shell script shebang lookup code that caused a "delayed read on closed handle" error.
The bug was that withFile closes the handle afterwards, but the content
of the file was not read due to laziness. Using readFile avoids it.

This commit was sponsored by Nick Daly on Patreon.
2017-03-13 16:20:52 -04:00
hobbie123
d489834369 Added a comment: windows password 2017-03-13 06:28:15 +00:00
lee@7614f42c1a6cc84dbc813df25d2f75ed54948e17
5d3e7aaa75 initial post 2017-03-12 17:59:12 +00:00
Michel
f585521ad0 Added a comment: Solution 2017-03-11 00:44:19 +00:00
CandyAngel
f68baf4ae6 Added a comment 2017-03-10 08:11:13 +00:00
Alan
9c7d71e4cb Added a comment: Issue still present 2017-03-10 07:32:16 +00:00
alanr
e62caf2e68 2017-03-10 03:21:16 +00:00
https://launchpad.net/~stephane-gourichon-lpad
1f16b41ec2 Added a comment: Work-in-progress, yet already usable, solution 2017-03-09 12:19:50 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
ce4c549235 2017-03-09 12:08:07 +00:00
Michel
26d6653a33 Added a comment: Thanks 2017-03-09 07:34:25 +00:00
archimedes
5cb3ec901a Added a comment 2017-03-08 22:36:14 +00:00
archimedes
2255c842ca Added a comment 2017-03-08 22:34:59 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
e9654cb053 Added a comment: re: comment 3 2017-03-08 21:58:14 +00:00
Joey Hess
5358fb992a
Windows: Improve handling of shebang in external special remote program, searching for the program in the PATH.
findShellCommand needs a full path to a file in order to check it for a
shebang on Windows. It was being run with only the base name of the external
special remote program, which would only work when it was in the current
directory.

This is why users in
https://github.com/DanielDent/git-annex-remote-rclone/pull/10 and elsewhere
were complaining that the previous improvements to git-annex didn't make
git-remote-rclone work on Windows.

Also, reworked checkearlytermination, which while it worked, seemed
to rely on a race condition. And, improved its error messages.

This commit was sponsored by Shane-o on Patreon.
2017-03-08 15:59:00 -04:00
Joey Hess
0d1a1838c5
comment 2017-03-08 15:30:32 -04:00
Joey Hess
3b1bbb8202
comment 2017-03-08 15:19:08 -04:00
Joey Hess
bcab98d299
Merge branch 'master' of ssh://git-annex.branchable.com 2017-03-08 14:50:06 -04:00
Joey Hess
fde5dbff2b
document get -J's behavior of spreading load amoung same-cost remotes
I implemented this last fall, but forgot to document it anywhere.
2017-03-08 14:26:29 -04:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
17932e07e1 Added a comment: Perhaps relevant 2017-03-08 17:31:30 +00:00
archimedes
fe2d33dbbd 2017-03-08 13:30:55 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
1b3c15147f 2017-03-08 12:51:05 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
83defc762f Added a comment: Oh and to be slightly helpful 2017-03-08 08:57:08 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
98647f5959 Added a comment: Same issue with rclone on windows. 2017-03-08 08:55:49 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
24ade8a25b Added a comment: Still seems useful 2017-03-07 10:19:41 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
41b85ad1f4 Added a comment: I hope the option to show missing files remains. 2017-03-07 06:30:37 +00:00
Joey Hess
384027bc79
comment 2017-03-06 13:35:25 -04:00
Joey Hess
af2a6d578e
assistant: Add 1/200th second delay between checking each file in the full transfer scan, to avoid using too much CPU.
The slowdown is not going to be large in typical small-ish repos.
And it does not seem to matter if the assistant reacts a little bit slower
in situations involving the expensive scan, since:

a) Those situations typically involve getting back in sync after something
   has changed on a remote, often after a disconnect of some duration.
   So taking a few seconds more is not noticable.
b) If the scan finds things that it needs to do, it will start
   blocking anyway after 10 transfers are queued (due to use of
   queueTransferWhenSmall). So, only the speed of finding the first 10
   transfers will be impacted by this change.

This commit was sponsored by Jochen Bartl on Patreon.
2017-03-06 13:32:47 -04:00
Joey Hess
113b48ba19
comment 2017-03-06 12:56:08 -04:00
Joey Hess
ce91e4102e
response
This commit was sponsored by Thom May on Patreon.
2017-03-06 12:24:00 -04:00
Joey Hess
1e7c68500e
Merge branch 'master' of ssh://git-annex.branchable.com 2017-03-06 11:45:47 -04:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
0b18df0b28 Added a comment 2017-03-06 09:03:56 +00:00
Marco
fee30ecf6b 2017-03-04 12:55:17 +00:00
Joey Hess
eb2db2b176
comment 2017-03-03 13:59:49 -04:00
mbroadhead
624f3e1548 Added a comment 2017-03-03 16:59:52 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
86508537c5 Added a comment: Does this not work counter to locking / unlocking files? 2017-03-03 13:40:06 +00:00
xloem
afc65319af removed 2017-03-03 12:32:35 +00:00
xloem
52545b73be Added a comment: Non-conforming blobs 2017-03-03 12:30:35 +00:00
xloem
b7eff4a34d Added a comment: Non-conforming blobs 2017-03-03 12:29:52 +00:00
mbroadhead
9b5763527b Added a comment 2017-03-02 22:48:09 +00:00
Joey Hess
9467cfa9bc
Merge branch 'master' of ssh://git-annex.branchable.com 2017-03-02 17:41:16 -04:00
Joey Hess
11d3219985
Linux standalone builds put the bundled ssh last in PATH, so any system ssh will be preferred over it.
This commit was sponsored by Denis Dzyubenko on Patreon.
2017-03-02 17:40:40 -04:00
kevang
f107487c62 2017-03-02 21:38:25 +00:00
Joey Hess
d797f750e4
comment 2017-03-02 17:28:43 -04:00
Joey Hess
1e31a7c93a
show how this is not specific to git-annex at all 2017-03-02 17:24:49 -04:00
Joey Hess
551848babd
Merge branch 'master' of ssh://git-annex.branchable.com 2017-03-02 17:19:44 -04:00
Joey Hess
0157cd9331
update 2017-03-02 16:39:31 -04:00
mbroadhead
b35a50ccab 2017-03-02 18:51:38 +00:00
Joey Hess
874232f1a6
status: Propigate nonzero exit code from git status. 2017-03-02 14:09:42 -04:00
Joey Hess
e4bcfcb618
comment 2017-03-02 14:04:15 -04:00
Joey Hess
1e9e96fa40
followup 2017-03-02 14:00:55 -04:00
Joey Hess
1cd5fc302c
fix format 2017-03-02 13:49:13 -04:00
Joey Hess
701006bd83
clarification 2017-03-02 13:28:31 -04:00
Joey Hess
fe28cbcd9e
comment 2017-03-02 13:23:27 -04:00
Joey Hess
8c1eda75b5
title 2017-03-02 13:20:17 -04:00
Joey Hess
995f58a04c
Merge branch 'master' of ssh://git-annex.branchable.com 2017-03-02 13:19:13 -04:00
Joey Hess
e83a2a2691
comment 2017-03-02 13:18:37 -04:00
git-annex@31849d241f10c295b30a9707352ae5c7d743adb7
2468e69354 Added a comment 2017-03-02 16:16:05 +00:00
git-annex@31849d241f10c295b30a9707352ae5c7d743adb7
273decc078 removed 2017-03-02 16:15:44 +00:00
git-annex@31849d241f10c295b30a9707352ae5c7d743adb7
fcdc72f807 Added a comment 2017-03-02 16:14:52 +00:00
Michel
6e6a90805d 2017-03-02 09:20:15 +00:00
Joey Hess
e3a03af24e
github mirror has been removed due to their horrible new anti-free-software TOS 2017-03-01 13:28:02 -04:00
Joey Hess
463dda3879
add news item for git-annex 6.20170301.1 2017-03-01 12:51:18 -04:00
Joey Hess
bd5b277c11
add news item for git-annex 6.20170301 2017-03-01 12:10:20 -04:00
yarikoptic
bc768d96a9 initial whining 2017-03-01 14:34:35 +00:00
dvicory
e4642a2452 Added a comment: Security of P2P repo is unclear 2017-02-28 20:30:31 +00:00
Joey Hess
739aa3a38e
add news item for git-annex 6.20170228 2017-02-28 14:42:28 -04:00
zpeters
a21c1ddbe6 Added a comment: RE: choosing remotes and annex-cost-command 2017-02-28 01:10:05 +00:00
Joey Hess
2c281baf00
better headings 2017-02-27 16:18:20 -04:00
Joey Hess
3f876f72e3
larger headings 2017-02-27 16:17:19 -04:00
Joey Hess
b78703ca4e
devblog 2017-02-27 16:11:35 -04:00
Joey Hess
e53070c1ff
inheritable annex.securehashesonly
* init: When annex.securehashesonly has been set with git-annex config,
  copy that value to the annex.securehashesonly git config.
* config --set: As well as setting value in git-annex branch,
  set local gitconfig. This is needed especially for
  annex.securehashesonly, which is read only from local gitconfig and not
  the git-annex branch.

doc/todo/sha1_collision_embedding_in_git-annex_keys.mdwn has the
rationalle for doing it this way. There's no perfect solution; this
seems to be the least-bad one.

This commit was supported by the NSF-funded DataLad project.
2017-02-27 16:08:23 -04:00
Joey Hess
6e0e7d885c
update 2017-02-27 15:32:04 -04:00
Joey Hess
49114cf4ea
securehash matching
Added --securehash option to match files using a secure hash function, and
corresponding securehash preferred content expression.

This commit was sponsored by Ethan Aubin.
2017-02-27 15:02:44 -04:00
Joey Hess
942e0174b3
make fsck check annex.securehashesonly, and new tip for working around SHA1 collisions with git-annex
This commit was sponsored by andrea rota.
2017-02-27 13:55:15 -04:00
Joey Hess
5e24e3ffe7
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-26 14:55:11 -04:00
michalrus
b4f7979391 Added a comment 2017-02-26 00:59:21 +00:00
openmedi
9bb93e2129 Added a comment 2017-02-25 20:35:53 +00:00
Joey Hess
e8bf942dc4
move thoughts 2017-02-25 15:00:22 -04:00
michalrus
03826e9759 2017-02-25 18:53:27 +00:00
Joey Hess
a463ba6e8a
more thoughts 2017-02-25 14:49:44 -04:00
michalrus
5fb21f1260 Added a comment 2017-02-25 18:47:36 +00:00
Joey Hess
d512098cbb
further thoughts 2017-02-25 12:55:38 -04:00
Joey Hess
622b3fface
devblog 2017-02-24 20:03:36 -04:00
Joey Hess
6b52fcbb7e
SHA1 collisions in key names was more exploitable than I thought
Yesterday's SHA1 collision attack could be used to generate eg:

SHA256-sfoo--whatever.good
SHA256-sfoo--whatever.bad

Such that they collide. A repository with the good one could have the
bad one swapped in and signed commits would still verify.

I've already mitigated this.
2017-02-24 19:54:36 -04:00
Joey Hess
634a485b50
update 2017-02-24 17:57:21 -04:00
Joey Hess
1f0d0ab4b3
Revert "pointer to a todo"
This reverts commit ae3f6705eb.

todo is not ready yet
2017-02-24 15:40:28 -04:00
Joey Hess
ae3f6705eb
pointer to a todo 2017-02-24 13:41:29 -04:00
Joey Hess
9de0767d0e
update 2017-02-24 12:31:23 -04:00
Joey Hess
6346704a04
clarify that annex.backends is used when adding new files
Even if annex.backends does not include a backend, that does not prevent
git-annex commands from acting on a file using the missing backend.

(There's really no reason at all for annex.backends to be a list.)
2017-02-24 11:53:59 -04:00
Joey Hess
8971949d60
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-24 11:33:57 -04:00
Joey Hess
35739a74c2
make file2key reject E* backend keys with a long extension
I am not happy that I had to put backend-specific code in file2key. But
it would be very difficult to avoid this layering violation.

Most of the time, when parsing a Key from a symlink target, git-annex
never looks up its Backend at all, so adding this check to a method of
the Backend object would not work.

The Key could be made to contain the appropriate
Backend, but since Backend is parameterized on an "a" that is fixed to
the Annex monad later, that would need Key to change to "Key a".

The only way to clean this up that I can see would be to have the Key
contain a LowlevelBackend, and put the validation in LowlevelBackend.
Perhaps later, but that would be an extensive change, so let's not do
it in this commit which may want to cherry-pick to backports.

This commit was sponsored by Ethan Aubin.
2017-02-24 11:22:15 -04:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
4a7ae6f9c0 Added a comment 2017-02-24 13:00:10 +00:00
Joey Hess
63df8d8966
update 2017-02-24 02:14:36 -04:00
Joey Hess
44b9ac41a4
update 2017-02-24 01:21:54 -04:00
Joey Hess
4cad401629
updates 2017-02-24 00:28:15 -04:00
Joey Hess
969da82b5c
update 2017-02-24 00:21:58 -04:00
Joey Hess
60d99a80a6
Tighten key parser to not accept keys containing a non-numeric fields, which could be used to embed data useful for a SHA1 attack against git.
Also todo about why this is important, and with some further hardening to
add.

This commit was sponsored by Ignacio on Patreon.
2017-02-24 00:17:25 -04:00
Joey Hess
0dec2257f0
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-23 19:08:03 -04:00
Joey Hess
5a88cab005
add para 2017-02-23 19:06:06 -04:00
unicell@9c0b0afd4176d5933d4b5c41350ebe61488c1df0
342e256bc5 Added a comment 2017-02-23 23:05:10 +00:00
Joey Hess
9bee19ed38
slight correction 2017-02-23 17:11:46 -04:00
Joey Hess
aa8ab352f2
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-23 16:44:07 -04:00
Joey Hess
aae9e15a97
devblog 2017-02-23 16:43:15 -04:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
9f9d7ae029 Added a comment 2017-02-22 16:48:04 +00:00
lhunath@3b4ff15f4600f3276d1776a490b734fca0f5c245
a9a15f63a4 2017-02-22 16:12:10 +00:00
jean.jordaan@4bb3bd508a9eb0a4bab5d1b587dadd2b6c4a7edc
581144a988 2017-02-22 04:23:29 +00:00
jean.jordaan@4bb3bd508a9eb0a4bab5d1b587dadd2b6c4a7edc
3c7b7ebf0c 2017-02-22 04:22:51 +00:00
db48x
283aca3dfb 2017-02-22 00:37:22 +00:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
69f7b8af48 Added a comment 2017-02-21 06:20:35 +00:00
Joey Hess
75a15e1ad7
status: Pass --ignore-submodules=when option on to git status.
Didn't make --ignore-submodules without a value be handled because I can't
see a way to make optparse-applicative parse that. I've opened a bug
requesting a way to do that:
https://github.com/pcapriotti/optparse-applicative/issues/243
2017-02-20 17:01:24 -04:00
Joey Hess
a53daff32c
question 2017-02-20 16:14:43 -04:00
Joey Hess
7a0d6d81a0
make curl show http errors to stderr
* Run curl with -S, so HTTP errors are displayed, even when
  it's otherwise silent.
* When downloading in --json or --quiet mode, use curl in preference
  to wget, since curl is able to display only errors to stderr, unlike
  wget.

This does mean that downloadQuiet is only silent on stdout, not necessarily
on stderr, which affects a couple other calls of it. For example,
downloading the .git/config of a http remote may show an error message now,
perhaps with slightly suboptimal formatting due to other output.
2017-02-20 16:09:32 -04:00
Joey Hess
07de7c2c76
update 2017-02-20 15:44:43 -04:00
Joey Hess
302370d5c3
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-20 15:25:57 -04:00
Joey Hess
4a397b5313
Run wget with -nv instead of -q, so it will display HTTP errors.
This adds one extra line of output when a download is successful,
after the progress bar. I don't much like that, but wget does not provide a
way to show HTTP errors without it.
2017-02-20 15:25:02 -04:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
2e2bc1895f removed 2017-02-20 19:07:55 +00:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
15cf298271 Added a comment 2017-02-20 19:07:22 +00:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
6728330b2c Added a comment 2017-02-20 19:06:58 +00:00
Joey Hess
3488679a81
comment 2017-02-20 14:49:03 -04:00
Joey Hess
221f62ea5e
comment 2017-02-20 14:37:59 -04:00
andrew
bfb38eecea Added a comment: the problem files 2017-02-20 18:11:03 +00:00
Joey Hess
a13c0ce66c
adjust: Fix behavior when used in a repository that contains submodules.
Also fixed the LsFiles parser to not assume its output has a fixed width
type field.
2017-02-20 13:44:55 -04:00
Joey Hess
5169f84f22
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-20 13:11:19 -04:00
Joey Hess
6e6a36fd5b
comment 2017-02-20 13:10:48 -04:00
Joey Hess
5d2e99a5ac
comment 2017-02-20 12:55:58 -04:00
Joey Hess
da207245f1
comment 2017-02-20 12:49:16 -04:00
Joey Hess
6ba8b557e8
remove
I've seen this thing, whatever it is, mentioned in spam links before,
so even if it's valid for some OS (probably not the one being asked
about), it's verboten here.
2017-02-20 12:24:15 -04:00
Joey Hess
d80cf5b9e9
comment 2017-02-20 12:23:22 -04:00
Joey Hess
c5cf5cf03a
git-annex.cabal: Make crypto-api a dependency even when built w/o webapp and test suite.
The p2p code made it always be needed.

This commit was sponsored by Anthony DeRobertis on Patreon.
2017-02-20 12:21:35 -04:00
Joey Hess
f31aadc7c2
comment 2017-02-20 12:17:09 -04:00
Joey Hess
74a942382d
comment 2017-02-20 12:07:20 -04:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
76f4cde9cc 2017-02-20 08:12:10 +00:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
27a40a97cd 2017-02-20 07:58:33 +00:00
openmedi
8c00d695aa Added a comment 2017-02-19 22:03:26 +00:00
m@2be305d83b52202ec4364229a836f463a6701336
2a9599c176 2017-02-19 19:03:24 +00:00
mhauru
f49066d9c6 2017-02-19 18:48:59 +00:00
openmedi
f339047be9 Added a comment 2017-02-19 15:27:08 +00:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
a1e43697b6 2017-02-18 16:28:45 +00:00
openmedi
66c822b489 2017-02-18 13:42:45 +00:00
openmedi
475773a06b 2017-02-18 13:41:57 +00:00
Joey Hess
32782ab324
linkify 2017-02-17 15:58:32 -04:00
Joey Hess
4bc1e03bb7
devblog 2017-02-17 15:56:38 -04:00
Joey Hess
a700fdf5cf
documentation updates for new receive.denyCurrentBranch=updateInstead support
This commit was sponsored by andrea rota.
2017-02-17 15:43:16 -04:00
Joey Hess
d074532aff
post-recive hook to make updateInstead work in direct mode and adjusted branches
* Added post-recieve hook, which makes updateInstead work with direct
  mode and adjusted branches.
* init: Set up the post-receive hook.

This commit was sponsored by Fernando Jimenez on Patreon.
2017-02-17 14:04:43 -04:00
Joey Hess
de4d50e9d0
thoughts 2017-02-17 12:57:55 -04:00
Joey Hess
f36d789eef
comment 2017-02-17 12:36:23 -04:00
Joey Hess
e93d4bfa85
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-17 12:31:47 -04:00
yarikoptic
7fa1329877 initial whining 2017-02-17 15:30:32 +00:00
lasitus
ccdb4bdfa1 Added a comment 2017-02-17 03:23:46 +00:00
yarikoptic
2f601791bf 2017-02-17 01:57:11 +00:00
binx
54ce959986 2017-02-17 00:01:12 +00:00
Joey Hess
a2b848aba2
cleanup 2017-02-16 16:00:18 -04:00
JohnKozak
fa244ac433 removed 2017-02-16 18:45:41 +00:00
JohnKozak
b15ad04f33 Added a comment 2017-02-16 18:44:36 +00:00
JohnKozak
9d563d6f4c remove crud from transcript 2017-02-16 17:59:54 +00:00
Joey Hess
d0651bb567
make query commands not output extraneous messages
config group groupwanted numcopies schedule wanted required:  Avoid
displaying extraneous messages about repository auto-init, git-annex branch
merging, etc, when being used to get information.
2017-02-16 13:24:35 -04:00
yarikoptic
baa2ab2c7d Added a comment 2017-02-16 15:54:18 +00:00
CandyAngel
bb262be6f0 Added a comment 2017-02-16 14:10:56 +00:00
JohnKozak
81d0eb3567 2017-02-16 13:56:30 +00:00
andy
b36e8e53c3 Added a comment 2017-02-16 06:34:50 +00:00
yarikoptic
9cdb0125c7 2017-02-16 03:49:46 +00:00
Joey Hess
de671658ee
devblog 2017-02-15 16:44:10 -04:00
Joey Hess
a73c8ce4a1
sync: Improve integration with receive.denyCurrentBranch=updateInstead
By displaying error messages from the remote then it fails to update
its checked out branch.

Error messages in the default receive.denyCurrentBranch are still
suppressed, which matches user expectations.

This commit was sponsored by Nick Daly on Patreon.
2017-02-15 16:13:30 -04:00
Joey Hess
f07af03018
Run ssh with -n whenever input is not being piped into it
... to avoid it consuming stdin that it shouldn't.

This fixes git-annex-checkpresentkey --batch remote, which didn't output
results for all keys passed into it.

Other git-annex commands that communicate with a remote over ssh may also
have been consuming stdin that they shouldn't have, which could have
impacted using them in eg, shell scripts. For example, a shell script
reading files from stdin and passing them to git annex drop would be
impacted by this bug, whenever git annex drop ran git-annex-shell
checkpresent, it would consume part/all of the stdin that the shell script
was supposed to consume.

Fixed by adding a ConsumeStdin parameter to Annex.Ssh.sshOptions, which
is used throughout git-annex to run ssh (in order for ssh connection
caching to work). Every call site was checked to see if it used
CreatePipe for stdin, and if not was marked NoConsumeStdin.
2017-02-15 15:08:46 -04:00
Joey Hess
a0222ea7eb
add the new armel-ancient build 2017-02-15 14:43:19 -04:00
lasitus
c8f87f1433 Added a comment 2017-02-15 16:01:39 +00:00
CandyAngel
aadd43e81c 2017-02-15 11:13:25 +00:00
lasitus
fb356bd39c Added a comment 2017-02-15 02:17:25 +00:00
lasitus
aec64ce496 removed 2017-02-15 02:14:05 +00:00
lasitus
5227da6d8a Added a comment 2017-02-15 02:13:25 +00:00
Joey Hess
9fe402187e
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-14 17:42:25 -04:00
Joey Hess
e8b9565b6f
thoughts 2017-02-14 17:39:37 -04:00
db48x
1f7b8373cc Added a comment 2017-02-14 21:10:13 +00:00
https://me.yahoo.com/a/80VlVB0Bx9TaNOXIj3OCQ8eimAtIOhqjUQ--#1e80e
f84a16f2fa Added a comment 2017-02-14 20:21:41 +00:00
lasitus
9d690a18bd Added a comment 2017-02-14 19:08:38 +00:00
Joey Hess
248f48f754
add news item for git-annex 6.20170214 2017-02-14 14:56:57 -04:00
Joey Hess
4e3f4f6e4e
comment 2017-02-14 14:54:53 -04:00
Joey Hess
2d4a24bc6b
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-14 14:49:23 -04:00
lasitus
2233a50f45 Added a comment 2017-02-14 18:46:22 +00:00
Joey Hess
3aecb1d059
response 2017-02-14 14:21:58 -04:00
http://xgm.de/oid/
61f362b4ff 2017-02-14 18:14:24 +00:00
http://xgm.de/oid/
6a711d4a1d Added a comment 2017-02-14 18:03:27 +00:00
https://me.yahoo.com/a/80VlVB0Bx9TaNOXIj3OCQ8eimAtIOhqjUQ--#1e80e
79e8d19850 removed 2017-02-14 00:05:09 +00:00
https://me.yahoo.com/a/80VlVB0Bx9TaNOXIj3OCQ8eimAtIOhqjUQ--#1e80e
6f31c717c2 Added a comment: Retrieving initremote parameters for new user 2017-02-14 00:04:50 +00:00
https://me.yahoo.com/a/80VlVB0Bx9TaNOXIj3OCQ8eimAtIOhqjUQ--#1e80e
3d786ebb4e Added a comment: Retrieving initremote parameters for new user 2017-02-14 00:03:35 +00:00
Joey Hess
7a06c91f7f
devblog 2017-02-13 17:42:03 -04:00
Joey Hess
3b22ad9f47
Work around sqlite's incorrect handling of umask when creating databases.
Refactored some common code into initDb.

This only deals with the problem when creating new databases. If a repo
got bad permissions into it, it's up to the user to deal with it.

This commit was sponsored by Ole-Morten Duesund on Patreon.
2017-02-13 17:39:16 -04:00
Joey Hess
d2174915c0
response 2017-02-13 16:19:39 -04:00
Joey Hess
47a4b552c0
comment 2017-02-13 16:11:58 -04:00
Joey Hess
748ecc51d8
remove recent addition of receive.denyNonFastForwards to walkthrough
That is a dangerous setting, and not needed.

I tried the walkthrough as it was without it, and syncing in the USB
remote worked ok. There was a problem merging from origin/master, since
that branch didn't exist yet, but that didn't prevent sync from working
at all.

To avoid even that problem, reordered the walkthrough, so files get
committed to the repo before the remote gets set up.

This commit was sponsored by Ole-Morten Duesund on Patreon.
2017-02-13 16:02:53 -04:00
Joey Hess
f431e1aec5
fix commit id 2017-02-13 15:55:32 -04:00
Joey Hess
f36adc2dbc
include problem PairData in error message
Users occasionally report this error firing, and I can't see why,
so include the rejected PairData in the error message.

This is safe even if it contains evil escape characters, because showing
it displays them in escaped form.

This commit was sponsored by Bruno BEAUFILS on Patreon.
2017-02-13 15:54:28 -04:00