summaryrefslogtreecommitdiff
path: root/git-annex.cabal
Commit message (Collapse)AuthorAge
* make remote-daemon able to send and receive objects over torGravatar Joey Hess2016-12-02
| | | | | | | | Each worker thread needs to run in the Annex monad, but the remote-daemon's liftAnnex can only run 1 action at a time. Used Annex.Concurrent to deal with that. P2P.Annex is incomplete as of yet.
* implement p2p commandGravatar Joey Hess2016-11-30
|
* finish git-annex enable-torGravatar Joey Hess2016-11-29
| | | | | Make it stash the address away for git-annex p2p to use later, rather than outputting it. And, look up the UUID itself.
* add P2P.AuthGravatar Joey Hess2016-11-22
|
* reorgGravatar Joey Hess2016-11-22
|
* unified AuthToken type between webapp and torGravatar Joey Hess2016-11-22
|
* Added git-remote-tor-annex, which allows git pull and push to the tor hidden ↵Gravatar Joey Hess2016-11-21
| | | | | | | | | | | service. Almost working, but there's a bug in the relaying. Also, made tor hidden service setup pick a random port, to make it harder to port scan. This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
* remotedaemon: serve tor hidden serviceGravatar Joey Hess2016-11-20
|
* implement p2p protocol for HandleGravatar Joey Hess2016-11-20
| | | | | | | | | | | This is most of the way to having the p2p protocol working over tor hidden services, at least enough to do git push/pull. The free monad was split into two, one for network operations and the other for local (Annex) operations. This will allow git-remote-tor-annex to run only an IO action, not needing the Annex monad. This commit was sponsored by Remy van Elst on Patreon.
* Merge branch 'master' into torGravatar Joey Hess2016-11-18
|\
| * releasing package git-annex version 6.201611186.20161118Gravatar Joey Hess2016-11-18
| |
* | implementation of peer-to-peer protocolGravatar Joey Hess2016-11-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For use with tor hidden services, and perhaps other transports later. Based on Utility.SimpleProtocol, it's a line-based protocol, interspersed with transfers of bytestrings of a specified size. Implementation of the local and remote sides of the protocol is done using a free monad. This lets monadic code be included here, without tying it to any particular way to get bytes peer-to-peer. This adds a dependency on the haskell package "free", although that was probably pulled in transitively from other dependencies already. This commit was sponsored by Jeff Goeke-Smith on Patreon.
* | Merge branch 'master' into torGravatar Joey Hess2016-11-17
|\|
| * unbreak all the autobuildersGravatar Joey Hess2016-11-15
| | | | | | | | | | | | | | | | | | | | git-annex.cabal: Loosen bounds on persistent to allow 2.5, which on Debian has been patched to work with esqueleto. This may break cabal's resolver on non-Debian systems; if so, either use stack to build, or run cabal with --constraint='persistent ==2.2.4.1' Hopefully this mess with esqueleto will be resolved soon. https://github.com/prowdsponsor/esqueleto/issues/137
* | git-annex enable-tor commandGravatar Joey Hess2016-11-14
|/ | | | | | | | | | | | | | | | | | Tor unfortunately does not come out of the box configured to let hidden services register themselves on the fly via the ControlPort. And, changing the config to enable the ControlPort and a particular type of auth for it may break something already using the ControlPort, or lessen the security of the system. So, this leaves only one option to us: Add a hidden service to the torrc. git-annex enable-tor does so, and picks an unused high port for tor to listen on for connections to the hidden service. It's up to the caller to somehow pick a local port to listen on that won't be used by something else. That may be difficult to do.. This commit was sponsored by Jochen Bartl on Patreon.
* releasing package git-annex version 6.201611116.20161111Gravatar Joey Hess2016-11-11
|
* releasing package git-annex version 6.201610316.20161031Gravatar Joey Hess2016-10-31
|
* prep release6.20161027Gravatar Joey Hess2016-10-27
|
* releasing package git-annex version 6.201610126.20161012Gravatar Joey Hess2016-10-12
|
* remove cabal.configGravatar Joey Hess2016-09-23
| | | | fixes cabal sdist
* prep release6.20160923Gravatar Joey Hess2016-09-23
|
* drop incremental json object display; clean up codeGravatar Joey Hess2016-09-09
| | | | | | | | | | | | | This gets rid of quite a lot of ugly hacks around json generation. I doubt that any real-world json parsers can parse incomplete objects, so while it's not as nice to need to wait for the complete object, especially for commands like `git annex info` that take a while, it doesn't seem worth the added complexity. This also causes the order of fields within the json objects to be reordered. Since any real json parser shouldn't care, the only possible problem would be with ad-hoc parsers of the old json output.
* disentangle concurrency and message typeGravatar Joey Hess2016-09-09
| | | | | | | | This makes -Jn work with --json and --quiet, where before setting -Jn disabled those options. Concurrent json output is currently a mess though since threads output chunks over top of one-another.
* prep release6.20160907Gravatar Joey Hess2016-09-07
|
* revert 15c054042f6582689fdac4d02dd8ba69505bb586Gravatar Joey Hess2016-09-06
| | | | This broke the windows build, the android build, the debian stable build, ...
* one dep per line and add comments about workaround depsGravatar Joey Hess2016-09-05
|
* git-annex.cabal: persistent ==2.2.4.1Gravatar ilovezfs2016-09-05
| | | | | | | | | | | | | Simplify Solver's task by requesting version 2.2.4.1 of the persistent package instead of just providing the persistent < 2.5 constraint. With only the persistent < 2.5 constraint, and with --flags=s3\ webapp and --max-backjumps=10000, CI timed out after two hours with Solver still trying to find a solution. This is a follow-up to 2415b7cb, since there's been a regression in the situation between 6.20160619 and 6.20160808, probably simply because Hackage is a moving target.
* releasing package git-annex version 6.201608086.20160808Gravatar Joey Hess2016-08-08
|
* add new modules to annoying listGravatar Joey Hess2016-08-08
|
* When built with ut uid-1.3.12, generate more random UUIDs than beforeGravatar Joey Hess2016-07-27
| | | | | | | | | | | | | | | | | | | | | | | | Use nextRandom to generate the random UUID, rather than using randomIO. This gets fixes for the following two bugs in the uuid library. However, this did not impact git-annex much, so a hard depedency has not been added on uuid-1.3.12. https://github.com/aslatter/uuid/issues/15 "v4 UUIDs are not that random" This doesn't greatly affect git-annex, because even with only 2^64 possible UUIDs, the chance that two git-annex repositories that are clones of the same git repo get the same UUID is miniscule. And, git-annex generates only one UUID per run, so preducting subsequent UUIDs is not a problem. https://github.com/aslatter/uuid/issues/16 "Remove Random instance for UUID, or mark it as deprecated" git-annex was using that instance; let's stop before it gets deprecated or removed.
* Removed dependency on json library; all JSON is now handled by aeson.Gravatar Joey Hess2016-07-26
| | | | | I've eyeballed all --json commands, and the only difference should be that some fields are re-ordered.
* saner format for metadata --jsonGravatar Joey Hess2016-07-26
| | | | | | | | | | | | | metadata --json output format has changed, adding a inner json object named "fields" which contains only the fields and their values. This should be easier to parse than the old format, which mixed up metadata fields with other keys in the json object. Any consumers of the old format will need to be updated. This adds a dependency on unordered-containers for parsing MetaData from JSON, but it's a free dependency; aeson pulls in that library.
* cabal constraints for aws and esqueletoGravatar ilovezfs2016-07-22
| | | | | | | | | | | | aws 0.14.0 is incompatible with http-conduit 2.2.0 https://github.com/aristidb/aws/issues/206 esqueleto 2.4.3 is incompatible with persistent 2.5 https://github.com/prowdsponsor/esqueleto/issues/137 https://github.com/prowdsponsor/esqueleto/pull/141 https://github.com/prowdsponsor/esqueleto/pull/139 Solver needs these hints when building git-annex with +S3 and +Webapp.
* prep releaseGravatar Joey Hess2016-07-19
|
* Remove the EKG build flag, since Gentoo for some reason decided to enable ↵Gravatar Joey Hess2016-07-06
| | | | this flag, depsite it not being intended for production use and so enabled by default.
* prep releaseGravatar Joey Hess2016-06-13
|
* fix man page buildingGravatar Joey Hess2016-06-02
|
* Remove Makefile from cabal tarball; man page building is now handled by a ↵Gravatar Joey Hess2016-05-31
| | | | | | | | small haskell program. This actually runs faster than building the man pages from the makefile did. But the main purpose is to let Setup.hs import Build.Mans and so not need the makefile.
* add Logs.LineGravatar Joey Hess2016-05-27
|
* prep releaseGravatar Joey Hess2016-05-27
|
* update copyright yearGravatar Joey Hess2016-05-24
|
* temporarily add cabal.config to support ghc 8.0.1 buildGravatar Joey Hess2016-05-24
| | | | This commit can be reverted once the library deps are worked out upstream.
* Updated cabal file explictly lists source files.Gravatar Joey Hess2016-05-24
| | | | | | | | | | | | | | | | | | | The tarball on hackage will include only the files needed for cabal install; it is NOT the full git-annex source tree. While it's totally obnoxious that cabal files need every file listed out when basic wildcard support could avoid hundreds of lines, and have to be maintained when files are added, this does get the tarball size back down to 1 mb. This also stops stack from complaining that it found modules not listed in the cabal file. debian/changelog, debian/NEWS, debian/copyright: Converted to symlinks to CHANGELOG, NEWS, and COPYRIGHT, which used to symlink to these instead. This avoids needing to include debian/ in the hackage tarball. Setup.hs: Build man pages at install time using make and mdwn2man. If it fails, which it probably will on windows, just skip installing them.
* Support building with ghc 8.0.1.Gravatar Joey Hess2016-05-23
|
* add more deps to Setuo-DependsGravatar Joey Hess2016-05-23
| | | | I'm told these are needed.
* prep release6.20160511Gravatar Joey Hess2016-05-11
|
* git-annex.cabal: Add Setup-Depends.Gravatar Joey Hess2016-05-04
|
* releasing package git-annex version 6.201604196.20160419Gravatar Joey Hess2016-04-28
|
* prep releaseGravatar Joey Hess2016-04-18
|
* prep releaseGravatar Joey Hess2016-04-12
|