Commit graph

26419 commits

Author SHA1 Message Date
Joey Hess
ca2c977704
wip v6 support for assistant
Files are not yet added to v6 repos in unlocked mode.
2015-12-21 18:41:15 -04:00
Joey Hess
4cf9efb51a
remove (v6) associated file in unannex 2015-12-21 18:00:48 -04:00
Joey Hess
d82b110da8
Merge branch 'master' into smudge 2015-12-21 17:12:46 -04:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
24419103f3 2015-12-21 19:50:38 +00:00
frost.kristian@75a6b6a25121f985cd8708f98c691d41716ac720
082ae2083c Added a comment 2015-12-21 17:47:13 +00:00
Joey Hess
d3240f4622
Merge branch 'master' of ssh://git-annex.branchable.com 2015-12-21 12:57:20 -04:00
Joey Hess
a8b398c1fa
addurl: Added --batch option. 2015-12-21 12:57:13 -04:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
7505f0970a Added a comment 2015-12-21 15:46:53 +00:00
Joey Hess
a1927c6adb
Merge branch 'master' of ssh://git-annex.branchable.com 2015-12-21 11:34:51 -04:00
cbaines
b032015f57 Added a comment 2015-12-21 13:33:34 +00:00
frost.kristian@75a6b6a25121f985cd8708f98c691d41716ac720
f67862644b Added a comment 2015-12-21 13:08:49 +00:00
cbaines
6eedcc3a3e Added a comment 2015-12-21 12:40:52 +00:00
cbaines
8def2688c4 Added a comment 2015-12-21 12:32:55 +00:00
https://openid.stackexchange.com/user/e65e6d0e-58ba-41de-84cc-1f2ba54cf574
bbfa501f4a Added a comment 2015-12-21 06:02:21 +00:00
jhannwong@c9c7a67b5632a4bbc0c959cfeb3d340e02f28565
466a249291 Added a comment: A problem with SmartGit then? 2015-12-21 03:21:59 +00:00
frost.kristian@75a6b6a25121f985cd8708f98c691d41716ac720
29ea9f3782 2015-12-20 21:43:57 +00:00
sts
3bd5cbc131 Added a comment 2015-12-20 19:49:27 +00:00
Joey Hess
b6ac443b60
fix build warnings under ghc 7.10
Caused by AMP.. Since I've finally upgraded my dev laptop to 7.10,
I may start missing imports that are not needed with it but are with older
versions..
2015-12-19 17:42:45 -04:00
Joey Hess
4e226d2cd2
update 2015-12-19 14:33:10 -04:00
Joey Hess
02dc62e2d3
reuse comment 2015-12-19 14:29:40 -04:00
Joey Hess
2c014e97dd
comment 2015-12-19 14:27:22 -04:00
Joey Hess
962c5ee0db
comment 2015-12-19 14:19:24 -04:00
Joey Hess
f5b103b455
comment 2015-12-19 14:07:57 -04:00
Joey Hess
7588e2fba7
comment 2015-12-19 13:59:03 -04:00
Joey Hess
9deaf4f1d9
comment 2015-12-19 13:55:28 -04:00
Joey Hess
d215acf6ef
comment 2015-12-19 13:51:26 -04:00
Joey Hess
fa1e9a9ee9
Merge branch 'master' of ssh://git-annex.branchable.com 2015-12-19 13:47:01 -04:00
Joey Hess
35827e2705
status: On crippled filesystems, was displaying M for all annexed files that were present. Probably caused by a change to what git status displays in this situation. Fixed by treating files git thinks are modified the same as typechanged files. 2015-12-19 13:36:40 -04:00
https://openid.stackexchange.com/user/e65e6d0e-58ba-41de-84cc-1f2ba54cf574
df181d5a38 2015-12-19 06:52:08 +00:00
Joey Hess
9d19a60349
add news item for git-annex 5.20151218 2015-12-18 14:48:04 -04:00
Joey Hess
fd13d72109
Merge branch 'master' of ssh://git-annex.branchable.com 2015-12-18 14:43:12 -04:00
neocryptek@659edac901ffbc8e541a974f8f18987eeafc63bd
5008846f7b Added a comment 2015-12-18 18:09:54 +00:00
Joey Hess
f1a73de560
prep release 2015-12-18 12:09:55 -04:00
Joey Hess
fbf6c25de5
interaction with shared clones 2015-12-17 18:46:52 -04:00
SamuelTardieu
7b73f343ae Added a comment 2015-12-17 11:15:55 +00:00
jhannwong@c9c7a67b5632a4bbc0c959cfeb3d340e02f28565
a604f7cd93 2015-12-17 02:25:02 +00:00
pete.ward@26c41318616c4cf9601d0431557c1df734ccdb77
ffefc488f4 2015-12-16 22:15:17 +00:00
Joey Hess
0914d33b21
Merge branch 'master' of ssh://git-annex.branchable.com 2015-12-16 17:05:12 -04:00
Joey Hess
ca9b84754d
devblog 2015-12-16 17:04:48 -04:00
Joey Hess
e55ac3d383
update 2015-12-16 17:04:31 -04:00
Joey Hess
a0498b47de
test suite down to only 4 fails with v6 2015-12-16 16:56:27 -04:00
Joey Hess
e61f3d1752
update todo list 2015-12-16 16:02:21 -04:00
Joey Hess
a858a331c4
fix docs
"git -a annex.largefiles=* add" cannot be used.. git does not pass the
config along to the smudge filter, sadly.
2015-12-16 16:00:41 -04:00
Joey Hess
6b717032c5
v6: fix locking modified file when the content is not present 2015-12-16 15:35:42 -04:00
Joey Hess
2d343224dc
fix add of file that was locked but has been replaced by a new, unlocked file (v6) 2015-12-16 14:53:41 -04:00
Joey Hess
35f6a78b66
fix reversion in v5 git-annex add of unlocked file
In v5, lookupFile is supposed to only look at symlinks on disk (except when
in direct mode).

Note that v6 also has a bug when a locked file's symlink is deleted and is
replaced with a new file. It sees that a link is staged and gets that
key.
2015-12-16 14:27:12 -04:00
Joey Hess
38a23928e9
temporarily remove cached keys database connection
The problem is that shutdown is not always called, particularly in the test
suite. So, a database connection would be opened, possibly some changes
queued, and then not shut down.

One way this can happen is when using Annex.eval or Annex.run with a new
state. A better fix might be to make both of them call Keys.shutdown
(and be sure to do it even if the annex action threw an error).

Complication: Sometimes they're run reusing an existing state, so shutting
down a database connection could cause problems for other users of that
same state. I think this would need a MVar holding the database handle,
so it could be emptied once shut down, and another user of the database
connection could then start up a new one if it got shut down. But, what if
2 threads were concurrently using the same database handle and one shut it
down while the other was writing to it? Urgh.

Might have to go that route eventually to get the database access to run
fast enough. For now, a quick fix to get the test suite happier, at the
expense of speed.
2015-12-16 14:05:26 -04:00
Joey Hess
622da992f8
reorder database shutdown to be concurrency safe
If a DbHandle is in use by another thread, it could be queueing changes
while shutdown is running. So, wait for the worker to finish before
flushing the queue, so that any last-minute writes are included. Before
this fix, they would be silently dropped.

Of course, if the other thread continues to try to use a DbHandle once it's
closed, it will block forever as the worker is no longer reading from the
jobs MVar. So, that would crash with
"thread blocked indefinitely in an MVar operation".
2015-12-16 13:52:43 -04:00
Joey Hess
1a051f4300
comment 2015-12-16 13:24:45 -04:00
Joey Hess
1e016611de
pass --version to init when needed 2015-12-16 13:14:18 -04:00