Commit graph

24455 commits

Author SHA1 Message Date
https://id.koumbit.net/anarcat
bc87ed040e neat checksumming api at s3 that could be leveraged 2015-06-16 00:50:06 +00:00
anarcat
911054dbb8 Added a comment 2015-06-15 20:05:13 +00:00
anarcat
4f427c64f9 Added a comment 2015-06-15 20:02:56 +00:00
anarcat
003e979576 Added a comment 2015-06-15 19:48:46 +00:00
anarcat
009e961eca workaround: restarting the assistant 2015-06-15 19:16:18 +00:00
anarcat
5a8de788b0 Added a comment 2015-06-15 19:15:12 +00:00
Joey Hess
18a3d1b100 followup 2015-06-15 15:00:02 -04:00
Joey Hess
08acf42ce3 Merge branch 'master' of ssh://git-annex.branchable.com 2015-06-15 14:50:14 -04:00
Joey Hess
1eb4b47c79 layout 2015-06-15 14:48:38 -04:00
anarcat
bd6a6ac2af weird s3 sync bug? 2015-06-15 18:46:05 +00:00
Joey Hess
297b118d3e close 2015-06-15 14:27:48 -04:00
Joey Hess
a82ffec3cb comment 2015-06-15 14:26:12 -04:00
Joey Hess
149f8ced6b comment 2015-06-15 14:12:31 -04:00
Joey Hess
15d11fc903 link to todo item about this 2015-06-15 13:57:23 -04:00
Joey Hess
abe1c7b0bb bug in old version of git-annex not current version 2015-06-15 13:55:47 -04:00
Joey Hess
687202ee65 comment 2015-06-15 13:32:19 -04:00
Joey Hess
1ec2c11536 Merge branch 'master' of ssh://git-annex.branchable.com 2015-06-15 13:27:33 -04:00
zsolist@20b8dad52ed42acde0810648144f7df87b29cd39
402dfa6583 2015-06-15 08:22:45 +00:00
https://me.yahoo.com/a/WioZezwAj_PPf7_qtC0oN9Pl5iUte78gVg--#97871
6e71e9e61c 2015-06-15 04:22:34 +00:00
Joey Hess
9b38c14165 debian/cabal-wrapper: Removed this hack which should not be needed anymore. 2015-06-14 14:43:55 -04:00
Joey Hess
a6c56fb459 improve url parsing more
Now can handle eg, "http://[::1]/download/cdrom-fontzip[foo]", where
the first [] need to stay unescaped, but the rest have to be escaped.
2015-06-14 13:54:24 -04:00
Joey Hess
829007d629 Improve url parsing to handle some urls containing illegal [] characters in their paths.
Ie, "https://archive.org/download/zoom-2/Zoom - Release 2 (1996)(Active Software)[!].iso"
2015-06-14 13:39:44 -04:00
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