Commit graph

1238 commits

Author SHA1 Message Date
http://joey.kitenet.net/
d0a7513bbb Added a comment 2011-03-23 15:28:00 +00:00
http://joey.kitenet.net/
7808de3d47 Added a comment 2011-03-23 15:18:29 +00:00
http://joey.kitenet.net/
cf70075c4b Added a comment 2011-03-23 15:13:33 +00:00
http://joey.kitenet.net/
5b4ae90cdb Added a comment 2011-03-23 15:05:12 +00:00
Joey Hess
7da3dc5984 Merge remote-tracking branch 'branchable/master' 2011-03-23 10:55:54 -04:00
Joey Hess
b0eccb003a improve free space needed display 2011-03-23 10:52:40 -04:00
http://peter-simons.myopenid.com/
6d857b540a Added a comment: Why isn't this package built with Cabal? 2011-03-23 11:31:06 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
002db413a5 2011-03-23 09:53:16 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
847629ee69 Added a comment 2011-03-23 08:21:32 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
ba064654a3 2011-03-23 07:27:14 +00:00
Joey Hess
04539d1671 improve size change display 2011-03-23 02:42:14 -04:00
Joey Hess
cd1cb52652 tweak 2011-03-23 02:15:26 -04:00
Joey Hess
c43e3b5c78 check key size when available, no matter the backend
Now that SHA and other backends can have size info, fsck should check it
whenever available.
2011-03-23 02:10:59 -04:00
Joey Hess
12cdc96216 tweak 2011-03-23 01:13:13 -04:00
Joey Hess
0a295fad34 Merge remote-tracking branch 'branchable/master' 2011-03-23 01:07:17 -04:00
Joey Hess
1161fa8bdf add units to disk size check message 2011-03-23 01:06:14 -04:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
745f48297d Added a comment 2011-03-23 02:07:49 +00:00
Joey Hess
376fc65d3e add license text 2011-03-22 21:23:35 -04:00
Joey Hess
7051763b5b tweak 2011-03-22 21:00:18 -04:00
Joey Hess
d12512bfc6 Merge remote-tracking branch 'branchable/master' 2011-03-22 20:42:33 -04:00
http://joey.kitenet.net/
0e8f304dec Added a comment 2011-03-23 00:38:10 +00:00
Joey Hess
43d1747804 Merge remote-tracking branch 'branchable/master' 2011-03-22 20:36:24 -04:00
Joey Hess
c1dc407941 Fix space leak in fsck and drop commands.
The space leak was somehow caused by this line:

	absfiles <- mapM absPath files

I confess, I don't quite understand why this caused bad buffering,
but apparently the whole pipeline from git-ls-files backed up at that
point.

Happily, rewriting the code to only get the cwd once and use a pure
function to calculate absfiles clears it up, and should be a little more
efficient in syscalls too.
2011-03-22 20:31:22 -04:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
686b12ae30 Added a comment 2011-03-22 23:41:53 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
d2a8e51177 2011-03-22 22:59:55 +00:00
Joey Hess
5d75919561 update 2011-03-22 18:55:29 -04:00
Joey Hess
3a41923789 clarify wording
temp files are always assumed to be unused, in either mode
2011-03-22 18:53:16 -04:00
Joey Hess
1ea373e246 clarify 2011-03-22 18:52:52 -04:00
Joey Hess
9f9325aa3d clean too 2011-03-22 18:51:14 -04:00
Joey Hess
ee6fabb7ca update 2011-03-22 18:50:36 -04:00
Joey Hess
fea20d260c applied 2011-03-22 18:45:11 -04:00
Jimmy Tang
c44c318eaf Touch up Makefile to depend on StatFS.hs 2011-03-22 18:43:54 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
4ca3a3a9b5 2011-03-22 22:25:27 +00:00
Joey Hess
3b312a0c2b Merge remote-tracking branch 'branchable/master' 2011-03-22 17:54:09 -04:00
Joey Hess
368e20eb84 diskreserve setting
Add annex.diskreserve config setting, to control how much free space to
reserve for other purposes and avoid using (defaults to 1 mb).
2011-03-22 17:53:40 -04:00
Joey Hess
c21998722c fast mode
Add --fast flag, that can enable less expensive, but also less thurough versions of some commands.

* Add --fast flag, that can enable less expensive, but also less thurough
  versions of some commands.
* fsck: In fast mode, avoid checking checksums.
* unused: In fast mode, just show all existing temp files as unused,
  and avoid expensive scan for other unused content.
2011-03-22 17:41:06 -04:00
Joey Hess
aa2d8e33df free space checking
Free space checking is now done, for transfers of data for keys that have free space metadata.
(Notably, not for SHA* keys generated with git-annex 0.24 or earlier.)

The code is believed to work on Linux, FreeBSD, and OSX; check compile-time
messages to see if it is not enabled for your OS.
2011-03-22 17:27:04 -04:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
0fe3ff8e14 2011-03-22 21:25:47 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
66f1d7dc5b 2011-03-22 21:25:29 +00:00
Joey Hess
aa1bc31e0a be a no-op on non-linux, non-freebsd systems
Todo later: use POSIX statvfs

Note: Re OSX, see http://code.google.com/p/xmobar/issues/detail?id=28
Apparently xmobar's code will work on OSX, probably __FreeBSD__ is defined
there.
2011-03-22 16:01:43 -04:00
Joey Hess
8ede2e255f add StatFS.hsc, copied from xmobar 2011-03-22 15:53:07 -04:00
Joey Hess
25605d18fd generalize 2011-03-22 15:39:36 -04:00
http://joey.kitenet.net/
6815a9974f Added a comment 2011-03-22 18:09:21 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
90a15fc214 Added a comment 2011-03-22 14:01:38 +00:00
http://peter-simons.myopenid.com/
e6dfcbf32b Added a comment: Please provide stable tarballs or zipfiles 2011-03-22 13:06:59 +00:00
Joey Hess
c94261020f typo 2011-03-21 23:37:46 -04:00
Joey Hess
c048905dc4 upgrade messages 2011-03-21 20:48:58 -04:00
praet
e1147b4454 Added a comment 2011-03-21 19:58:36 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
6fe02b24fa Added a comment 2011-03-21 08:52:19 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmSbJHbvlxbCjtPXk_Io3qP3MFqJr3pUgQ
d8dfd2c103 2011-03-21 04:27:46 +00:00