{"action":"created","issue":{"url":"https://api.github.com/repos/enterprisemediawiki/meza/issues/236","labels_url":"https://api.github.com/repos/enterprisemediawiki/meza/issues/236/labels{/name}","comments_url":"https://api.github.com/repos/enterprisemediawiki/meza/issues/236/comments","events_url":"https://api.github.com/repos/enterprisemediawiki/meza/issues/236/events","html_url":"https://github.com/enterprisemediawiki/meza/pull/236","id":112644318,"number":236,"title":"Add memcached and Flow","user":{"login":"darenwelsh","id":6728676,"avatar_url":"https://avatars.githubusercontent.com/u/6728676?v=3","gravatar_id":"","url":"https://api.github.com/users/darenwelsh","html_url":"https://github.com/darenwelsh","followers_url":"https://api.github.com/users/darenwelsh/followers","following_url":"https://api.github.com/users/darenwelsh/following{/other_user}","gists_url":"https://api.github.com/users/darenwelsh/gists{/gist_id}","starred_url":"https://api.github.com/users/darenwelsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darenwelsh/subscriptions","organizations_url":"https://api.github.com/users/darenwelsh/orgs","repos_url":"https://api.github.com/users/darenwelsh/repos","events_url":"https://api.github.com/users/darenwelsh/events{/privacy}","received_events_url":"https://api.github.com/users/darenwelsh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/enterprisemediawiki/meza/labels/please%20review","name":"please review","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-21T17:53:37Z","updated_at":"2015-10-27T17:15:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/enterprisemediawiki/meza/pulls/236","html_url":"https://github.com/enterprisemediawiki/meza/pull/236","diff_url":"https://github.com/enterprisemediawiki/meza/pull/236.diff","patch_url":"https://github.com/enterprisemediawiki/meza/pull/236.patch"},"body":"This PR modifies install.sh to add a new script memcached.sh, which installs the memcached package, copies over a configuration file, and starts the service. This was discussed as part of #16. This PR also adds Extension:Flow. This closes #37.\r\n\r\n#### Install Instructions:\r\nRun install.sh on both CentOS 6 and 7 using the `flow` branch:\r\n* `curl -LO https://raw.githubusercontent.com/enterprisemediawiki/meza/flow/scripts/install.sh`\r\n* `sudo bash install.sh`\r\n\r\n#### Test Instructions:\r\nVerify memcached was installed and is running by executing `memcached-tool 127.0.0.1:11211 stats` in the command line. You should see something like the following:\r\n\r\n```\r\n#127.0.0.1:11211   Field       Value\r\n         accepting_conns           1\r\n               auth_cmds           0\r\n             auth_errors           0\r\n                   bytes     3180160\r\n              bytes_read    15841082\r\n           bytes_written    25422944\r\n              cas_badval           0\r\n                cas_hits           0\r\n              cas_misses           0\r\n               cmd_flush           0\r\n                 cmd_get       61972\r\n                 cmd_set       56145\r\n               cmd_touch           0\r\n             conn_yields           0\r\n   connection_structures          17\r\n        curr_connections          10\r\n              curr_items        1797\r\n               decr_hits           0\r\n             decr_misses           0\r\n             delete_hits          34\r\n           delete_misses          14\r\n       evicted_unfetched           0\r\n               evictions           0\r\n       expired_unfetched          11\r\n                get_hits       59873\r\n              get_misses        2099\r\n              hash_bytes      524288\r\n       hash_is_expanding           0\r\n        hash_power_level          16\r\n               incr_hits           0\r\n             incr_misses           0\r\n                libevent 2.0.21-stable\r\n          limit_maxbytes   536870912\r\n     listen_disabled_num           0\r\n                     pid        1227\r\n            pointer_size          64\r\n               reclaimed          17\r\n            reserved_fds          20\r\n           rusage_system    3.410289\r\n             rusage_user    1.508900\r\n                 threads           4\r\n                    time  1445395858\r\n       total_connections        1286\r\n             total_items       56137\r\n              touch_hits           0\r\n            touch_misses           0\r\n                  uptime       19294\r\n                 version      1.4.15\r\n```\r\n\r\nTo test Flow, go to a discussion page with no content. You should see the Flow board like this:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/6728676/10645197/1e0c1470-77f2-11e5-9a0b-7e3a5f8ac2b1.png)\r\n\r\n#### Test Results Checklist:\r\n- [ ] memcached works on CentOS 6\r\n- [x] memcached works on CentOS 7\r\n- [ ] Flow works on CentOS 6\r\n- [x] Flow works on CentOS 7\r\n- [x] Update page property value and verify update with \"browse properties\"\r\n- [x] Update page property value and verify update displays in `#ask` and `#show` query results\r\n- [ ] Update subobject property value and verify update with \"browse properties\"\r\n- [ ] Update subobject property value and verify update displays in `#ask` and `#show` query results\r\n- [ ] More?\r\n\r\n#### Considerations for future improvement\r\n* See [This documentation](https://www.mediawiki.org/wiki/Flow/Converting_talk_pages) regarding conversion of existing discussion pages.\r\n* [Extension:CLDR](https://www.mediawiki.org/wiki/Extension:CLDR) supposedly adds more friendly time references, but I haven't messed with it\r\n* [Extension:EventLogging](https://www.mediawiki.org/wiki/Extension:EventLogging) can be used for analytics\r\n* The settings in ExtensionSettings can be modified to enable Flow where we want. I just picked these options for now to start testing use of Flow with our wikis.\r\n* These same settings reference `CONTENT_MODEL_FLOW_BOARD`, which throws a warning during updateExtensions.php. I'm not sure how best to address this, but it seems to install and function fine.\r\n\r\n#### Reference\r\n* [Tutorial](http://www.if-not-true-then-false.com/2010/install-memcached-on-centos-fedora-red-hat/)"},"comment":{"url":"https://api.github.com/repos/enterprisemediawiki/meza/issues/comments/151574404","html_url":"https://github.com/enterprisemediawiki/meza/pull/236#issuecomment-151574404","issue_url":"https://api.github.com/repos/enterprisemediawiki/meza/issues/236","id":151574404,"user":{"login":"darenwelsh","id":6728676,"avatar_url":"https://avatars.githubusercontent.com/u/6728676?v=3","gravatar_id":"","url":"https://api.github.com/users/darenwelsh","html_url":"https://github.com/darenwelsh","followers_url":"https://api.github.com/users/darenwelsh/followers","following_url":"https://api.github.com/users/darenwelsh/following{/other_user}","gists_url":"https://api.github.com/users/darenwelsh/gists{/gist_id}","starred_url":"https://api.github.com/users/darenwelsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darenwelsh/subscriptions","organizations_url":"https://api.github.com/users/darenwelsh/orgs","repos_url":"https://api.github.com/users/darenwelsh/repos","events_url":"https://api.github.com/users/darenwelsh/events{/privacy}","received_events_url":"https://api.github.com/users/darenwelsh/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T17:15:38Z","updated_at":"2015-10-27T17:15:38Z","body":"I completed a successful install and basic tests of memcached and Flow on CentOS 7. I modified the launch date of SpX-10 on the EVA wiki and saw expected updates on the \"Browse Properties\" page as well as the \"Manifest\" tab of the footer for a piece of hardware on the up manifest for SpX-10."}}