Commit graph

7907 commits

Author SHA1 Message Date
aditya.mmy@be7b2fbd14a6ce2b6b8588f6719672725a11ed35
b22e6c1352 fix formatting 2017-08-27 07:17:23 +00:00
aditya.mmy@be7b2fbd14a6ce2b6b8588f6719672725a11ed35
a2166d67bd Reporting a bug. 2017-08-27 07:14:54 +00:00
michalrus
a95bbe6eb5 Added a comment 2017-08-26 12:20:58 +00:00
michalrus
1c55387f8c 2017-08-26 12:20:23 +00:00
michalrus
5f73868c39 Added a comment 2017-08-26 12:19:17 +00:00
michalrus
5058b94118 Added a comment 2017-08-26 12:18:54 +00:00
michalrus
88a55baf45 Added a comment 2017-08-26 12:18:11 +00:00
michalrus
ba5a6c428a removed 2017-08-26 12:15:14 +00:00
michalrus
49b1494b26 Added a comment 2017-08-26 12:14:06 +00:00
Joey Hess
1226936edc
formatting 2017-08-24 16:38:15 -04:00
Joey Hess
a7ae7b029a
bug from email 2017-08-24 16:36:02 -04:00
loredai
d34631cbbd 2017-08-23 16:07:33 +00:00
loredai
f3b7fe82db 2017-08-23 16:04:23 +00:00
loredai
ee291f6489 2017-08-23 16:00:57 +00:00
olaf
8ee915fa90 Added a comment: It's the old remote... 2017-08-23 06:03:45 +00:00
olaf
8fffaeb0ad Added a comment: Similar(ish) bug reports 2017-08-23 05:55:51 +00:00
olaf
3730f9ae85 2017-08-23 05:47:39 +00:00
olaf
2c892d2fc2 2017-08-23 05:46:13 +00:00
olaf
00b6fa4d61 2017-08-23 04:55:45 +00:00
metst13@1d16544ec52801db7efb2895d3dc7a4458b8eb45
38caa5bec0 Added a comment: links on page 2017-08-22 05:10:11 +00:00
Rémi
9354e1be83 Added a comment 2017-08-21 14:17:14 +00:00
Rémi
be6873a563 2017-08-21 09:10:49 +00:00
Joey Hess
3577f874a3
Merge branch 'master' of ssh://git-annex.branchable.com 2017-08-20 16:51:06 -04:00
Joey Hess
c76ba5a15e
CVE-2017-12976 2017-08-20 16:50:53 -04:00
michalrus
7c6f16ad1c Added a comment 2017-08-20 16:45:09 +00:00
michalrus
014c4be6c2 Added a comment 2017-08-20 15:47:03 +00:00
michalrus
608eb67e54 Added a comment 2017-08-20 15:27:31 +00:00
michalrus
abdd6aa736 2017-08-20 15:26:34 +00:00
michalrus
9368ae0dad 2017-08-20 15:21:42 +00:00
michalrus
f330af61ac 2017-08-20 14:16:55 +00:00
doogie
d6d76c10ea 2017-08-18 20:27:52 +00:00
doogie
ed4e3bcff9 2017-08-18 20:25:29 +00:00
ilovezfs
9a68b93253 Added a comment: Exception: getCurrentDirectory:getWorkingDirectory: resource exhausted (Too many open files) 2017-08-18 18:28:01 +00:00
Joey Hess
e0d88e2d25
typo 2017-08-18 11:46:48 -04:00
Joey Hess
c24d0f0e89
add bug for security hole, with exploit details 2017-08-18 11:36:34 -04:00
Joey Hess
55495c5a98
git-annex.cabal: Deal with breaking changes in Cabal 2.0
https://github.com/haskell/cabal/issues/4655

This means that when a module is conditionally imported via ifdef
depending on the OS or build flags, the cabal file has to mirror the
same logic there to only list the module then.

Since there are lots of OS's and lots of combinations of build flags
here, it's rather difficult to know if the cabal file has been completelty
correctly updated to match the source code.

So I am very unhappy with needing to update things in two places. I've
only tested this on linux with most build flags enables; this will
probably need significant time and testing to catch every cabal file
tweak that this change to Cabal requires. And it will be a continual
source of compile failures going forward when the code is modified and
the cabal file not also updated.

DRY DRY DRY, I repeat myself, but: DRY! Sigh..

(Also, had to remove all Build.* that are standalone programs from the
Other-Modules list, because since cabal passes those modules to ghc when
building git-annex, it complains that they use module Main. Those
modules are only used when building with the Makefile anyway, so this
change shouldn't break anything.)

This commit was sponsored by Thomas Hochstein on Patreon.
2017-08-18 11:08:58 -04:00
Joey Hess
25e55e7c2f
typo 2017-08-17 19:51:39 -04:00
Joey Hess
dafafad115
external: nice error message for keys with spaces in their name
External special remotes will refuse to operate on keys with spaces in
their names. That has never worked correctly due to the design of the
external special remote protocol. Display an error message suggesting
migration.

Not super happy with this, but it's a pragmatic solution. Better than
complicating the external special remote interface and all external special
remotes.

Note that I only made it use SafeKey in Request, not Response. git-annex
does not construct a Response, so that would not add any safety. And
presumably, if git-annex avoids feeding any such keys to an external
special remote, it will never have a reason to make a Response using such a
key. If it did, it would result in a protocol error anyway.

There's still a Serializeable instance for Key; it's used by P2P.Protocol.
There, the Key is always in the final position, so it's ok if it contains
spaces.

Note that the protocol documentation has been fixed to say that the File
may contain spaces. One way that can happen, even though the Key can't,
is when using direct mode, and the work tree filename contains spaces.
When sending such a file to the external special remote the worktree
filename is used.

This commit was sponsored by Thom May on Patreon.
2017-08-17 16:18:34 -04:00
Joey Hess
5421e8f695
comment 2017-08-17 15:15:40 -04:00
https://launchpad.net/~felixonmars
b985eb2d75 Added a comment 2017-08-17 19:10:24 +00:00
Joey Hess
8cff67841c
plan 2017-08-17 14:41:21 -04:00
Joey Hess
04de2ede83
close 2017-08-17 11:49:42 -04:00
https://openid.stackexchange.com/user/8a69a637-97cb-41e6-8f45-00f08ba54d6e
332ec5669c Added a comment 2017-08-16 18:18:27 +00:00
https://openid.stackexchange.com/user/8a69a637-97cb-41e6-8f45-00f08ba54d6e
e15f5f9dae Added a comment 2017-08-16 17:16:14 +00:00
https://openid.stackexchange.com/user/8a69a637-97cb-41e6-8f45-00f08ba54d6e
64bbd451f5 Added a comment 2017-08-16 17:10:58 +00:00
https://openid.stackexchange.com/user/8a69a637-97cb-41e6-8f45-00f08ba54d6e
a6a0fa9323 2017-08-16 16:49:46 +00:00
olaf
7b2c6d45c6 Added a comment 2017-08-16 01:01:02 +00:00
Joey Hess
7713c3e0ec
idea 2017-08-15 15:45:31 -04:00
Joey Hess
48a89f0f92
hmm 2017-08-15 15:31:01 -04:00
Joey Hess
73d04d5565
responses, bug I noticed 2017-08-15 14:42:22 -04:00
Joey Hess
69dcb08d7a
Disable http-client's default 30 second response timeout when HEADing an url to check if it exists. Some web servers take quite a long time to answer a HEAD request. 2017-08-15 13:56:12 -04:00
Joey Hess
e5109468e2
forwarded 2017-08-15 13:53:51 -04:00
Joey Hess
f6128f96d1
comment 2017-08-15 13:00:33 -04:00
Joey Hess
5ef13d77c5
comment 2017-08-15 12:54:12 -04:00
yarikoptic
8427c44e11 Added a comment 2017-08-12 04:08:04 +00:00
yarikoptic
3c2aa54f21 initial whining about 2 ssh prompts 2017-08-12 04:06:19 +00:00
aer1PheiZa
7d2520eea0 Added a comment: 6.20170101 - still unable. 2017-08-07 11:58:06 +00:00
Joey Hess
718080d8b1
Merge branch 'master' of ssh://git-annex.branchable.com 2017-08-01 12:19:44 -04:00
Joey Hess
b2eaca4104
comment 2017-08-01 12:19:03 -04:00
yarikoptic
e199817b88 Added a comment 2017-07-31 19:05:04 +00:00
Joey Hess
139ad3ee5b
response 2017-07-31 14:46:20 -04:00
lykos
05692017e6 2017-07-30 16:48:50 +00:00
lykos
388f80933b 2017-07-30 16:47:01 +00:00
lykos
7aeac437a6 2017-07-30 16:46:38 +00:00
lykos
9d614da3df 2017-07-30 16:45:34 +00:00
ilovezfs
4378d0ba13 Added a comment: pipe: resource exhausted (Too many open files) 2017-07-30 16:05:10 +00:00
yarikoptic
d05acc772d initial bug report 2017-07-30 13:39:34 +00:00
Joey Hess
41f521d6c6
comment 2017-07-28 09:07:30 -04:00
ilovezfs
3154230b4e 2017-07-27 06:26:03 +00:00
yarikoptic
a983877279 initial whining 2017-07-26 19:10:11 +00:00
https://launchpad.net/~stephane-gourichon-lpad
f76690687c Added a comment: User expectations and what git annex unannex does. 2017-07-24 08:06:55 +00:00
tom.prince@6bf26c878bf6103667f28d70cf49d4fb74d33df7
701ce95d9b Added a comment 2017-07-21 18:22:29 +00:00
https://launchpad.net/~stephane-gourichon-lpad
aca2b5c431 Added a comment 2017-07-20 06:16:46 +00:00
Crystalvonwerder@a141a1e27afcd463daccce74ba4df918a01dfd9e
163e4b80ef Added a comment: Android 2017-07-18 14:43:44 +00:00
yarikoptic
047668390b initial concern about timeouts 2017-07-13 16:39:57 +00:00
yarikoptic
10622c2b14 initial whining about init --backend 2017-07-12 23:11:20 +00:00
metst13@1d16544ec52801db7efb2895d3dc7a4458b8eb45
f6598934bc Please compile an Intel 64 bit package for linux. 2017-07-08 14:21:05 +00:00
Joey Hess
81a861326d
fsck: Support --json.
One use case is to get a list of files that fsck fails on, in order to eg,
drop them from a remote.

This commit was sponsored by Nick Daly on Patreon.
2017-06-26 13:40:57 -04:00
http://schnouki.net/
787b14f1ce 2017-06-23 09:33:23 +00:00
olaf
75e97fde46 Added a comment 2017-06-22 04:55:35 +00:00
olaf
d86c61f13e Added a comment 2017-06-22 04:50:13 +00:00
Joey Hess
89df21b8b8
close 2017-06-17 13:20:31 -04:00
ilovezfs
eeaa670b61 2017-06-17 16:00:36 +00:00
t.z.mates
489d7f10f6 Added a comment 2017-06-15 23:07:48 +00:00
t.z.mates
09129a756d Added a comment: Error messages changed 2017-06-15 22:59:43 +00:00
interfect@b151490178830f44348aa57b77ad58c7d18e8fe7
a93bcffcd7 2017-06-14 03:21:04 +00:00
user4
b493ac8d35 Added a comment: remote.log 2017-06-11 19:53:27 +00:00
user4
add2f406a8 2017-06-11 19:27:15 +00:00
Joey Hess
1426f7ff3a
disable closingTracked on OSX
Don't trust OSX FSEvents's eventFlagItemModified to be called when the last
writer of a file closes it; apparently that sometimes does not happen,
which prevented files from being quickly added.

This commit was sponsored by John Peloquin on Patreon.
2017-06-09 14:18:58 -04:00
Joey Hess
99a1e6efe2
close as dup 2017-06-09 13:43:53 -04:00
Joey Hess
aa2ab14a83
followup 2017-06-09 13:34:08 -04:00
Joey Hess
233f13b1e5
followup 2017-06-09 13:31:34 -04:00
Joey Hess
5be8df01cb
followup 2017-06-09 13:11:25 -04:00
interfect@b151490178830f44348aa57b77ad58c7d18e8fe7
e1164ce23a Added a comment 2017-06-09 01:48:15 +00:00
interfect@b151490178830f44348aa57b77ad58c7d18e8fe7
e19752a653 Added a comment 2017-06-09 01:40:01 +00:00
Joey Hess
28b80599e2
Merge branch 'master' of ssh://git-annex.branchable.com 2017-06-07 16:19:45 -04:00
ano.nymous@12ebd53e5933cd1730c84027a7cb905e7c3fdd9c
6a19f79c4a Added a comment: Workaround for switching repos from WebApp 2017-06-07 19:18:51 +00:00
Joey Hess
86e4ea00b2
analysis
Also, added a comment to Assistant/Threads/Merger.hs to explain
why it only merges from /synced/ branches.
2017-06-07 13:45:18 -04:00
Joey Hess
252f254349
more 2017-06-06 16:02:11 -04:00
Joey Hess
aff0ce86da
merge and followup window path length bugs 2017-06-06 15:57:35 -04:00
Joey Hess
7b5c00eea7
followup 2017-06-06 15:42:27 -04:00
Joey Hess
eb79584bfe
followup; close 2017-06-06 15:36:10 -04:00
Joey Hess
ed639c140d
Fix bug that prevented transfer locks from working when run on SMB or other filesystem that does not support fcntl locks and hard links.
This commit was sponsored by Ethan Aubin.
2017-06-06 14:22:03 -04:00
Joey Hess
1b89913db8
close 2017-06-06 13:37:18 -04:00
Joey Hess
e23839acf3
Avoid error about git-annex-shell not being found when syncing with -J with a git remote where git-annex-shell is not installed.
This commit was sponsored by andrea rota.
2017-06-06 12:57:27 -04:00
Joey Hess
954a24b5d1
comment 2017-06-06 12:20:51 -04:00
yibe
c8e8d36e85 Added a comment 2017-06-04 20:07:31 +00:00
interfect@b151490178830f44348aa57b77ad58c7d18e8fe7
4d015cf1d2 2017-06-03 19:24:58 +00:00
interfect@b151490178830f44348aa57b77ad58c7d18e8fe7
c9bef943c6 2017-06-03 18:43:04 +00:00
Tom
cbe91c4ae1 2017-06-03 13:47:26 +00:00
Joey Hess
bb060f000f
error when metadata set is used with file that does not exist
When setting metadata of a file that did not exist, no error message was
displayed, unlike getting metadata and most other git-annex commands. Fixed
this oversight.

Note that, if the file exists but is not annexed, there's no error.
This is the same behavior as other git-annex commands.

This commit was supported by the NSF-funded DataLad project.
2017-06-01 11:40:47 -04:00
zkaufman
421239d344 2017-05-31 20:18:36 +00:00
http://schnouki.net/
2124d5316f Added a comment 2017-05-29 09:56:59 +00:00
ewen
e6d9c459e3 Added a comment: Standalone git-annex on Synology DS216+ NAS 2017-05-28 01:24:43 +00:00
yarikoptic
61131d87b0 Added a comment: woohoo 2017-05-26 02:03:57 +00:00
Joey Hess
e1cf095ae8
Avoid concurrent git-config setting problem when running concurrent threads.
See my comment. This only avoids the problem for -J; two git-annex
processes started at the same time could still both try to write to
.git/config and one fail. That would be very unlikely though, and it
doesn't really seem worth adding an additional layer of locking around
.git/config.

This commit was supported by the NSF-funded DataLad project.
2017-05-25 18:28:23 -04:00
Joey Hess
7db37ddde0
Fix transfer log file locking problem when running concurrent transfers.
orElse is great, but was not the right thing to use here because
waitTakeLock could retry for other reasons than the lock being held,
which made tryTakeLock fail when it shouldn't.

Instead, move the code to tryTakeLock and implement waitTakeLock using
tryTakeLock and retry.

(Also, in runTransfer, when checkSaneLock fails, dropLock to avoid leaking a
lock handle.)

This commit was supported by the NSF-funded DataLad project.
2017-05-25 17:40:23 -04:00
yarikoptic
df9ba3b5b4 Added a comment 2017-05-25 18:39:03 +00:00
Joey Hess
9bddc6d5ca
Improve progress display when watching file size, in cases where a transfer does not resume.
This commit was supported by the NSF-funded DataLad project.
2017-05-25 14:30:18 -04:00
Joey Hess
c204654fe5
response 2017-05-25 13:39:20 -04:00
yarikoptic
b9b25c13e0 original complaint 2017-05-25 14:35:44 +00:00
namsgorf@6b5ce57fbe9dc2a2c65d6817151f107dc22f438c
1f615d3b00 Added a comment 2017-05-21 13:40:08 +00:00
Joey Hess
1d45e47e3f
clear regions before ssh prompt
When built with concurrent-output 1.9, ssh password prompts will no longer
interfere with the -J display.

To avoid flicker, only done when ssh actually does need to prompt;
ssh is first run in batch mode and if that succeeds the connection is up
and no need to clear regions.

This commit was supported by the NSF-funded DataLad project.
2017-05-16 15:50:11 -04:00
Joey Hess
89f9be3230
workaround is in place
(and remove debug print)
2017-05-16 14:36:54 -04:00
Joey Hess
e858c959f7
glacier-cli python3 bug nearly for sure 2017-05-16 14:22:26 -04:00
Joey Hess
e0a8e3f414
forwardeed to git ML 2017-05-16 13:11:15 -04:00
Joey Hess
f32eef69e4
close dup 2017-05-16 12:20:40 -04:00
Joey Hess
0a92652d6b
Merge branch 'master' of ssh://git-annex.branchable.com 2017-05-16 12:20:01 -04:00
Joey Hess
67dd96c944
bisection 2017-05-16 12:19:02 -04:00
mail@4e627fd997ef5ca9f75e62ffc0aba5b27bd6aea1
23f79ee5d3 failing unit tests bug 2017-05-16 14:58:36 +00:00
http://id.clacke.se/
710071e49a 2017-05-16 00:13:36 +00:00
michal.anks@bff6982ee88f5bd889dd798be824cff38f2d8933
645e04368c glacier-cli and git-annex doesn't seem to work together right 2017-05-15 20:04:11 +00:00
http://id.clacke.se/
acd825f5fd 2017-05-15 09:31:15 +00:00
leavingchicago@c04c893e78d1c4c76cb3e32b5c227cf42bbf7682
44a3f7207e Added a comment: Related... 2017-05-15 04:43:44 +00:00
leavingchicago@c04c893e78d1c4c76cb3e32b5c227cf42bbf7682
7ee0e9d816 2017-05-15 04:40:17 +00:00
ewen
b8c6eb557c Added a comment: dtruss OS X 10.11 git annex on SMB mount 2017-05-14 05:04:29 +00:00
t.z.mates
d7987ffc13 Added a comment 2017-05-13 20:59:34 +00:00
Joey Hess
1a0390e418
pointers 2017-05-12 16:29:53 -04:00
Joey Hess
e405b9bbe4
break out bug report 2017-05-12 10:57:58 -04:00
Joey Hess
9f11769455
misplaced comment 2017-05-12 10:38:22 -04:00
Joey Hess
6992fe133b
Ssh password prompting improved when using -J
When ssh connection caching is enabled (and when GIT_ANNEX_USE_GIT_SSH is
not set), only one ssh password prompt will be made per host, and only one
ssh password prompt will be made at a time.

This also fixes a race in prepSocket's stale ssh connection stopping
when run with -J. It was possible for one thread to start a cached ssh
connection, and another thread to immediately stop it, resulting in excess
connections being made.

This commit was supported by the NSF-funded DataLad project.
2017-05-11 17:36:03 -04:00
Joey Hess
782c30b8a4
hmm 2017-05-11 16:45:30 -04:00
Joey Hess
838b55fa39
plan 2017-05-11 14:34:50 -04:00
Joey Hess
0b5fb4699b
followup 2017-05-11 13:04:35 -04:00
Cyberthal
777137dc4f Added a comment: PEBKAC 2017-05-01 22:19:05 +00:00
jesrui@51c25da8d6f34e6df8e3e7ed0277335ed7ddf6a6
2419479ba9 2017-04-30 13:36:58 +00:00
ewen
5f6fca0d8b Added a comment: git annex standalone on Synology NAS 2017-04-23 07:52:19 +00:00
ewen
fa86832091 CC me 2017-04-23 07:33:19 +00:00
ewen
60999337e4 Described steps to reproduce git annex get failure on SMB share 2017-04-23 07:31:57 +00:00
yarikoptic
2286b07aa1 Added a comment 2017-04-08 03:16:49 +00:00