Commit graph

7933 commits

Author SHA1 Message Date
Joey Hess
dbe8c42fdc
update 2017-09-16 12:09:11 -04:00
Joey Hess
b7dafb4f66
response for gleachkr 2017-09-16 12:07:12 -04:00
gleachkr@7c488e398809299a1100b93f8884de43dee83674
63dfd6cde2 Added a comment 2017-09-16 16:02:41 +00:00
Joey Hess
260d1061cd
followup for gleachkr 2017-09-16 11:26:00 -04:00
gleachkr@7c488e398809299a1100b93f8884de43dee83674
97eacf3a7a Added a comment: More data points 2017-09-16 01:16:59 +00:00
Joey Hess
3435a47245
Merge branch 'master' of ssh://git-annex.branchable.com 2017-09-15 13:20:09 -04:00
Joey Hess
78a67f29f8
forwarded from irc 2017-09-15 13:13:43 -04:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
849a5d4771 Added a comment: @joey: Sorry ... 2017-09-14 12:00:13 +00:00
yarikoptic
afac1c46bc Added a comment 2017-09-13 17:58:54 +00:00
Joey Hess
fd062dafc5
comment 2017-09-13 12:34:45 -04:00
yarikoptic
0e4504cd2f Added a comment 2017-09-13 14:32:57 +00:00
yarikoptic
896e516941 crossed away comment on hash levels 2017-09-13 14:27:19 +00:00
yarikoptic
15ebb707fc initial finding about incorrect permissions ignored by fsck 2017-09-13 14:25:16 +00:00
https://christian.amsuess.com/chrysn
7f0e2a4685 Added a comment: Issue also affects Samsung devices, git unaffected 2017-09-11 18:07:51 +00:00
ilovezfs
5cda73c529 2017-09-09 17:57:34 +00:00
Joey Hess
425a3a10b0
close 2017-09-09 13:08:42 -04:00
ilovezfs
aa608ab831 2017-09-09 16:30:28 +00:00
yarikoptic
b14c4776d6 initial bug report 2017-08-30 14:15:45 +00:00
Joey Hess
f27efbe3c6
respond and close 2017-08-28 13:36:08 -04:00
Joey Hess
2011716202
close bug filed about git-annex from 2014 2017-08-28 13:29:36 -04:00
Joey Hess
db2a06b66f
init: Display an additional message when it detects a filesystem that allows writing to files whose write bit is not set. 2017-08-28 13:21:18 -04:00
Joey Hess
ddc29f5bcd
close 2017-08-28 13:01:56 -04:00
Joey Hess
bfaa78ee35
response 2017-08-28 13:01:05 -04:00
Joey Hess
ee2f096e3b
Support building with feed-1.0, while still supporting older versions.
This commit was sponsored by Jeff Goeke-Smith on Patreon.
2017-08-28 12:29:28 -04:00
aditya.mmy@be7b2fbd14a6ce2b6b8588f6719672725a11ed35
4dfb045549 Added a comment: Nevermind - I got it working 2017-08-27 10:18:03 +00:00
aditya.mmy@be7b2fbd14a6ce2b6b8588f6719672725a11ed35
1d6617e300 fix 2017-08-27 07:18:28 +00:00
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