summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* devblogGravatar Joey Hess2014-01-22
|
* allow annex.expireunused to be set to false, as well as to a durationGravatar Joey Hess2014-01-22
|
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2014-01-22
|\
* | assistant unused file handlingGravatar Joey Hess2014-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | add getDiskSizeGravatar Joey Hess2014-01-22
| | | | | | | | Couldn't find anything that exposed this for Windows.
| * Added a commentGravatar https://launchpad.net/~maestro-alubia2014-01-22
| |
* | assistant: Run the periodic git gc in batch mode.Gravatar Joey Hess2014-01-22
|/
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2014-01-22
|\
* | add "unused" preferred content expressionGravatar Joey Hess2014-01-22
| | | | | | | | | | | | | | With a really nice optimisation that keeps it from having any overhead in normal operation! This commit was sponsored by Ulises Vitulli.
| * Added a commentGravatar http://joeyh.name/2014-01-22
| |
* | preferred content stability analysisGravatar Joey Hess2014-01-22
| |
* | add timestamps to unused log filesGravatar Joey Hess2014-01-22
| | | | | | | | | | | | | | | | | | | | 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.
| * Added a comment: Sources?Gravatar https://launchpad.net/~maestro-alubia2014-01-22
|/
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2014-01-22
|\
* | promote forum post to feature request; add designGravatar Joey Hess2014-01-22
| |
| * Added a commentGravatar http://olivier.mehani.name/2014-01-22
|/
* devblogGravatar Joey Hess2014-01-21
|
* benchmarked numcopies .gitattributes in preferred contentGravatar Joey Hess2014-01-21
| | | | | | | | | | | 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.
* reorgGravatar Joey Hess2014-01-21
|
* numcopies cleanup, part 2Gravatar Joey Hess2014-01-21
| | | | This includes several bug fixes.
* reorganize numcopies code (no behavior changes)Gravatar Joey Hess2014-01-21
| | | | | | | Move stuff into Logs.NumCopies. Add a NumCopies newtype. Better names for various serialization classes that are specific to one thing or another.
* tests should now all run independently, without needing any prior tests to ↵Gravatar Joey Hess2014-01-21
| | | | | | have run Should be ready now for tasty-rerun.
* use tasty resourcesGravatar Joey Hess2014-01-21
|
* repair: Check git version at run time.Gravatar Joey Hess2014-01-21
|
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2014-01-21
|\
| * Added a comment: ChrootsGravatar https://www.google.com/accounts/o8/id?id=AItOawnE6kFAbud1LWrQuyX76yMYnUjHt9tR-A82014-01-21
| |
* | expose tasty test suite's option parserGravatar Joey Hess2014-01-21
| |
| * Added a commentGravatar http://joeyh.name/2014-01-21
| |
| * Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U2014-01-21
| |
| * Merge branch 'master' of git://git-annex.branchable.comGravatar Richard Hartmann2014-01-21
| |\
| * | WordingGravatar Richard Hartmann2014-01-21
| | |
| | * Added a comment: Past the SHA issuesGravatar https://www.google.com/accounts/o8/id?id=AItOawkLdR1fuu5aEz3s9VKTBKVMize_SmeNRJM2014-01-20
| |/ |/|
* | devblogGravatar Joey Hess2014-01-20
| |
* | Add and use numcopiesneeded preferred content expression.Gravatar Joey Hess2014-01-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add numcopiesneeded preferred content expression. * Client, transfer, incremental backup, and archive repositories now want to get content that does not yet have enough copies. This means the asssistant will make copies of files that don't yet meet the configured numcopies, even to places that would not normally want the file. For example, if numcopies is 4, and there are 2 client repos and 2 transfer repos, and 2 removable backup drives, the file will be sent to both transfer repos in order to make 4 copies. Once a removable drive get a copy of the file, it will be dropped from one transfer repo or the other (but not both). Another example, numcopies is 3 and there is a client that has a backup removable drive and two small archive repos. Normally once one of the small archives has a file, it will not be put into the other one. But, to satisfy numcopies, the assistant will duplicate it into the other small archive too, if the backup repo is not available to receive the file. I notice that these examples are fairly unlikely setups .. the old behavior was not too bad, but it's nice to finally have it really correct. .. Almost. I have skipped checking the annex.numcopies .gitattributes out of fear it will be too slow. This commit was sponsored by Florian Schlegel.
* | stability analysisGravatar Joey Hess2014-01-20
| |
* | Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2014-01-20
|\ \
* | | global numcopies settingGravatar Joey Hess2014-01-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * numcopies: New command, sets global numcopies value that is seen by all clones of a repository. * The annex.numcopies git config setting is deprecated. Once the numcopies command is used to set the global number of copies, any annex.numcopies git configs will be ignored. * assistant: Make the prefs page set the global numcopies. This global numcopies setting is needed to let preferred content expressions operate on numcopies. It's also convenient, because typically if you want git-annex to preserve N copies of files in a repo, you want it to do that no matter which repo it's running in. Making it global avoids needing to warn the user about gotchas involving inconsistent annex.numcopies settings. (See changes to doc/numcopies.mdwn.) Added a new variety of git-annex branch log file, that holds only 1 value. Will probably be useful for other stuff later. This commit was sponsored by Nicolas Pouillard.
| * | a separate sync daemon has many advantages indeedGravatar https://id.koumbit.net/anarcat2014-01-20
|/ /
* | promote stm dependency, since Remote.External needs itGravatar Joey Hess2014-01-20
| |
* | Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2014-01-20
|\ \
* | | design for preferred content numcopies checkGravatar Joey Hess2014-01-20
| | |
* | | export cleanupGravatar Joey Hess2014-01-20
| | |
* | | much better command action handling for sync --contentGravatar Joey Hess2014-01-20
| | |
* | | wontfixGravatar Joey Hess2014-01-20
| | |
| * | Added a commentGravatar http://joeyh.name/2014-01-20
| | |
| * | Added a commentGravatar http://joeyh.name/2014-01-20
| | |
| * | Added a comment: Chunk itGravatar https://www.google.com/accounts/o8/id?id=AItOawm_YXzEdPHzbSGVwtmTR7g1BqDtTnIBB5s2014-01-20
| |/
| * (no commit message)Gravatar https://www.google.com/accounts/o8/id?id=AItOawkqUg2sSO_pOdi6M7GU86Hsyv5-r33baLs2014-01-20
| |
* | fix inversion of control in CommandSeek (no behavior changes)Gravatar Joey Hess2014-01-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've been disliking how the command seek actions were written for some time, with their inversion of control and ugly workarounds. The last straw to fix it was sync --content, which didn't fit the Annex [CommandStart] interface well at all. I have not yet made it take advantage of the changed interface though. The crucial change, and probably why I didn't do it this way from the beginning, is to make each CommandStart action be run with exceptions caught, and if it fails, increment a failure counter in annex state. So I finally remove the very first code I wrote for git-annex, which was before I had exception handling in the Annex monad, and so ran outside that monad, passing state explicitly as it ran each CommandStart action. This was a real slog from 1 to 5 am. Test suite passes. Memory usage is lower than before, sometimes by a couple of megabytes, and remains constant, even when running in a large repo, and even when repeatedly failing and incrementing the error counter. So no accidental laziness space leaks. Wall clock speed is identical, even in large repos. This commit was sponsored by an anonymous bitcoiner.
| * Fix misleading descriptionGravatar Richard Hartmann2014-01-20
| |