summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* implement pausing of transfersGravatar Joey Hess2012-08-10
| | | | | | A paused transfer's thread keeps running, keeping the slot in use. This is intentional; pausing a transfer should not let other queued transfers to run in its place.
* send update notificaton when removing a queued transferGravatar Joey Hess2012-08-10
|
* remove dummyGravatar Joey Hess2012-08-10
|
* process group killingGravatar Joey Hess2012-08-10
| | | | | | | | | | | | | | | | | | | | This seems to work pretty well. Handled the process groups like this: - git-annex processes started by the assistant for transfers are run in their own process groups. - otherwise, rely on the shell to allocate a process group for git-annex There is potentially a problem if some other program runs git-annex directly (not using sh -c) The program and git-annex would then be in the same process group. If that git-annex starts a transfer and it's canceled, the program would also get killed. May or may not be a desired result. Also, the new updateTransferInfo probably closes a race where it was possible for the thread id to not be recorded in the transfer info, if the transfer info file from the transfer process is read first.
* fork off git-annex copy for transfersGravatar Joey Hess2012-08-10
| | | | | | | | | | | | | | This doesn't quite work, because canceling a transfer sends a signal to git-annex, but not to rsync (etc). Looked at making git-annex run in its own process group, which could then be killed, and would kill child processes. But, rsync checks if it's process group is the foreground process group and doesn't show progress if not, and when git has run git-annex, if git-annex makes a new process group, that is not the case. Also, if git has run git-annex, ctrl-c wouldn't be propigated to it if it made a new process group. So this seems like a blind alley, but recording it here just in case.
* Merge branch 'master' into assistantGravatar Joey Hess2012-08-09
|\ | | | | | | | | Conflicts: debian/changelog
* | support building with yesod-default 1.1.0Gravatar Joey Hess2012-08-09
| | | | | | | | | | | | | | | | | | Old 1.0.1 version is still supported as well. Cabal autodetects which version is available, but in the Makefile, WITH_OLD_YESOD has to be configured appropriately. I have not squashed all the $newline warnings with the new Yesod. They should go away eventually anyway as Yesod moves past that transition.
* | transfer cancelingGravatar Joey Hess2012-08-08
| | | | | | | | | | | | | | | | | | | | Should work (untested) for transfers being run by other processes. Not yet by transfers being run by the assistant. killThread does not kill processes forked off by a thread. To fix this, will probably need to make `git annex getkey` and `git annex sendkey` commands that operate on keys, and write their own transfer info. Then the assistant can run them, and kill them, as needed.
* | factor out onclick javascriptGravatar Joey Hess2012-08-08
| |
* | add routes to pause/start/cancel transfersGravatar Joey Hess2012-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit includes a paydown on technical debt incurred two years ago, when I didn't know that it was bad to make custom Read and Show instances for types. As the routes need Read and Show for Transfer, which includes a Key, and deriving my own Read instance of key was not practical, I had to finally clean that up. So the compact Key read and show functions are now file2key and key2file, and Read and Show are now derived instances. Changed all code that used the old instances, compiler checked. (There were a few places, particularly in Command.Unused, and the test suite where the Show instance continue to be used for legitimate comparisons; ie show key_x == show key_y (though really in a bloom filter))
* | make pid file directoryGravatar Joey Hess2012-08-08
| |
* | add pause/start and cancel buttons to transfer displayGravatar Joey Hess2012-08-08
| |
* | make the webapp honor the web.browser git configGravatar Joey Hess2012-08-08
| |
| * add news item for git-annex 3.20120807Gravatar Joey Hess2012-08-07
| |
| * releasing version 3.201208073.20120807Gravatar Joey Hess2012-08-07
| |
* | Merge branch 'master' into assistantGravatar Joey Hess2012-08-07
|\|
| * fix transfer log cleanup crashGravatar Joey Hess2012-08-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid crashing when "git annex get" fails to download from one location, and falls back to downloading from a second location. The problem is that git annex get calls download recursively from within itself if the first download attempt fails. So the first time through, it writes a transfer info file, which is then overwritten on the second, recursive call. Then on cleanup, it tries to delete the file twice, which of course doesn't work. Fixed both by not crashing if the transfer file is removed, and by changing Get to not run download recursively like that. It's the only thing that did so, and it just seems like a bad idea.
* | remove template haskell file touchingGravatar Joey Hess2012-08-07
| | | | | | | | too annoying
* | make dirGravatar Joey Hess2012-08-07
| |
* | updateGravatar Joey Hess2012-08-07
| |
* | don't clobber env variable if setGravatar Joey Hess2012-08-07
| |
* | build in GIT_ANNEX_TMP_BUILD_DIRGravatar Joey Hess2012-08-07
| | | | | | | | | | | | | | This allows setting GIT_ANNEX_TMP_BUILD_DIR to be on a ramdisk, and all the .o files as well as the git-annex binary are written there. A useful optimisation for me to avoid SSD write thrashing during development.
| * move commentGravatar Joey Hess2012-08-07
| |
| * Added a comment: also, fsck worksGravatar hannes2012-08-07
| |
| * Added a comment: they doGravatar hannes2012-08-07
| |
| * Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawmBUR4O9mofxVbpb8JV9mEbVfIYv670uJo2012-08-07
| |
| * (no commit message)Gravatar hannes2012-08-07
| |
| * (no commit message)Gravatar hannes2012-08-07
| |
| * Added a comment: Updated install instructions with homebrewGravatar https://www.google.com/accounts/o8/id?id=AItOawnnIQkoUQo4RYzjUNyiB3v6yJ5aR41WG8k2012-08-07
| |
| * Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawlCGROoy62svBUy6P24x1KoGoDWrBq2ErA2012-08-07
| |
| * Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawlJ2utMQgMEYAOs3Dfc6eZRyUzt4acNXUU2012-08-06
| |
| * Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2012-08-06
| |\
| * | blog for the dayGravatar Joey Hess2012-08-06
| | |
* | | fix display of icon in block alert headingGravatar Joey Hess2012-08-06
| | |
* | | added an alert after a file transferGravatar Joey Hess2012-08-06
| | |
* | | better alert message generationGravatar Joey Hess2012-08-06
| | |
* | | make alerts change tense when they finishGravatar Joey Hess2012-08-06
| | |
* | | addGravatar Joey Hess2012-08-06
| | |
| | * Added a commentGravatar http://dieter-be.myopenid.com/2012-08-06
| | |
* | | merge two repository screens into oneGravatar Joey Hess2012-08-05
| | |
| | * Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U2012-08-05
| |/
* | remove links from unimplemented optionsGravatar Joey Hess2012-08-05
| |
| * blog for the weekendGravatar Joey Hess2012-08-05
| |
* | handle case of adding populated drive to just created repoGravatar Joey Hess2012-08-05
| | | | | | | | | | The just created repo has no master branch commits yet. This is now handled, merging in the master branch from the populated drive.
* | wordingGravatar Joey Hess2012-08-05
| | | | | | | | | | De-emphasize "clone", because it's not that simple. The removable drive may already have an annex with content; if so it'll get synced in.
* | fix crashes when run in a git repo that has been initted but has no master ↵Gravatar Joey Hess2012-08-05
| | | | | | | | branch yet
* | fix crash when just one remote needs to be scannedGravatar Joey Hess2012-08-05
| | | | | | | | | | | | | | | | | | The TMVar is supposed to be left empty once the map is empty, but the code neglected to do that, so the next time takeMVar got an empty map, which is not handled since that was supposed to never happen.. Also, avoid any possibility of this crash. If an empty map somehow creeps in, just retry.
* | avoid headGravatar Joey Hess2012-08-05
| |
* | Merge remote-tracking branch 'origin/master' into assistantGravatar Joey Hess2012-08-05
|\| | | | | | | | | Conflicts: Init.hs
| * unused, status: Avoid crashing when ran in bare repo.Gravatar Joey Hess2012-08-05
| |