Commit graph

17177 commits

Author SHA1 Message Date
http://joeyh.name/
2660c65fed Added a comment 2014-01-26 17:59:52 +00:00
http://joeyh.name/
d50c145743 Added a comment 2014-01-26 17:57:26 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmXtqLEfN6cGcF9gW_09QUDoRpsexSdRcM
425ccdaeb1 Option to delete remote repo when sync failed missing 2014-01-26 15:18:56 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmNvX8PQVP5sLzQ78sKpB6VeH3Fu8HvZ5g
8bee32ea48 Added a comment 2014-01-26 04:29:12 +00:00
Joey Hess
b93e485ef1 added annex.secure-erase-command config option. 2014-01-24 12:58:52 -04:00
Joey Hess
5a21da4955 ignore update 2014-01-24 12:55:56 -04:00
Joey Hess
c340d9506c tasty-rerun! make rerest runs much much faster than running whole test suite 2014-01-24 12:21:30 -04:00
Joey Hess
edc4a623e8 Merge branch 'master' of ssh://git-annex.branchable.com 2014-01-24 11:51:06 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmI_rfI0tsu93LcMlAvh5WTXtKFIMkHrJQ
8b2bbc7481 Added a comment: Long Path Tool 2014-01-24 10:43:10 +00:00
Joey Hess
53ed600da8 update 2014-01-24 01:05:01 -04:00
Joey Hess
7f779e6ceb Merge branch 'master' of ssh://git-annex.branchable.com 2014-01-24 00:50:52 -04:00
Joey Hess
7cccd8babd tip 2014-01-24 00:50:07 -04:00
sascha
6736e45395 Added a comment: so how can i keep in sync a dropbox subfolder with a usbdrive 2014-01-24 04:32:41 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlm_3m5gLhML9bHbZ8FpJ-HBZhWaRfFeO8
bf395e728d Added a comment: Same bug? OSX 10.9.1 2014-01-23 23:38:32 +00:00
Joey Hess
c0b6d9b343 close 2014-01-23 16:58:44 -04:00
Joey Hess
f54bb25501 fix delay of daily sanity check (hacked for testing and accidentially committed) 2014-01-23 16:57:49 -04:00
Joey Hess
76dcd40167 Merge branch 'master' of ssh://git-annex.branchable.com 2014-01-23 16:55:14 -04:00
Joey Hess
e33ac5ab80 devblog 2014-01-23 16:53:38 -04:00
Joey Hess
964a181026 try to drop unused object if it does not need to be transferred anywhere 2014-01-23 16:51:16 -04:00
Joey Hess
3518c586cf fix transfers of key with no associated file
Several places assumed this would not happen, and when the AssociatedFile
was Nothing, did nothing.

As part of this, preferred content checks pass the Key around.

Note that checkMatcher is sometimes now called with Just Key and Just File.
It currently constructs a FileMatcher, ignoring the Key. However, if it
constructed a FileKeyMatcher, which contained both, then it might be
possible to speed up parts of Limit, which currently call the somewhat
expensive lookupFileKey to get the Key.

I have not made this optimisation yet, because I am not sure if the key is
always the same. Will need some significant checking to satisfy myself
that's the case..
2014-01-23 16:44:02 -04:00
Joey Hess
90bc6e3137 explicitly include unused files in backup and incremental backup
include=* does not match unused files, which have no associated file.
2014-01-23 16:36:15 -04:00
Joey Hess
e0bd088f08 add webapp UI to manage unused files 2014-01-23 15:09:43 -04:00
zardoz
f079b435bc 2014-01-23 12:55:21 +00:00
zardoz
587fc4a175 2014-01-23 12:42:48 +00:00
Joey Hess
9418685b5d devblog 2014-01-22 23:11:20 -04:00
Joey Hess
489972c035 allow annex.expireunused to be set to false, as well as to a duration 2014-01-22 23:10:51 -04:00
Joey Hess
ee5bb374bb Merge branch 'master' of ssh://git-annex.branchable.com 2014-01-22 22:54:19 -04:00
Joey Hess
3da0064657 assistant unused file handling
Make sanity checker run git annex unused daily, and queue up transfers
of unused files to any remotes that will have them. The transfer retrying
code works for us here, so eg when a backup disk remote is plugged in,
any transfers to it are done. Once the unused files reach a remote,
they'll be removed locally as unwanted.

If the setup does not cause unused files to go to a remote, they'll pile
up, and the sanity checker detects this using some heuristics that are
pretty good -- 1000 unused files, or 10% of disk used by unused files,
or more disk wasted by unused files than is left free. Once it detects
this, it pops up an alert in the webapp, with a button to take action.

TODO: Webapp UI to configure this, and also the ability to launch an
immediate cleanup of all unused files.

This commit was sponsored by Simon Michael.
2014-01-22 22:53:18 -04:00
Joey Hess
85aae97b63 add getDiskSize
Couldn't find anything that exposed this for Windows.
2014-01-22 22:19:52 -04:00
https://launchpad.net/~maestro-alubia
3f7d5d1e50 Added a comment 2014-01-22 21:20:31 +00:00
Joey Hess
ed7c61914c assistant: Run the periodic git gc in batch mode. 2014-01-22 17:11:41 -04:00
Joey Hess
82d6cc69e9 Merge branch 'master' of ssh://git-annex.branchable.com 2014-01-22 16:40:44 -04:00
Joey Hess
4b55afe9e9 add "unused" preferred content expression
With a really nice optimisation that keeps it from having any overhead
in normal operation!

This commit was sponsored by Ulises Vitulli.
2014-01-22 16:35:32 -04:00
http://joeyh.name/
2fc6e963cb Added a comment 2014-01-22 20:25:52 +00:00
Joey Hess
02896ee15d preferred content stability analysis 2014-01-22 15:55:44 -04:00
Joey Hess
ae3cd632bd add timestamps to unused log files
This will be used in expiring old unused objects. The timestamp is when it
was first noticed it was unused.

Backwards compatability: It supports reading old format unused log files.
The old version of git-annex will ignore lines in log files written by the
new version, so the worst interop problem would be git annex dropunused not
knowing some numbers that git-annex unused reported.
2014-01-22 15:33:02 -04:00
https://launchpad.net/~maestro-alubia
3c27064ece Added a comment: Sources? 2014-01-22 19:00:21 +00:00
Joey Hess
5f6ebfcd07 Merge branch 'master' of ssh://git-annex.branchable.com 2014-01-22 14:37:32 -04:00
Joey Hess
05ead99cc2 promote forum post to feature request; add design 2014-01-22 14:35:38 -04:00
http://olivier.mehani.name/
4207564827 Added a comment 2014-01-22 13:08:21 +00:00
Joey Hess
e14e74b467 devblog 2014-01-21 19:21:48 -04:00
Joey Hess
f2713a3bb9 benchmarked numcopies .gitattributes in preferred content
Checking .gitattributes adds a full minute to a git annex find looking for
files that don't have enough copies. 2:25 increasts to 3:27. I feel this is
too much of a slowdown to justify making it the default. So, exposed two
versions of the preferred content expression, a slow one and a fast but
approximate one.

I'm using the approximate one in the default preferred content expressions
to avoid slowing down the assistant.
2014-01-21 18:49:25 -04:00
Joey Hess
f7cdc40f7b reorg 2014-01-21 18:08:56 -04:00
Joey Hess
0ef282a116 numcopies cleanup, part 2
This includes several bug fixes.
2014-01-21 17:25:39 -04:00
Joey Hess
b40df4f0d0 reorganize numcopies code (no behavior changes)
Move stuff into Logs.NumCopies. Add a NumCopies newtype.

Better names for various serialization classes that are specific to one
thing or another.
2014-01-21 16:08:59 -04:00
Joey Hess
e38a21a768 tests should now all run independently, without needing any prior tests to have run
Should be ready now for tasty-rerun.
2014-01-21 14:26:13 -04:00
Joey Hess
4a4e2f9a6c use tasty resources 2014-01-21 14:04:50 -04:00
Joey Hess
78ead70ea4 repair: Check git version at run time. 2014-01-21 13:22:48 -04:00
Joey Hess
b213df2038 Merge branch 'master' of ssh://git-annex.branchable.com 2014-01-21 13:04:15 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnE6kFAbud1LWrQuyX76yMYnUjHt9tR-A8
d25a87bc7c Added a comment: Chroots 2014-01-21 13:52:30 +00:00