Commit graph

2267 commits

Author SHA1 Message Date
Joey Hess
4c73d77b42 avoid the functor
fmap = liftM
2011-08-21 14:59:34 -04:00
Joey Hess
06f509854a file moved 2011-08-21 13:19:33 -04:00
Joey Hess
06ce574136 tweak 2011-08-21 13:17:12 -04:00
Joey Hess
1c25df3c1b outdated comment 2011-08-21 12:59:49 -04:00
Joey Hess
737b5d14c9 moved files around 2011-08-20 16:11:42 -04:00
Joey Hess
ec746c511f note about why curl -# is used
I'd rather use wget really, but as git-annex uses libcurl elsewhere, it
seems best to stick with curl. And making this configurable seems
overboard.
2011-08-20 12:52:29 -04:00
Joey Hess
7121526385 add news item for git-annex 3.20110819 2011-08-19 20:39:03 -04:00
Joey Hess
3786f8d348 releasing version 3.20110819 2011-08-19 20:38:36 -04:00
Joey Hess
01cd775d92 Fix broken upgrade from V1 repository. Closes: #638584
Had forgotten to keep several old versions of functions needed during this
upgrade.
2011-08-19 20:32:18 -04:00
Joey Hess
e3ca08fad8 drop an unnecessart liftIO
the liftM on its own can lift all the way into IO.
2011-08-19 14:36:52 -04:00
Joey Hess
021e8e1e0e make Annex an opaque data type
Was a type alias; using newtype has the benefit that type errors will
show "Annex foo" rather than two lines of internal type nonsense. Yay!
There should be no other effects to size or runtime.

I've tried to do this at least twice before (each time I read RWH chapter 10);
finally understood how to this time.. sorta.
2011-08-19 14:28:07 -04:00
Joey Hess
e97fede8cd make gitDir absolute 2011-08-19 12:59:21 -04:00
Joey Hess
7cedd28ab0 tweak 2011-08-18 12:26:28 -04:00
Joey Hess
8a2197adfa Added annex-cost-command configuration, which can be used to vary the cost of a remote based on the output of a shell command.
Also avoided crashing if the user specified cost value cannot be parsed.
2011-08-18 12:20:47 -04:00
Joey Hess
0c53ccc675 tweak 2011-08-17 18:52:58 -04:00
Joey Hess
9e763954ae tweak 2011-08-17 18:42:49 -04:00
Joey Hess
b7a4ff1c31 optimise initialized check
Avoid running external command if annex.version is set.
2011-08-17 18:38:26 -04:00
Joey Hess
228a724d1d improve docs for init 2011-08-17 14:44:31 -04:00
Joey Hess
32f27cc3e8 when reading configs of local repos, first initializeSafe
This auto-generates a uuid if the local repo does not already have one.
2011-08-17 14:44:31 -04:00
Joey Hess
cf33eff684 git-annex-shell configlist should not be standalone
This makes it initialize the repository with a uuid, and list the uuid,
allowing automatic setup of bare repositories when git-annex is used.
2011-08-17 14:44:31 -04:00
Joey Hess
56f6923ccb Now "git annex init" only has to be run once
when a git repository is first being created. Clones will automatically
notice that git-annex is in use and automatically perform a basic
initalization. It's still recommended to run "git annex init" in any
clones, to describe them.
2011-08-17 14:44:31 -04:00
Joey Hess
3b5f722130 init no longer creates .gitattributes 2011-08-17 14:44:31 -04:00
http://joey.kitenet.net/
a131fabc0d Added a comment: Re: squeeze-backports update? 2011-08-17 15:34:29 +00:00
https://www.google.com/accounts/o8/id?id=AItOawla7u6eLKNYZ09Z7xwBffqLaXquMQC07fU
e950947cc9 Added a comment: squeeze-backports update? 2011-08-17 12:34:48 +00:00
Joey Hess
00cc34a4c3 add news item for git-annex 3.20110817 2011-08-17 01:34:43 -04:00
Joey Hess
f0c2130700 releasing version 3.20110817 2011-08-17 01:34:15 -04:00
http://joey.kitenet.net/
cde8221051 Added a comment 2011-08-17 04:56:30 +00:00
Joey Hess
11cdf0316e Merge branch 'master' of ssh://git-annex.branchable.com 2011-08-16 22:22:45 -04:00
Joey Hess
4a023dd1aa Added curl to Debian package dependencies. 2011-08-16 22:22:00 -04:00
http://joey.kitenet.net/
dffbf49d90 Added a comment 2011-08-17 01:33:08 +00:00
Joey Hess
f5449aae16 error out when dropping from http repo 2011-08-16 21:20:14 -04:00
Joey Hess
790b0f3879 update 2011-08-16 21:16:23 -04:00
Joey Hess
e6752cc064 Added support for getting content from git remotes using http (and https). 2011-08-16 21:12:48 -04:00
Joey Hess
5ccb926b51 support for getting files from http git remotes 2011-08-16 21:04:23 -04:00
Joey Hess
a55faff08f reorg Remote/* 2011-08-16 20:49:54 -04:00
Joey Hess
4545a0e78c split out generic url stuff into a helper library from Remote.Web 2011-08-16 20:49:44 -04:00
Joey Hess
07f2e7ee72 support reading git config from http remotes
The config file is downloaded to a temp file, and git-config run on that
to parse it.
2011-08-16 20:48:11 -04:00
Joey Hess
5000aba76e avoid namespace conflict 2011-08-16 20:47:48 -04:00
Joey Hess
354c5f349b add withTempFile
This is essentially the same as withSystemTempFile from System.IO.Temp,
but that library is not packaged for Debian, and may not be widely used.
I see various other withTempFile implementations here and there, none canonical.
Sigh.
2011-08-16 20:45:58 -04:00
Joey Hess
cfcd7805b4 add repoIsHttp 2011-08-16 19:23:56 -04:00
Joey Hess
c04f1f4c30 response 2011-08-16 16:11:55 -04:00
Joey Hess
f1f6a9d887 Merge branch 'master' of ssh://git-annex.branchable.com 2011-08-16 11:51:41 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkHscTHMCNvjJ6nLI1VpsBrJFI5FTwhUT4
c3f74c6959 2011-08-15 18:19:47 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkHscTHMCNvjJ6nLI1VpsBrJFI5FTwhUT4
9f719e5674 2011-08-15 18:18:22 +00:00
Joey Hess
829ea31b72 typo 2011-08-15 13:30:59 -04:00
Joey Hess
9980ddff30 Merge branch 'master' of ssh://git-annex.branchable.com 2011-08-14 19:58:16 -04:00
http://christian.amsuess.com/chrysn
18012c7ec8 enhancement suggestion 2011-08-12 13:09:11 +00:00
http://christian.amsuess.com/chrysn
8b847517a8 (i don't have a remote origin, but it's more common and doesn't change the example) 2011-08-10 17:00:09 +00:00
http://christian.amsuess.com/chrysn
f8282b55ce problems with version 3 upgrade instructions 2011-08-10 16:56:51 +00:00
https://www.google.com/accounts/o8/id?id=AItOawm4or5sJLWB0evPKp70Q2OND-JmFPnOkLA
20a8f8c85b 2011-08-09 13:04:34 +00:00