Commit graph

4149 commits

Author SHA1 Message Date
Joey Hess
4c6d2c0bbb close 2013-10-16 16:08:53 -04:00
http://joeyh.name/
52b8152a32 Added a comment 2013-10-16 18:04:30 +00:00
Joey Hess
6fb6913168 sheesh 2013-10-16 13:15:10 -04:00
Joey Hess
396e47b07e tighten file2key to not produce invalid keys with no keyName
A file named "foo-" or "foo-bar" was taken as a key's file, with a backend
of "foo", and an empty keyName. This led to various problems, especially
because converting that key back to a file did not yeild the same filename.
2013-10-16 12:46:24 -04:00
Joey Hess
15597e5fff Merge branch 'master' of ssh://git-annex.branchable.com 2013-10-16 12:25:09 -04:00
Joey Hess
8b80c340a6 move another bug report out of forum 2013-10-16 12:24:20 -04:00
http://joeyh.name/
b18e5128e0 Added a comment 2013-10-16 16:16:02 +00:00
http://joeyh.name/
ceab0aa358 Added a comment 2013-10-16 15:47:38 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmCzVCPjgg_Un_114P8iiSwExms0G2csCA
ab78289679 Added a comment: details about my problem 2013-10-15 23:30:27 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmCzVCPjgg_Un_114P8iiSwExms0G2csCA
c3dc010577 removed 2013-10-15 23:27:56 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmCzVCPjgg_Un_114P8iiSwExms0G2csCA
287ec803e8 Added a comment: details about my problem 2013-10-15 23:26:05 +00:00
bla
2a01a7d116 Added a comment: More info on latest autobuild 2013-10-15 21:42:52 +00:00
bla
6f3c6ebde1 Added a comment: Testing 2013-10-15 21:24:35 +00:00
Joey Hess
216d4bf10a Merge branch 'master' of ssh://git-annex.branchable.com 2013-10-15 16:06:10 -04:00
Joey Hess
bac078742d Deal with git check-attr -z output format change in git 1.8.5.
I have not actually tested with 1.8.5, which is not yet relesaed, but
git.git commit f7cd8c50b9ab83e084e8f52653ecc8d90665eef2 changes -z
to also apply to output, without regards to back-compat. (But with pretty
good reasons.)

New code should work with both versions, by fingerprinting for NULs and
newlines.
2013-10-15 16:05:27 -04:00
http://joeyh.name/
c5e9d901ae Added a comment: I can reproduce this! (with 4.20130923-g78e9013) 2013-10-15 19:57:19 +00:00
http://joeyh.name/
2a93f6285f Added a comment 2013-10-15 18:29:10 +00:00
Joey Hess
0d88bf9090 move bug report from forum.. sorry, people, but I can't let the forum continually be cluttered up with old bug reports 2013-10-15 14:11:08 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlqOu7P4tb4D-Xo2pYrjln2NsAObtErliM
2fd67b8a0b 2013-10-14 18:42:20 +00:00
Joey Hess
b299408f62 Merge branch 'master' of ssh://git-annex.branchable.com 2013-10-14 12:21:16 -04:00
Joey Hess
267f8b0bb5 switch to runFormPostNoToken to work around strange yesod bug
I am not happy about disabling yesod's XSRF tokens, but the webapp has two
guards of its own that should suffice: Listening only to localhost
(normally) and requiring its own auth token on every single request
(always).
2013-10-14 12:19:11 -04:00
http://joeyh.name/
ca6936090a Added a comment 2013-10-14 16:18:03 +00:00
bla
56f929cfc3 2013-10-14 06:19:37 +00:00
bla
860b72a7dc 2013-10-14 06:13:19 +00:00
bla
6085934567 2013-10-13 20:14:06 +00:00
Joey Hess
0d0c7e1244 Merge branch 'master' of ssh://git-annex.branchable.com 2013-10-13 13:31:50 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlWskoNgUB7r70OXglR-4iKI4bOuPJb-xg
00b18987a4 Added a comment 2013-10-13 12:35:50 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlWskoNgUB7r70OXglR-4iKI4bOuPJb-xg
8c41f6a7dd 2013-10-13 09:04:52 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlWskoNgUB7r70OXglR-4iKI4bOuPJb-xg
1d4f1d5170 2013-10-13 08:56:02 +00:00
Joey Hess
03fc341dcb close 2013-10-12 19:27:35 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlWskoNgUB7r70OXglR-4iKI4bOuPJb-xg
13649750b8 2013-10-12 20:13:39 +00:00
https://id.koumbit.net/anarcat
c8ab2f1fce Added a comment: awesome, fix confirmed, and IA+quvi forwarded upstream 2013-10-12 11:23:31 +00:00
https://id.koumbit.net/anarcat
d6702ae54b bug fixed in later versions 2013-10-12 10:07:52 +00:00
http://joeyh.name/
a2d3e0f72a Added a comment 2013-10-11 18:49:25 +00:00
https://id.koumbit.net/anarcat
b84da183d3 report this bug properly 2013-10-11 18:45:50 +00:00
http://cstork.org/
6721b7501b Added a comment: git annex get/sync don't delete files 2013-10-10 11:43:29 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmVV_nBwlsyCv53BXoJt8YpCX_wZPfzpyo
859889a6ec Added a comment: Productive Annoyance 2013-10-10 04:30:48 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmVV_nBwlsyCv53BXoJt8YpCX_wZPfzpyo
3ec0e64f50 Added a comment: Progress 2013-10-10 01:17:08 +00:00
https://id.koumbit.net/anarcat
85594ec46c document this bug more explicitely 2013-10-09 22:47:20 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkGCmVc5qIJaQQgG82Hc5zzBdAVdhe2JEM
1d642259cb 2013-10-09 01:31:59 +00:00
https://www.google.com/accounts/o8/id?id=AItOawknwkXgi8SnK4QT32ANl3GMKvFLyQGeHqo
27fb2f7d02 Added a comment 2013-10-08 16:18:07 +00:00
http://droggl.myopenid.com/
dbb49b2a0f Added a comment 2013-10-08 07:46:35 +00:00
http://droggl.myopenid.com/
d21864be4b 2013-10-08 07:36:42 +00:00
http://alan.petitepomme.net/
59c5c4a46d 2013-10-08 07:11:18 +00:00
Joey Hess
45aed381df import: Skip .git directories. 2013-10-07 13:03:05 -04:00
https://id.koumbit.net/anarcat
75fd6e87bd sign 2013-10-07 12:07:07 +00:00
https://id.koumbit.net/anarcat
a9fab4d7b9 Added a comment: it's worse than not working, it kills! :) 2013-10-07 12:06:22 +00:00
https://id.koumbit.net/anarcat
19763df501 import not only doesn't work, it kills 2013-10-07 12:02:56 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnZEanlyzay_QlEAL0CWpyZcRTyN7vay8U
8a19b0e50b Added a comment: Tilde did it for me 2013-10-06 21:59:44 +00:00
Joey Hess
635c9a1549 assistant: Detect stale git lock files at startup time, and remove them.
Extends the index.lock handling to other git lock files. I surveyed
all lock files used by git, and found more than I expected. All are
handled the same in git; it leaves them open while doing the operation,
possibly writing the new file content to the lock file, and then closes
them when done.

The gc.pid file is excluded because it won't affect the normal operation
of the assistant, and waiting for a gc to finish on startup wouldn't be
good.

All threads except the webapp thread wait on the new startup sanity checker
thread to complete, so they won't try to do things with git that fail
due to stale lock files. The webapp thread mostly avoids doing that kind of
thing itself. A few configurators might fail on lock files, but only if the
user is explicitly trying to run them. The webapp needs to start
immediately when the user has opened it, even if there are stale lock
files.

Arranging for the threads to wait on the startup sanity checker was a bit
of a bear. Have to get all the NotificationHandles set up before the
startup sanity checker runs, or they won't see its signal. Perhaps
the NotificationBroadcaster is not the best interface to have used for
this. Oh well, it works.

This commit was sponsored by Michael Jakl
2013-10-05 17:04:21 -04:00