Commit graph

24633 commits

Author SHA1 Message Date
Joey Hess
866982aa3a comment 2015-06-14 12:54:27 -04:00
Joey Hess
303d374605 resp 2015-06-14 12:52:53 -04:00
Joey Hess
d14c86acea Merge branch 'master' of ssh://git-annex.branchable.com 2015-06-14 12:48:29 -04:00
Joey Hess
0e8f23fa06 set LC_ALL in ikiwiki build to ensure deterministic build in other locales
smcv suggeted using C.UTF-8, but I want this to work beyond Debian, so went
with C, which seems to work ok.
2015-06-14 10:51:48 -04:00
tomekwi
83ddf94ac5 Added a comment: … 2015-06-13 13:07:49 +00:00
tomekwi
a4c3c26eeb Added a comment: direct mode within a directory? 2015-06-13 13:03:34 +00:00
amarburg@128ccc99d92795ea23992e5d242c9c550de316c0
9ee6167c48 2015-06-12 19:15:05 +00:00
Joey Hess
4ec4562e36 Merge branch 'master' of ssh://git-annex.branchable.com 2015-06-12 14:38:21 -04:00
Joey Hess
5b8893fd0f clean up obsolete branches 2015-06-12 14:37:35 -04:00
Joey Hess
f8f4577047 plan update 2015-06-12 14:32:18 -04:00
Joey Hess
d2699b6ebe status update 2015-06-12 14:20:21 -04:00
Joey Hess
a928190985 optimise ObjectHashLower handling
A repo tuned with ObjectHashLower only ever uses lower-case hash
directories, so unlike a bare repo which could have old mixed case
directories, there is no need to do an expensive check of the filesystem in
this case.
2015-06-12 13:05:44 -04:00
https://me.yahoo.com/a/xkO5.1BkqIlQeQFLvN.y7djS7aY-#90ad3
eb0c985012 2015-06-12 14:02:44 +00:00
https://me.yahoo.com/a/xkO5.1BkqIlQeQFLvN.y7djS7aY-#90ad3
eab49dcb5f 2015-06-12 14:01:37 +00:00
https://me.yahoo.com/a/WioZezwAj_PPf7_qtC0oN9Pl5iUte78gVg--#97871
f176464ea9 2015-06-12 07:57:14 +00:00
Joey Hess
256b86b948 oh foo, I didn't mean to include this in the prev commit 2015-06-11 16:43:59 -04:00
Joey Hess
5c960601aa 4 ns optimisation of repeated calls to hasDifference on the same Differences
I want this as fast as possible, so it can be added to code paths without
slowing them down.

Avoid the set lookup, and rely on laziness,
drops runtime from 14.37 ns to 11.03 ns according to this criterion benchmark:

import Criterion.Main
import qualified Types.Difference as New
import qualified Types.DifferenceOld as Old

main :: IO ()
main = defaultMain
	[ bgroup "hasDifference"
		[ bench "new" $ whnf (New.hasDifference New.OneLevelObjectHash) new
		, bench "old" $ whnf (Old.hasDifference Old.OneLevelObjectHash) old
		]
	]
  where
	s = "fromList [ObjectHashLower, OneLevelObjectHash, OneLevelBranchHash]"
	new = New.readDifferences s
	old = Old.readDifferences s

A little bit of added boilerplate, but I suppose it's worth it to not
need to worry about set lookup overhead. Note that adding more differences
would slow down the old implementation; the new implementation will run
the same speed.
2015-06-11 16:34:35 -04:00
Joey Hess
1744bd6b48 further thoughts 2015-06-11 15:24:30 -04:00
Joey Hess
f7a10dc421 Merge branch 'master' of ssh://git-annex.branchable.com 2015-06-11 15:20:55 -04:00
https://id.koumbit.net/anarcat
30c2a63933 i don't think this is valid 2015-06-11 19:17:45 +00:00
Joey Hess
0a998032ed Fix bug that prevented enumerating locally present objects in repos tuned with annex.tune.objecthash1=true
Need to walk 1 level of subdirs less in this case.

The git-annex branch traversal code didn't have a similar bug.
2015-06-11 15:15:05 -04:00
Antoine Beaupré
26fc983a16 move bug to a todo since it's a wishlist 2015-06-11 15:13:06 -04:00
https://id.koumbit.net/anarcat
728f65858e maybe a feature? 2015-06-11 19:10:30 +00:00
https://id.koumbit.net/anarcat
cd71f3ece6 bandwidth limits on s3 2015-06-11 17:16:54 +00:00
juh
169e534da4 Added a comment: Thanks 2015-06-11 15:51:53 +00:00
eigengrau
b2323b9600 Added a comment 2015-06-11 15:12:24 +00:00
https://id.koumbit.net/anarcat
c558b39686 Added a comment 2015-06-10 18:30:22 +00:00
Joey Hess
4497e2889d todo item (seems blocked on caching database) 2015-06-10 14:11:39 -04:00
Joey Hess
608172fef5 add git-annex-shell link to standalone deb patch 2015-06-10 13:58:30 -04:00
Joey Hess
bb7ccaa64e add commit-standalone target to refresh quilt patch 2015-06-10 13:57:04 -04:00
Joey Hess
733dd4fbf8 Merge branch 'master' of ssh://git-annex.branchable.com 2015-06-10 13:50:44 -04:00
Joey Hess
f8affe7d6b some changed deps for android build 2015-06-10 13:48:00 -04:00
CandyAngel
63aabe5634 Added a comment 2015-06-10 13:09:08 +00:00
frederik@ffbea6a549cb3f460d110386c0f634c1ddc6a68a
0995f265ee Added a comment 2015-06-10 12:43:45 +00:00
anarcat
c1f1ed38b9 Added a comment 2015-06-10 12:29:46 +00:00
juh
49cdb4957e 2015-06-10 06:55:03 +00:00
jean.jordaan@4bb3bd508a9eb0a4bab5d1b587dadd2b6c4a7edc
87b6a10ecf Added a comment: Sorry for the noise, thanks for the tool :-) 2015-06-10 05:31:40 +00:00
Joey Hess
e0c2bcdc74 Build documentation with deterministic=1 for reproducible builds. (A new ikiwiki feature.) Closes: #785736 2015-06-09 17:53:55 -04:00
Joey Hess
fa4ac76d79 fix filename 2015-06-09 17:51:59 -04:00
Joey Hess
d185442382 remove .swp file 2015-06-09 17:51:10 -04:00
Joey Hess
1b552d6340 another bug that is not present in the current version 2015-06-09 17:03:39 -04:00
tpurchas@578b95c2cec84a4f26a27b1155c84396f0027faf
3fb36e7f4e 2015-06-09 20:55:07 +00:00
Joey Hess
0e4596de69 response 2015-06-09 16:33:35 -04:00
Joey Hess
b0eb6493f7 note on deleting files 2015-06-09 16:33:25 -04:00
https://id.koumbit.net/anarcat
7002c1514a Added a comment: .git/annex/tmp third-party use? 2015-06-09 20:21:40 +00:00
Joey Hess
9492ccb5a1 devblog 2015-06-09 15:59:03 -04:00
Joey Hess
7d632bb03f comment 2015-06-09 15:46:56 -04:00
Joey Hess
2e2d9cb258 followup 2015-06-09 15:41:16 -04:00
Joey Hess
5d0d242cea close; old git-annex version with old problems 2015-06-09 15:33:57 -04:00
Joey Hess
800e9f2658 tahoe: Use ~/.tahoe-git-annex/ rather than ~/.tahoe/git-annex/ to avoid old versions of tahoe create-client choking. 2015-06-09 15:29:16 -04:00