summaryrefslogtreecommitdiff
path: root/debian
Commit message (Collapse)AuthorAge
* Work around a bug in Network.URI's handling of bracketed ipv6 addresses.Gravatar Joey Hess2011-05-06
|
* releasing version 0.201105030.20110503Gravatar Joey Hess2011-05-03
|
* S3: When encryption is enabled, the Amazon S3 login credentials are stored, ↵Gravatar Joey Hess2011-05-01
| | | | encrypted, in .git-annex/remotes.log, so environment variables need not be set after the remote is initialized.
* unused: Now also lists files fsck places in .git/annex/bad/Gravatar Joey Hess2011-04-29
|
* Avoid crashing when an existing key is readded to the annex.Gravatar Joey Hess2011-04-28
|
* documentation for hook special remotesGravatar Joey Hess2011-04-28
| | | | | | Releasing before I have quite finished the code. Got a little caught up in Anathem references. Time for a walk and then a tiny bit more coding and possibly testing.
* Fix hasKeyCheap setting for bup and rsync special remotes.Gravatar Joey Hess2011-04-28
|
* erm, thought I committed this release?Gravatar Joey Hess2011-04-28
|
* Avoid pipeline stall when running git annex drop or fsck on a lot of files.Gravatar Joey Hess2011-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When it's stalled, there are 3 processes: git annex git ls-files git check-attr git-annex stalls trying to write to git check-attr, which stalls trying to write to stdout (read by git-annex). git ls-files does not seem to be involved directly; I've seen the stall when it was still streaming out the file list, and after it had exited and zombified. The read and write are supposed to be handled by two different threads, which pipeBoth forks off, thus avoiding deadlock. But it does deadlock. (Certian signals unblock the deadlock for a while, then it stalls again.) So, this is another case of WTF is the ghc IO manager doing today? I avoid the issue by converting the writer to a separate process. Possibly this was caused by some change in ghc 7 -- I'm offline and cannot verify now, but I'm sure I used to be able to run git annex drop w/o it hanging! And the code does not seem to have changed, except for commit c1dc4079419cff94cca72441d5e67a866110ec7e, which I tried reverting without success. In fact, I reverted all the way back to 0.20110316 and still saw the stall. Update: Minimal test case: import System.Cmd.Utils main = do as <- checkAttr "blah" $ map show [1..100000] sequence $ map (putStrLn . show) as checkAttr attr files = do (_, s) <- pipeBoth "git" params $ unlines files return $ lines s where params = ["check-attr", attr, "--stdin"] Bug filed on ghc in debian, #624389
* filter out --delete rsync optionGravatar Joey Hess2011-04-27
| | | | rsync does not have a --no-delete, so do it this way instead
* rsync special remoteGravatar Joey Hess2011-04-27
| | | | | | | | | Fully tested and working, including resuming and encryption. (Though not resuming when sending *with* encryption; gpg doesn't produce identical output each time.) Uses same layout as the directory special remote and the .git/annex/objects/ directory.
* Revert "Use haskell Crypto library instead of haskell SHA library.a"Gravatar Joey Hess2011-04-26
| | | | | | | | | This reverts commit 892593c5efacbc084d19af4b5d7164ededaea7ff. Conflicts: Crypto.hs debian/control
* releasing version 0.201104250.20110425Gravatar Joey Hess2011-04-25
|
* Avoid using absolute paths when staging location log, as that can confuse ↵Gravatar Joey Hess2011-04-25
| | | | | | | | | | | git when a remote's path contains a symlink. Closes: #621386 This was a real PITA to fix, since location logs can be staged in both the current repo, as well as in local remote's repos, in which case the cwd will not be in the repo. And git add needs different params in both cases, when absolute paths are not used. In passing, git annex fsck now stages location log fixes.
* Remove testpack from build depends, as it is not available on all architectures.Gravatar Joey Hess2011-04-25
| | | | | | | The test suite will not be run if it cannot be compiled. It may be possible later to split off the quickcheck using tests into a separate program and keep most of the tests using just hunit.
* Use haskell Crypto library instead of haskell SHA library.aGravatar Joey Hess2011-04-21
| | | | Since hS3 needs Crypto anyway, this actually reduces dependencies.
* releasing version 0.201104200.20110420Gravatar Joey Hess2011-04-21
|
* typoGravatar Joey Hess2011-04-21
|
* update on S3 memory leaksGravatar Joey Hess2011-04-21
| | | | | | | The remaining leaks are in hS3. The leak with encryption was worked around by the use of the temp file. (And was probably originally caused by gpgCipherHandle sparking a thread which kept a reference to the start of the byte string.)
* fix S3 upload buffering problemGravatar Joey Hess2011-04-21
| | | | Provide file size to new version of hS3.
* missing build depGravatar Joey Hess2011-04-21
|
* ghc7Gravatar Joey Hess2011-04-21
| | | | | | | | | * Update Debian build dependencies for ghc 7. * Debian package is now built with S3 support. Thanks Joachim Breitner for making this possible, also thanks Greg Heartsfield for working to improve the hS3 library for git-annex. Also hid a conflicting new symbol from Control.Monad.State
* finalize release0.20110419Gravatar Joey Hess2011-04-19
|
* bup: Avoid memory leak when transferring encrypted data.Gravatar Joey Hess2011-04-19
| | | | | | | | | | | | | | | | | | | | | | | | This was a most surprising leak. It occurred in the process that is forked off to feed data to gpg. That process was passed a lazy ByteString of input, and ghc seemed to not GC the ByteString as it was lazily read and consumed, so memory slowly leaked as the file was read and passed through gpg to bup. To fix it, I simply changed the feeder to take an IO action that returns the lazy bytestring, and fed the result directly to hPut. AFAICS, this should change nothing WRT buffering. But somehow it makes ghc's GC do the right thing. Probably I triggered some weakness in ghc's GC (version 6.12.1). (Note that S3 still has this leak, and others too. Fixing it will involve another dance with the type system.) Update: One theory I have is that this has something to do with the forking of the feeder process. Perhaps, when the ByteString is produced before the fork, ghc decides it need to hold a pointer to the start of it, for some reason -- maybe it doesn't realize that it is only used in the forked process.
* Fix stalls in S3 when transferring encrypted data.Gravatar Joey Hess2011-04-19
| | | | | | | | | | | | | | | | | | | Stalls were caused by code that did approximatly: content' <- liftIO $ withEncryptedContent cipher content return store content' The return evaluated without actually reading content from S3, and so the cleanup code began waiting on gpg to exit before gpg could send all its data. Fixing it involved moving the `store` type action into the IO monad: liftIO $ withEncryptedContent cipher content store Which was a bit of a pain to do, thank you type system, but avoids the problem as now the whole content is consumed, and stored, before cleanup.
* Add missing build dep on dataenc.Gravatar Joey Hess2011-04-17
|
* Don't run gpg in batch mode, so it can prompt for passphrase when there is ↵Gravatar Joey Hess2011-04-17
| | | | no agent.
* releasing version 0.201104170.20110417Gravatar Joey Hess2011-04-17
|
* build dep updateGravatar Joey Hess2011-04-16
|
* gpg recommendedGravatar Joey Hess2011-04-16
|
* bup is now supported as a special type of remote.Gravatar Joey Hess2011-04-08
|
* refactor away whichCmd and some other cleanupGravatar Joey Hess2011-04-07
|
* let's use Maybe String for commands that may not be avilableGravatar Joey Hess2011-04-07
|
* Periodically flush git command queue, to avoid boating memory usage too much.Gravatar Joey Hess2011-04-07
| | | | | | | Since the queue is flushed in between subcommand actions being run, there should be no issues with actions that expect to queue up some stuff and have it run after they do other stuff. So I didn't have to audit for such assumptions.
* Add doc-base file. Closes: #621408Gravatar Joey Hess2011-04-06
|
* Add build depend on perlmagick so docs are consistently built. Closes: #621410Gravatar Joey Hess2011-04-06
|
* Clear up short option confusion between --from and --force (-f is now ↵Gravatar Joey Hess2011-04-03
| | | | --from, and there is no short option for --force).
* unused/dropunused: support --fromGravatar Joey Hess2011-04-02
|
* Use lowercase hash directories for locationlog filesGravatar Joey Hess2011-04-02
| | | | | | to avoid some issues with git on OSX with the mixed-case directories. No migration is needed; the old mixed case hash directories are still read; new information is written to the new directories.
* releasing version 0.201104010.20110401Gravatar Joey Hess2011-04-01
|
* Bugfix: copy --to --fast never really copied, fixed.Gravatar Joey Hess2011-04-01
|
* add Remote.DirectoryGravatar Joey Hess2011-03-30
|
* nasty hack to build when hS3 is not availableGravatar Joey Hess2011-03-30
| | | | | | | | | | | So, it would be nicer to just use Cabal and take advantage of its conditional compilation support. But, Cabal seems to lack good support for a package with an internal library that is used by multiple executables. It wants to build everything twice or more. That's too slow for me. Anyway, fairly soon, I expect to upgrade hS3 to a requirment, and I can just revert this.
* updateGravatar Joey Hess2011-03-29
|
* Merge branch 'master' into s3Gravatar Joey Hess2011-03-28
|\ | | | | | | | | Conflicts: debian/changelog
| * fsck: Ensure that files and directories in .git/annex/objects have proper ↵Gravatar Joey Hess2011-03-28
| | | | | | | | permissions.
* | S3 updates; gpg keysGravatar Joey Hess2011-03-28
| |
* | Merge branch 'master' into s3Gravatar Joey Hess2011-03-28
|\| | | | | | | | | Conflicts: debian/changelog
| * releasing version 0.201103280.20110328Gravatar Joey Hess2011-03-28
| |
| * Bugfix: Keys could be received into v1 annexes from v2 annexes, via v1 ↵Gravatar Joey Hess2011-03-28
| | | | | | | | git-annex-shell. This results in some oddly named keys in the v1 annex. Recognise and fix those keys when upgrading, instead of crashing.