summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* fooGravatar Joey Hess2012-07-19
|
* Merge branch 'master' into assistantGravatar Joey Hess2012-07-19
|\
* | better readProcessGravatar Joey Hess2012-07-19
| |
* | add back debug loggingGravatar Joey Hess2012-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | Make Utility.Process wrap the parts of System.Process that I use, and add debug logging to them. Also wrote some higher-level code that allows running an action with handles to a processes stdin or stdout (or both), and checking its exit status, all in a single function call. As a bonus, the debug logging now indicates whether the process is being run to read from it, feed it data, chat with it (writing and reading), or just call it for its side effect.
| * pull in transfer log code from assistant branchGravatar Joey Hess2012-07-18
| | | | | | | | New log file format.
* | fix parsing of startedTimeGravatar Joey Hess2012-07-18
| |
| * show allGravatar Joey Hess2012-07-18
| |
| * blog for the dayGravatar Joey Hess2012-07-18
| |
* | rewrote to not use forkProcessGravatar Joey Hess2012-07-18
| | | | | | | | That can make the threaded runtime stall.. But it can use threads now!
* | run file transfers in threads, not processesGravatar Joey Hess2012-07-18
| | | | | | | | | | | | This should fix OSX/BSD issues with not noticing transfer information files with kqueue. Now that threads are used, the thread can manage the transfer slot allocation and deallocation by itself; much cleaner.
* | add thread id field to transferinfoGravatar Joey Hess2012-07-18
| | | | | | | | | | Also converted its timestand to posix seconds, like is used in the other log files.
* | add missing importsGravatar Joey Hess2012-07-18
| |
* | Merge branch 'threaded' into assistantGravatar Joey Hess2012-07-18
|\ \
| * | switch from System.Cmd.Utils to System.ProcessGravatar Joey Hess2012-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test suite now passes with -threaded! I traced back all the hangs with -threaded to System.Cmd.Utils. It seems it's just crappy/unsafe/outdated, and should not be used. System.Process seems to be the cool new thing, so converted all the code to use it instead. In the process, --debug stopped printing commands it runs. I may try to bring that back later. Note that even SafeSystem was switched to use System.Process. Since that was a modified version of code from System.Cmd.Utils, it needed to be converted too. I also got rid of nearly all calls to forkProcess, and all calls to executeFile, which I'm also doubtful about working well with -threaded.
| * | Merge branch 'master' into threadedGravatar Joey Hess2012-07-18
| |\|
| * | more debuggingGravatar Joey Hess2012-07-18
| | |
| | * blog for the day and updatesGravatar Joey Hess2012-07-17
| | |
* | | cleanupGravatar Joey Hess2012-07-17
| | |
* | | bugfixGravatar Joey Hess2012-07-17
| | |
* | | kqueue: properly call delHook for file deletion, not delDirHookGravatar Joey Hess2012-07-17
| | |
* | | avoid parsing lock files as transfer filesGravatar Joey Hess2012-07-17
| | | | | | | | | | | | | | | This seems to happen with kqueue, not inotify. The newly added lck file triggers an add event and was then parsed as a transfer file.
* | | bugfixGravatar Joey Hess2012-07-17
| | |
* | | change transfer lock filenames to avoid ambiguityGravatar Joey Hess2012-07-17
| | | | | | | | | | | | | | | foo.lck could be a lock file for a transfer of foo, or a transfer of a key that happened to end in ".lck". Fix this by using "lck.foo" instead.
* | | robustness fixGravatar Joey Hess2012-07-17
| | | | | | | | | | | | Don't fall over symlinks, and avoid crashing if the file goes away.
* | | cleanupGravatar Joey Hess2012-07-17
| | |
* | | add inodes to kqueue's directory cacheGravatar Joey Hess2012-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is necessary to generate events when a file is deleted and immediately replaced. Otherwise, the cache will have the old file, and so no event would be generated. Use of getFileStatus is suboptimal, it would be faster to use the inode returned by readdir -- but getDirectoryContents does not expose it, so I'd have to copy and modify a lot of low-level code.
* | | Merge branch 'master' into assistantGravatar Joey Hess2012-07-17
|\ \ \ | | |/ | |/|
| * | typoGravatar Joey Hess2012-07-17
| | |
| * | avoid --no-edit with older git versionsGravatar Joey Hess2012-07-17
| | |
| | * add debuggingGravatar Joey Hess2012-07-17
| | |
| | * attempt at building with -threadedGravatar Joey Hess2012-07-17
| |/ | | | | | | | | | | | | | | | | Added a modified System.Cmd.Utils, working around bug #681621 Unfortunatly, the test suite still hangs partway through. Some of the hangs occur within pOpen3 still. Some of the hangs do not seem to occur within System.Cmd.Utils at all, but in some other code.
* | Merge branch 'master' into assistantGravatar Joey Hess2012-07-17
|\|
| * map: Write map.dot to .git/annex, which avoids watch trying to annex it.Gravatar Joey Hess2012-07-17
| |
* | avoid enqueing downloads from remotes that don't have the keyGravatar Joey Hess2012-07-17
| |
* | merge two shouldTransfer checksGravatar Joey Hess2012-07-17
| |
| * updatesGravatar Joey Hess2012-07-17
| |
* | Merge branch 'master' into assistantGravatar Joey Hess2012-07-16
|\|
| * (no commit message)Gravatar http://www.joachim-breitner.de/2012-07-15
| |
| * blog for the dayGravatar Joey Hess2012-07-14
| |
| * Added a comment: git-mediaGravatar http://bergey.dreamwidth.org/2012-07-14
| |
| * catchup blogGravatar Joey Hess2012-07-14
| |
| * removedGravatar https://www.google.com/accounts/o8/id?id=AItOawlup4hyZo4eCjF8T85vfRXMKBxGj9bMdl02012-07-13
| |
| * Added a comment: ARM supportGravatar https://www.google.com/accounts/o8/id?id=AItOawlup4hyZo4eCjF8T85vfRXMKBxGj9bMdl02012-07-13
| |
| * Added a comment: FixedGravatar https://www.google.com/accounts/o8/id?id=AItOawmB-gCGEs--zfmvYU-__Hj2FbliUXgxMDs2012-07-13
| |
| * Added a comment: Path problemsGravatar https://www.google.com/accounts/o8/id?id=AItOawmB-gCGEs--zfmvYU-__Hj2FbliUXgxMDs2012-07-13
| |
| * remove duplicatesGravatar Joey Hess2012-07-13
| |
| * Added a comment: ARM supportGravatar https://www.google.com/accounts/o8/id?id=AItOawlup4hyZo4eCjF8T85vfRXMKBxGj9bMdl02012-07-13
| |
| * Added a comment: ARM supportGravatar https://www.google.com/accounts/o8/id?id=AItOawlup4hyZo4eCjF8T85vfRXMKBxGj9bMdl02012-07-13
| |
| * Added a comment: ARM supportGravatar https://www.google.com/accounts/o8/id?id=AItOawlup4hyZo4eCjF8T85vfRXMKBxGj9bMdl02012-07-13
| |
| * Added a comment: ARM supportGravatar https://www.google.com/accounts/o8/id?id=AItOawlup4hyZo4eCjF8T85vfRXMKBxGj9bMdl02012-07-13
| |