{"action":"closed","pull_request":{"created_at":"2011-12-09T09:50:42Z","review_comments":0,"state":"closed","updated_at":"2011-12-09T10:58:41Z","patch_url":"https://github.com/andreasgal/gaia/pull/161.patch","changed_files":85,"_links":{"review_comments":{"href":"https://api.github.com/repos/andreasgal/gaia/pulls/161/comments"},"comments":{"href":"https://api.github.com/repos/andreasgal/gaia/issues/161/comments"},"html":{"href":"https://github.com/andreasgal/gaia/pull/161"},"self":{"href":"https://api.github.com/repos/andreasgal/gaia/pulls/161"}},"issue_url":"https://github.com/andreasgal/gaia/issues/161","comments":0,"user":{"gravatar_id":"c4742babf5ea2268e923e1fec874a2d2","id":579794,"url":"https://api.github.com/users/vingtetun","avatar_url":"https://secure.gravatar.com/avatar/c4742babf5ea2268e923e1fec874a2d2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"vingtetun"},"merged":true,"body":"Those commits has some cool effects:\r\n - broke the web demo for ever (maybe not but it will require some additional work)\r\n\r\nBut gaia is still working with a http server that runs a configuration like:\r\n---\r\nLoadModule vhost_alias_module /usr/lib/apache2/modules/mod_vhost_alias.so\r\n\r\nListen 8888\r\n\r\nServerName gaia.org\r\nNameVirtualHost *:8888\r\nUseCanonicalName Off\r\n\r\n<VirtualHost *:8888>\r\nServerAlias gaia.org *.gaia.org\r\nVirtualDocumentRoot /var/www/gaia2/apps/%1/\r\n</VirtualHost>\r\n\r\n---\r\n\r\nSo people working on Gaia should move to that as soon as possible and never never again use file://.\r\n\r\nNow the cool stuff provided by this patch.\r\n\r\nThe homescreen uses navigator.mozApps.enumerate (yeah!) and every apps runs inside their own domain: [app].gaia.org and all apps's bug fixes are included in those commits.\r\n\r\nAlso every applications have a manifest.appcache, so Gaia will still works even if you're offline.\r\nApps required to be opened once to be stored in the cache obviously.\r\n\r\n\r\nThere is some fixes in the b2g/ dir I need to push in order for this to works correctly.\r\nWe also need to integrate fabrice fixes to the install-gaia target to generate a default webapps.json file in the profile (which will be /data/b2g/mozilla/b2g.default by default now).\r\n\r\nAfter that I need to add some shits to install-gaia to to generate a fake OfflineApps/ directory with all the entries for the default apps. This will let us get rid of httpd.js! - but that's a big TODO on my list now.\r\n","deletions":307,"commits":6,"mergeable":null,"id":576342,"additions":11686,"number":161,"merged_by":{"gravatar_id":"c4742babf5ea2268e923e1fec874a2d2","id":579794,"url":"https://api.github.com/users/vingtetun","avatar_url":"https://secure.gravatar.com/avatar/c4742babf5ea2268e923e1fec874a2d2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"vingtetun"},"base":{"repo":{"created_at":"2011-09-03T01:38:46Z","pushed_at":"2011-12-09T10:58:41Z","updated_at":"2011-12-09T10:58:41Z","clone_url":"https://github.com/andreasgal/gaia.git","private":false,"name":"gaia","watchers":32,"svn_url":"https://svn.github.com/andreasgal/gaia","master_branch":null,"language":"JavaScript","forks":18,"owner":{"gravatar_id":"dc614466f1a6d8f9c0e7a868bda77196","id":313748,"url":"https://api.github.com/users/andreasgal","avatar_url":"https://secure.gravatar.com/avatar/dc614466f1a6d8f9c0e7a868bda77196?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"andreasgal"},"id":2317369,"homepage":"https://wiki.mozilla.org/B2G","description":"Gaia is a HTML5-based Phone UI for the Boot 2 Gecko Project","git_url":"git://github.com/andreasgal/gaia.git","html_url":"https://github.com/andreasgal/gaia","size":1240,"url":"https://api.github.com/repos/andreasgal/gaia","fork":false,"ssh_url":"git@github.com:andreasgal/gaia.git","open_issues":28},"user":{"gravatar_id":"dc614466f1a6d8f9c0e7a868bda77196","id":313748,"url":"https://api.github.com/users/andreasgal","avatar_url":"https://secure.gravatar.com/avatar/dc614466f1a6d8f9c0e7a868bda77196?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"andreasgal"},"sha":"3184fc2db01e305f5ca6405cea6f83e618da7a32","ref":"master","label":"andreasgal:master"},"head":{"repo":{"created_at":"2011-10-24T13:22:21Z","pushed_at":"2011-12-09T10:56:50Z","updated_at":"2011-12-09T10:56:50Z","clone_url":"https://github.com/vingtetun/gaia.git","private":false,"name":"gaia","watchers":3,"svn_url":"https://svn.github.com/vingtetun/gaia","master_branch":null,"language":"JavaScript","forks":2,"owner":{"gravatar_id":"c4742babf5ea2268e923e1fec874a2d2","id":579794,"url":"https://api.github.com/users/vingtetun","avatar_url":"https://secure.gravatar.com/avatar/c4742babf5ea2268e923e1fec874a2d2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"vingtetun"},"id":2636258,"homepage":"https://wiki.mozilla.org/B2G","description":"Gaia is a HTML5-based Phone UI for the Boot 2 Gecko Project","git_url":"git://github.com/vingtetun/gaia.git","html_url":"https://github.com/vingtetun/gaia","size":252,"url":"https://api.github.com/repos/vingtetun/gaia","fork":true,"ssh_url":"git@github.com:vingtetun/gaia.git","open_issues":0},"user":{"gravatar_id":"c4742babf5ea2268e923e1fec874a2d2","id":579794,"url":"https://api.github.com/users/vingtetun","avatar_url":"https://secure.gravatar.com/avatar/c4742babf5ea2268e923e1fec874a2d2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"vingtetun"},"sha":"6146acc0f8c62383ffd67b1d5193d6aa6eddf9b6","ref":"webapps","label":"vingtetun:webapps"},"title":"Webapps + Appcache manifest for application","closed_at":"2011-12-09T10:58:41Z","html_url":"https://github.com/andreasgal/gaia/pull/161","url":"https://api.github.com/repos/andreasgal/gaia/pulls/161","diff_url":"https://github.com/andreasgal/gaia/pull/161.diff","merged_at":"2011-12-09T10:58:41Z"},"number":161}