add a UUID type

Should have done this a long time ago.
This commit is contained in:
Joey Hess 2011-11-07 14:46:01 -04:00
commit 63a292324d
18 changed files with 67 additions and 55 deletions

View file

@ -64,7 +64,7 @@ s3Setup :: UUID -> RemoteConfig -> Annex RemoteConfig
s3Setup u c = handlehost $ M.lookup "host" c
where
remotename = fromJust (M.lookup "name" c)
defbucket = remotename ++ "-" ++ u
defbucket = remotename ++ "-" ++ show u
defaults = M.fromList
[ ("datacenter", "US")
, ("storageclass", "STANDARD")