Commit graph

27104 commits

Author SHA1 Message Date
chip@9a7a3f3780ecacd7b38b0b0adad50046c9b2895b
8722bc865d 2016-03-03 06:00:05 +00:00
chip@9a7a3f3780ecacd7b38b0b0adad50046c9b2895b
c81b2b9213 2016-03-03 05:59:02 +00:00
mih
554d9339b6 Added a comment: Thanks 2016-03-02 19:30:49 +00:00
Joey Hess
17a3885119
comment 2016-03-02 13:15:24 -04:00
Joey Hess
223eaf2efd
Merge branch 'master' of ssh://git-annex.branchable.com 2016-03-02 12:25:59 -04:00
Joey Hess
baa9954e06
Fix metadata hook behavior when multiple files are added at once. Thanks, Klaus Ethgen. 2016-03-02 12:25:41 -04:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
bd83c16586 Added a comment 2016-03-01 22:40:45 +00:00
Joey Hess
12f7c0724f
followup 2016-03-01 16:58:19 -04:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
cd067a57a0 Added a comment 2016-03-01 20:43:17 +00:00
Joey Hess
181f9457ee
update 2016-03-01 16:42:36 -04:00
Joey Hess
e35001ad6b
followup 2016-03-01 16:34:41 -04:00
Joey Hess
5b664053e0
comment 2016-03-01 16:24:04 -04:00
Joey Hess
84de8bd2d0
clarify 2016-03-01 16:22:47 -04:00
Joey Hess
6f4de0c201
Merge branch 'master' of ssh://git-annex.branchable.com 2016-03-01 15:36:54 -04:00
Joey Hess
3334130368
Fix shared lock file FD leak.
This fixes behavior in this situation:

	l1 <- lockShared Nothing "lck"
	l2 <- lockShared Nothing "lck"
	dropLock l1
	dropLock l2

Before, the lock was dropped upon the second dropLock call, but the fd
remained open, and would never be closed while the program was running.

Fixed by a rather round-about method, but it should work well enough.

It would have been simpler to open open the shared lock once, and not open
it again in the second call to lockShared. But, that's difficult to do
atomically.

This also affects Windows and PID locks, not just posix locks.

In the case of pid locks, multiple calls to waitLock within the same
process are allowed because the side lock is locked using a posix lock,
and so multiple exclusive locks can be taken in the same process. So,
this change fixes a similar problem with pid locks.

	l1 <- waitLock (Seconds 1) "lck"
	l2 <- waitLock (Seconds 1) "lck"
	dropLock l1
	dropLock l2

Here the l2 side lock fd remained open but not locked,
although the pid lock file was removed. After this change, the second
dropLock will close both fds to the side lock, and delete the pidlock.
2016-03-01 15:31:39 -04:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
ea0bf2be70 Added a comment 2016-03-01 18:58:21 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
06294a3324 Added a comment 2016-03-01 18:54:15 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
3fe3d5c23a Added a comment: recent snapshot seems has fixed it 2016-03-01 18:52:28 +00:00
Joey Hess
26c499492f
comment 2016-03-01 13:47:49 -04:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
647fffd7ef Added a comment: more info 2016-03-01 17:31:29 +00:00
Joey Hess
8933c21b5e
moreinfo 2016-03-01 12:54:01 -04:00
Joey Hess
ad888a6b76
Fix bug preventing moving files to/from a repository with annex.pidlock set. 2016-03-01 12:51:54 -04:00
Joey Hess
f219ffc33b
comment typo fix 2016-03-01 12:24:22 -04:00
Joey Hess
3e91cd13ba
Fix data loss that can occur when annex.pidlock is set in a repository. 2016-03-01 12:12:57 -04:00
Joey Hess
2f48c0aa7c
comment 2016-03-01 11:42:40 -04:00
Joey Hess
a7df5c6867
comment 2016-03-01 11:39:34 -04:00
Joey Hess
802f0f7c8a
reopen 2016-03-01 10:48:00 -04:00
Joey Hess
439bc31b0f
comment 2016-03-01 10:36:52 -04:00
bvaa
f6e1770426 Added a comment: similar problem 2016-03-01 08:12:27 +00:00
grawity@2ea26be48562f66fcb9b66307da72b1e2e37453f
1f2e7fea6a Added a comment 2016-03-01 07:10:56 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
5f0c8efb9a initial whining 2016-03-01 00:33:44 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
36224d99fd 2016-03-01 00:04:51 +00:00
Joey Hess
eb4faba81a
Merge branch 'master' of ssh://git-annex.branchable.com 2016-02-29 17:40:24 -04:00
Joey Hess
c23b82dc27
devblog 2016-02-29 17:39:38 -04:00
michael.hanke@c60e12358aa3fc6060531bdead1f530ac4d582ec
36840ff2d7 2016-02-29 19:18:32 +00:00
grawity@2ea26be48562f66fcb9b66307da72b1e2e37453f
ce9e00f8dc Added a comment 2016-02-29 17:25:17 +00:00
Joey Hess
e520366c4d
metadata: Added -r to remove all current values of a field. 2016-02-29 13:00:46 -04:00
Joey Hess
98fcc23e4f
use DelMeta to unset tag
No behavior change, just simplification.
2016-02-29 13:00:23 -04:00
Joey Hess
4763004632
add news item for git-annex 6.20160229 2016-02-29 12:56:56 -04:00
Joey Hess
c4494f1abe
leap year release 2016-02-29 12:41:59 -04:00
Joey Hess
5c23b8b49a
forgot to add this comment earlier 2016-02-29 12:41:39 -04:00
Joey Hess
37a89cca43
comment 2016-02-29 11:52:20 -04:00
Joey Hess
be4820ce32
Merge branch 'master' of ssh://git-annex.branchable.com 2016-02-29 11:43:29 -04:00
Joey Hess
955ab3a973
fix android build 2016-02-29 11:43:22 -04:00
grawity@2ea26be48562f66fcb9b66307da72b1e2e37453f
2d5039fff6 2016-02-29 06:22:05 +00:00
Joey Hess
36ba39c4f3
remove lower-casing of field names; metadata fields are case-insensative 2016-02-28 11:56:55 -04:00
Joey Hess
79a7bed2d7
Merge branch 'master' of ssh://git-annex.branchable.com 2016-02-28 11:11:43 -04:00
Joey Hess
764e57f1f1
The pre-commit-annex hook script that automatically extracts metadata has been updated to also use exiftool. Thanks, Klaus Ethgen. 2016-02-28 11:10:55 -04:00
page
e164d530f9 Added a comment: Some additional notes 2016-02-28 11:44:39 +00:00
Joey Hess
b946ca44c3
Support --metadata field<number, --metadata field>number etc to match ranges of numeric values.
Similarly (well, for free), support preferred content expressions like
metadata=field<number and metadata=field>number
2016-02-27 10:55:02 -04:00