aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* add AssumeNotPresent parameter to limitsGravatar Joey Hess2012-10-05
| | | | | | | | | | | | | Solves the issue with preferred content expressions and dropping that I mentioned yesterday. My solution was to add a parameter to specify a set of repositories where content should be assumed not to be present. When deciding whether to drop, it can put the current repository in, and then if the expression fails to match, the content can be dropped. Using yesterday's example "(not copies=trusted:2) and (not in=usbdrive)", when the local repo is one of the 2 trusted copies, the drop check will see only 1 trusted copy, so the expression matches, and so the content will not be dropped.
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-10-05
|\
* | updateGravatar Joey Hess2012-10-05
| |
| * Added a commentGravatar http://joeyh.name/2012-10-05
|/
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-10-05
|\
* | noteGravatar Joey Hess2012-10-05
| |
| * Added a comment: Ah, the barber paradoxGravatar http://meep.pl/2012-10-05
| |
| * Added a commentGravatar http://joeyh.name/2012-10-05
| |
| * poll vote (My phone (or MP3 player))Gravatar 84.186.117.82012-10-05
| |
| * Added a commentGravatar http://joeyh.name/2012-10-05
|/
* updateGravatar Joey Hess2012-10-04
|
* old bugGravatar Joey Hess2012-10-04
|
* fix last zombies in the assistantGravatar Joey Hess2012-10-04
| | | | | Made Git.LsFiles return cleanup actions, and everything waits on processes now, except of course for Seek.
* bugfixGravatar Joey Hess2012-10-04
|
* remove now-unnecessary manual reapsGravatar Joey Hess2012-10-04
|
* more zombie fightingGravatar Joey Hess2012-10-04
| | | | | | | | | | | | | | | | | | | | I'm down to 9 places in the code that can produce unwaited for zombies. Most of these are pretty innocuous, at least for now, are only used in short-running commands, or commands that run a set of actions and explicitly reap zombies after each one. The one from Annex.Branch.files could be trouble later, since both Command.Fsck and Command.Unused can trigger it, and the assistant will be doing those eventally. Ditto the one in Git.LsTree.lsTree, which Command.Unused uses. The only ones currently affecting the assistant though, are in Git.LsFiles. Several threads use several of those. (And yeah, using pipes or ResourceT would be a less ad-hoc approach, but I don't really feel like ripping my entire code base apart right now to change a foundation monad. Maybe one of these days..)
* make a pipeReadStrict, that properly waits on the processGravatar Joey Hess2012-10-04
| | | | | | Nearly everything that's reading from git is operating on a small amount of output and has been switched to use that. Only pipeNullSplit stuff continues using the lazy version that yields zombies.
* reopening; zombies do seem to accumulate sometimesGravatar Joey Hess2012-10-04
|
* Only build-depend on libghc-clientsession-dev on arches that will have the ↵Gravatar Joey Hess2012-10-04
| | | | webapp.
* blog for the dayGravatar Joey Hess2012-10-04
|
* added preferred-content log, and allow editing it with vicfgGravatar Joey Hess2012-10-04
| | | | | | | | | | | | | | This includes a full parser for the boolean expressions in the log, that compiles them into Matchers. Those matchers are not used yet. A complication is that matching against an expression should never crash git-annex with an error. Instead, vicfg checks that the expressions parse. If a bad expression (or an expression understood by some future git-annex version) gets into the log, it'll be ignored. Most of the code in Limit couldn't fail anyway, but I did have to make limitCopies check its parameter first, and return an error if it's bad, rather than erroring at runtime.
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-10-04
|\
| * (no commit message)Gravatar https://www.google.com/accounts/o8/id?id=AItOawlFUH5H4OUj9vMJIoXQs8bheiptgANQ6fU2012-10-04
| |
| * (no commit message)Gravatar https://www.google.com/accounts/o8/id?id=AItOawm9n2FZTQzC5wvWqgKKnU0HyuC5vgVkfbY2012-10-04
| |
| * Added a comment: The bug is actually something completely different!Gravatar https://www.google.com/accounts/o8/id?id=AItOawmcYryijvlF8bJvM_eZNSrUPEkMlxMDGTQ2012-10-04
| |
* | Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-10-03
|\|
* | tweakGravatar Joey Hess2012-10-03
| |
| * Fixed formatting.Gravatar https://www.google.com/accounts/o8/id?id=AItOawmcYryijvlF8bJvM_eZNSrUPEkMlxMDGTQ2012-10-04
| |
| * Bug description.Gravatar https://www.google.com/accounts/o8/id?id=AItOawmcYryijvlF8bJvM_eZNSrUPEkMlxMDGTQ2012-10-04
|/
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-10-03
|\
* | blog for the dayGravatar Joey Hess2012-10-03
| |
* | finished vicfgGravatar Joey Hess2012-10-03
| | | | | | | | | | | | One note: Deleted lines are not currently parsed as config changes. That makes sense for trust settings. It may make sense to support deleted lines as a way to clear group settings.
* | wrote parserGravatar Joey Hess2012-10-03
| |
* | vicfg: New command, allows editing (or simply viewing) most of the ↵Gravatar Joey Hess2012-10-03
| | | | | | | | | | | | | | | | | | | | | | repository configuration settings stored in the git-annex branch. Incomplete; I need to finish parsing and saving. This will also be used for editing transfer control expresssions. Removed the group display from the status output, I didn't really like that format, and vicfg can be used to see as well as edit rempository group membership.
* | better exampleGravatar Joey Hess2012-10-03
| |
| * Added a comment: I strongly agree with GlenGravatar https://www.google.com/accounts/o8/id?id=AItOawknpbpx4uDElXRzJ4kPXuJU1KdcslOI6go2012-10-03
| |
| * poll vote (My phone (or MP3 player))Gravatar 62.93.122.862012-10-03
| |
| * Added a comment: symlinks?Gravatar http://wiggy.net/2012-10-03
| |
| * poll vote (My phone (or MP3 player))Gravatar 65.12.145.1362012-10-03
| |
| * poll vote (Google Drive)Gravatar 65.12.145.1362012-10-03
| |
| * poll vote (Amazon Glacier)Gravatar 65.12.145.1362012-10-03
|/
* blog for the dayGravatar Joey Hess2012-10-02
|
* avoid crashing committer if it fails to stage changesGravatar Joey Hess2012-10-02
| | | | Just retry later.
* always check with ls-files before adding new filesGravatar Joey Hess2012-10-02
| | | | | | | | | | | | | | | | | | | | | | | Makes it safe to use git annex unlock with the watcher/assistant. And also to mix use of the watcher/assistant with regular files stored in git. Long ago, I had avoided doing this check, except during the startup scan, because it would be slow to run ls-files repeatedly. But then I added the lsof check, and to make that fast, got it to detect batch file adds. So let's move the ls-files check to also occur when it'll have a batch, and can check them all with one call. This does slow down adding a single file by just a bit, but really only a little bit. (The lsof check is probably more expensive.) It also speeds up the startup scan, especially when there are lots of new files found by the scan. Also, fixed the sleep for annex.delayadd to not run while the threadstate lock is held, so it doesn't unnecessarily freeze everything else. Also, --force no longer makes it skip the lsof check, which was not documented, and seems never a good idea.
* status: display repository groupsGravatar Joey Hess2012-10-02
|
* bring back default SIGINT handlerGravatar Joey Hess2012-10-01
| | | | | | | | | | | | This seems to fix a problem I've recently seen where ctrl-c during rsync leads to `git annex get` moving on to the next thing rather than exiting. Seems likely that started happening with the switch to System.Process (d1da9cf221aeea5c7ac8a313a18b559791a04f12), as the old code took care to install a default SIGINT handler. Note that since the bug was only occurring sometimes, I am not 100% sure I've squashed it, although I seem to have.
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-10-01
|\
* | blog for the dayGravatar Joey Hess2012-10-01
| |
* | terminologyGravatar Joey Hess2012-10-01
| |
* | A way to match files in repositories in a groupGravatar Joey Hess2012-10-01
| | | | | | | | | | --copies=group:number can now be used to match files that are present in a specified number of repositories in a group.