summaryrefslogtreecommitdiff
path: root/Utility
Commit message (Collapse)AuthorAge
* external special remotes mostly implemented (untested)Gravatar Joey Hess2013-12-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has not been tested at all. It compiles! The only known missing things are support for encryption, and for get/set of special remote configuration, and of key state. (The latter needs separate work to add a new per-key log file to store that state.) Only thing I don't much like is that initremote needs to be passed both type=external and externaltype=foo. It would be better to have just type=foo Most of this is quite straightforward code, that largely wrote itself given the types. The only tricky parts were: * Need to lock the remote when using it to eg make a request, because in theory git-annex could have multiple threads that each try to use a remote at the same time. I don't think that git-annex ever does that currently, but better safe than sorry. * Rather than starting up every external special remote program when git-annex starts, they are started only on demand, when first used. This will avoid slowdown, especially when running fast git-annex query commands. Once started, they keep running until git-annex stops, currently, which may not be ideal, but it's hard to know a better time to stop them. * Bit of a chicken and egg problem with caching the cost of the remote, because setting annex-cost in the git config needs the remote to already be set up. Managed to finesse that. This commit was sponsored by Lukas Anzinger.
* convert hacky shell linux mklibs code to haskell ; fixing symlink bugGravatar Joey Hess2013-12-24
| | | | | | The shell code was nasty, and buggy. New haskell code is much nicer, and it's easy to do complicated calculations to properly convert possibly absolute symlinks between libraries into relative links using it.
* assistant: Set StrictHostKeyChecking yes when creating ssh remotes, and add ↵Gravatar Joey Hess2013-12-20
| | | | it to the configuration for any ssh remotes previously created by the assistant. This avoids repeated prompts by ssh if the host key changes, instead syncing with such a remote will fail. Closes: #732602
* need to stat symlinkGravatar Joey Hess2013-12-18
|
* assistant: Fix OSX-specific bug that caused the startup scan to try to ↵Gravatar Joey Hess2013-12-18
| | | | follow symlinks to other directories, and add their contents to the annex.
* switch define used, not android specificGravatar Joey Hess2013-12-18
|
* port transferkeys to windows; make stopping in progress transfers work too ↵Gravatar Joey Hess2013-12-10
| | | | | | | | | | | | | | | (probably) transferkeys had used special FDs for communication, but that would be quite annoying to do in Windows. Instead, use stdin and stdout. But, to avoid commands like rsync stomping on them and messing up the communications channel, they're duplicated to a different handle; stdin is replaced with a null handle, and stdout is replaced with a copy of stderr. This should all work in windows too. Stopping in progress transfers may work on windows.. if the types unify anyway. ;) May need some more porting.
* warningGravatar Joey Hess2013-12-10
|
* missing includeGravatar Joey Hess2013-12-10
|
* windows disk free space checkingGravatar Joey Hess2013-12-10
|
* squash warningGravatar Joey Hess2013-12-09
|
* whupsGravatar Joey Hess2013-12-06
|
* didn't seem to helpGravatar Joey Hess2013-12-06
|
* fixGravatar Joey Hess2013-12-06
|
* try to use build-in yesod socket bind code on windows (mine seems to make t ↵Gravatar Joey Hess2013-12-06
| | | | crash)
* add withSocketsDo to hopefully appease the windows crash report godsGravatar Joey Hess2013-12-06
|
* weird DOS CMD shell is weirdGravatar Joey Hess2013-12-06
|
* Revert "try different syntax"Gravatar Joey Hess2013-12-06
| | | | This reverts commit 68b8850149a2311a2953a80777d9e747a5972468.
* try different syntaxGravatar Joey Hess2013-12-06
|
* Revert "don't use writeFileProtected on windows"Gravatar Joey Hess2013-12-06
| | | | This reverts commit 5a795c7f7b12429a7003c27e740579248c94a628.
* don't use writeFileProtected on windowsGravatar Joey Hess2013-12-06
| | | | This was preventing the webapp from working.
* support for opening urls on windowsGravatar Joey Hess2013-12-06
|
* oopGravatar Joey Hess2013-12-06
|
* oopGravatar Joey Hess2013-12-06
|
* pass COLLECT_GCC_OPTIONSGravatar Joey Hess2013-12-06
|
* same fix as android for windows getAddrInfo not workingGravatar Joey Hess2013-12-05
|
* reorgGravatar Joey Hess2013-12-04
|
* avoid blocked indefinitely on mvar on windowsGravatar Joey Hess2013-12-04
| | | | | by repeatedly reading lines and pausing since cannot do signal foo used on unix
* rsync special remote: Fix fallback mode for rsync remotes that use ↵Gravatar Joey Hess2013-12-02
| | | | hashDirMixed. Closes: #731142
* avoid repeatedly searching path to make batch command when running transferkeysGravatar Joey Hess2013-12-01
|
* avoid an unncessary use of the shellGravatar Joey Hess2013-12-01
|
* assistant: Batch jobs are now run with ionice and nocache, when those ↵Gravatar Joey Hess2013-12-01
| | | | commands are available.
* golfGravatar Joey Hess2013-11-25
|
* typoGravatar Joey Hess2013-11-24
|
* Added support for quvi 0.9. Slightly suboptimal due to limitations in its ↵Gravatar Joey Hess2013-11-24
| | | | interface compared with the old version.
* Avoid misbehavior when addurl is used with quvi 0.9.Gravatar Joey Hess2013-11-22
| | | | | | | | In 0.9, -v shows version, rather than controlling verbosity. Still need to port to 0.9, this just avoids massively confusing addurl when quvi prints its version and exits successfully, on urls that it cannot be used with.
* oopsGravatar Joey Hess2013-11-20
|
* add allowReadGravatar Joey Hess2013-11-20
|
* add readFileStrictAnyEncodingGravatar Joey Hess2013-11-20
|
* merge with git-repairGravatar Joey Hess2013-11-19
|
* Ensure execute bit is set on directories when core.sharedrepsitory is set.Gravatar Joey Hess2013-11-18
|
* use Win32-inotifyGravatar Joey Hess2013-11-12
| | | | May mean the watcher works on Windows. Untested.
* build assistant and watcher on windows (doesn't work yet)Gravatar Joey Hess2013-11-12
|
* refactorGravatar Joey Hess2013-11-12
|
* squash warningGravatar Joey Hess2013-11-12
|
* fix import for WindowsGravatar Joey Hess2013-11-12
|
* port processTranscript to Windows (suboptimal implementation)Gravatar Joey Hess2013-11-12
|
* allow to build when sandi is installed (don't use it yet)Gravatar Joey Hess2013-11-11
|
* fix quickcheck rangeGravatar Joey Hess2013-11-01
|
* fix handling of schedled time of 12 PMGravatar Joey Hess2013-11-01
|