diff options
author | Joey Hess <joey@kitenet.net> | 2013-02-28 17:56:37 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-02-28 17:56:37 -0400 |
commit | 3c8750beddd82e6352a462c7f4a9638355920b64 (patch) | |
tree | e20e78470bdaf5a5d075a2d04f0c12643a0d8015 | |
parent | 1a3e8b7af4834da504bcc2bcb8ff0013a40adc57 (diff) |
blog for the day
-rw-r--r-- | doc/design/assistant/blog/day_201__working_web_server.mdwn | 31 | ||||
-rw-r--r-- | git-annex.cabal | 2 |
2 files changed, 32 insertions, 1 deletions
diff --git a/doc/design/assistant/blog/day_201__working_web_server.mdwn b/doc/design/assistant/blog/day_201__working_web_server.mdwn new file mode 100644 index 000000000..c9e959a33 --- /dev/null +++ b/doc/design/assistant/blog/day_201__working_web_server.mdwn @@ -0,0 +1,31 @@ +Seems I am not done with the Android porting just yet after all. One more +porting day.. + +Last night I managed to get all of Yesod to build for Android. +I even successfully expanded some Template Haskell used in yesod-form. And +am fairly confident I could manually expand all the TH in there, so it's +actually useable without TH. Most of the TH is just commented out for now. + +However, programs using Yesod didn't link; lots of missing symbols. I have +been fighting to fix those all day today. + +Finally, I managed to build [the yesod-pure demo server](https://gist.github.com/snoyberg/3870834/raw/212f0164de36524291df3ab35788e2b72d8d1e75/fib.hs), +and I have a working web server on Android! It listens for requests, it logs +them correctly, and it replies to requests. I did cripple yesod's routing +code in my hack-n-slash port of it, so it fails to *display* any pages, +but never has "Internal Server Error" in a web browser been such a sweet +sight. ;-) + +At this point, I estimate about 1 or 2 weeks work to get to an Android +webapp. I'd need to: + +1. More carefully port Yesod, manually expanding all Template Haskell + as I went, rather than commenting it all out like I did this time. +2. Either develop a tool to automatically expand Hamlet TH splices + (preferred; seems doable), or convert all the webapp's templates + to not use Hamlet. + +----- + +I've modified 38 Haskell libraries so far to port them to Android. Mostly +small hacks, but eep this is a lot of stuff to keep straight. diff --git a/git-annex.cabal b/git-annex.cabal index 938b45638..7953b5958 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -8,7 +8,7 @@ Stability: Stable Copyright: 2010-2013 Joey Hess License-File: COPYRIGHT Homepage: http://git-annex.branchable.com/ -Build-type: Custom +Build-type: Simple Category: Utility Synopsis: manage files with git, without checking their contents into git Description: |