summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | | run git add --update after inotify is startedGravatar Joey Hess2012-06-10
| | | | | | | | | | | | This way, there's no window where deleted files won't be noticed.
* | | fixed the double commits problemGravatar Joey Hess2012-06-10
| | |
* | | avoid running pre-commit hook from watch commitsGravatar Joey Hess2012-06-10
| | |
* | | tweakGravatar Joey Hess2012-06-10
| | |
* | | updateGravatar Joey Hess2012-06-10
| | |
| * | typoGravatar Joey Hess2012-06-10
| | |
| * | blog for the dayGravatar Joey Hess2012-06-10
| | |
* | | Merge branch 'master' into watchGravatar Joey Hess2012-06-10
|\| |
* | | smart commit threadGravatar Joey Hess2012-06-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The commit thread now has access to a channel containing the times of all uncommitted changes. This lets it be smart about detecting busy times when a batch job is running (such as rm -rf, or untarring something, etc), and avoid committing until it's done. While at the same time, instantly committing one-off changes that the user is going to expect to see immediately. I had to use STM to implement the channel, because of http://hackage.haskell.org/trac/ghc/ticket/4154 While this adds a dependency, I always wanted to use STM, so this actually makes me happy. ;) Also happy that shouldCommit is a pure function, so other commit smartness strategies can easily be played with. Although the current one seems pretty good. There is one bug, for some reason it does double commits, every time.
* | | add a thread to commit changesGravatar Joey Hess2012-06-10
| | | | | | | | | | | | | | | Currently the stupidest possible version, just wakes up every second, and may make empty commits sometimes.
* | | queue size fixGravatar Joey Hess2012-06-10
| | | | | | | | | | | | | | | Increase queue size for update-index actions, because otherwise they'll never be flushed.
* | | generalize and improve state MVar codeGravatar Joey Hess2012-06-10
| | |
* | | stage deletions directly using update-indexGravatar Joey Hess2012-06-10
| | | | | | | | | | | | no need to run git-rm separately
* | | force thunk for precalculated valueGravatar Joey Hess2012-06-10
| | |
| * | Makefile: ignore monads-tf in favour of mtlGravatar Sergei Trofimovich2012-06-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes build breakage when both 'mtl' and 'monads-tf' are present: $ make git-annex > ghc -O2 -Wall -ignore-package monads-fd -outputdir tmp -IUtility -DWITH_S3 --make git-annex Utility/libdiskfree.o > > Common.hs:6:8: > Ambiguous module name `Control.Monad.State.Strict': > it was found in multiple packages: monads-tf-0.1.0.0 mtl-2.1.1 > make: *** [git-annex] Error 1 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
| | * Replace indentation spaces by tabs in Setup.hs.Gravatar Nathan Collins2012-06-10
| | |
| | * Add a .dir-locals.el that configures emacs' treatment of tabs.Gravatar Nathan Collins2012-06-10
| | | | | | | | | | | | | | | | | | | | | | | | The Haskell code uses tabs for indentation, and displays well with tab-width set to 2. So, I created a .dir-locals.el (applies to all files opened in emacs at or below ./), which sets 'tab-width' to 2, turns on 'indent-tabs-mode', and highlights leading spaces in 'haskell-mode'.
| * | (no commit message)Gravatar https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus2012-06-10
| | |
| * | (no commit message)Gravatar https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus2012-06-10
| | |
| | * Combine post install commands in 'postInst' and add 'postCopy' hook.Gravatar Nathan Collins2012-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The creation of the 'git-annex-shell' symlink was in 'postInst' hook. I combined it with the man-page installation in a 'postInst' hook and a 'postCopy' hook. I don't understand how to use the `cabal copy` command, but the examples I looked at defined both hooks. Relevant comments from the source: * man-page installation: See http://www.haskell.org/haskellwiki/Cabal/Developer-FAQ#Installing_manpages. Based on pandoc's and lhs2tex's 'Setup.installManpages' and 'postInst' hooks. My understanding: 'postCopy' is run for `cabal copy`, 'postInst' is run for `cabal inst`, and copy is not a generalized install, so you have to write two nearly identical hooks. Summary of hooks: http://www.haskell.org/cabal/release/cabal-latest/doc/API/Cabal/Distribution-Simple-UserHooks.htm-- Other people are also confused: * Bug: 'postCopy' and 'postInst' are confusing: http://hackage.haskell.org/trac/hackage/ticket/718 * A cabal maintainer suggests using 'postCopy' instead of 'postInst', because `cabal install` is `cabal copy` followed by `cabal register`: http://www.haskell.org/pipermail/libraries/2008-March/009416.html Although that sounds desirable, it's not true, as the reply and experiments indicate. * the `cabal copy` command: ???: Not sure how you're supposed to use this. E.g., when I do cabal install --prefix=/tmp/git-annex-install cabal copy --deistdir=/tmp/git-annex-copy I get the copy under /tmp/git-annex-copy/tmp/git-annex-install Also, `cabal install` fails when given a relative --prefix.
| | * Merge branch 'master' into cabal-man-pagesGravatar Nathan Collins2012-06-09
| | |\ | | |/ | |/|
| | * Make man pages when making sdist.Gravatar Nathan Collins2012-06-09
| | |
| * | Added a commentGravatar http://joeyh.name/2012-06-09
| | |
| * | Added a comment: open source?Gravatar https://www.google.com/accounts/o8/id?id=AItOawldKnauegZulM7X6JoHJs7Gd5PnDjcgx-E2012-06-09
| | |
| * | responseGravatar Joey Hess2012-06-09
| | |
| * | New idea: using youtube-dl to download video URLsGravatar http://rmunn.myopenid.com/2012-06-09
| | |
| * | Added a commentGravatar http://joeyh.name/2012-06-09
| | |
* | | fix non-linux buildGravatar Joey Hess2012-06-09
| | |
| * | Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus2012-06-08
| | |
| * | Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus2012-06-08
| | |
* | | refactor and function name cleanupGravatar Joey Hess2012-06-08
| | | | | | | | | | | | (oops, I had a calcMerge and a calc_merge!)
| | * Add note about lhs2tex's man page installation.Gravatar Nathan Collins2012-06-07
| | |
| * | Added a commentGravatar http://joeyh.name/2012-06-08
| | |
| * | updateGravatar Joey Hess2012-06-07
| | |
| * | blog for the dayGravatar Joey Hess2012-06-07
| | |
* | | use git queue for rm tooGravatar Joey Hess2012-06-07
| | |
| * | removedGravatar https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus2012-06-07
| | |
| * | Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus2012-06-07
| | |
| * | Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus2012-06-07
| | |
* | | make watch use the queueGravatar Joey Hess2012-06-07
| | | | | | | | | | | | | | | May not work. Certianly needs to flush the queue from time to time when only symlink changes are being made.
* | | extend Git.Queue to be able to queue more than simple git commandsGravatar Joey Hess2012-06-07
| | | | | | | | | | | | | | | | | | While I was in there, I noticed and fixed a bug in the queue size calculations. It was never encountered only because Queue.add was only ever run with 1 file in the list.
* | | Merge branch 'master' into watchGravatar Joey Hess2012-06-07
|\| |
| * | initremote: Automatically describe a remote when creating it.Gravatar Joey Hess2012-06-07
| | | | | | | | | | | | | | | | | | | | | This ensures that all special remotes show up in git annex status. Before, a special remote that was not manually described, and was not a current git remote, did not show up there, although initremote did list it.
| * | fixieGravatar Joey Hess2012-06-07
| | |
| * | Added a commentGravatar http://joeyh.name/2012-06-07
| | |
* | | update message based on user feedbackGravatar Joey Hess2012-06-07
| | |
| * | Added a comment: WordingGravatar https://www.google.com/accounts/o8/id?id=AItOawnBJ6Dv1glxzzi4qIzGFNa6F-mfHIvv9Ck2012-06-07
| | |
* | | tweakGravatar Joey Hess2012-06-06
| | |
* | | document watchGravatar Joey Hess2012-06-06
| | |
* | | refactorGravatar Joey Hess2012-06-06
| | |