<div dir="auto"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>I am working on the web app to collect build and installation statistics and show information about ports, maintainers etc.</div><div><br></div><div>Repository: <a href="https://github.com/macports/macports-webapp" target="_blank" rel="noreferrer">https://github.com/macports/macports-webapp</a></div><div><br></div><div>We have deployed a demo on Heroku: <a href="https://frozen-falls-98471.herokuapp.com" target="_blank" rel="noreferrer">https://frozen-falls-98471.herokuapp.com</a> . Any feedback and feature requests on this are very welcome.</div><div><br></div><div>Currently we are working on build history and port information. Port information is fetched from Portindex after converting it to JSON using portindex2json.tcl and build history is fetched from JSON API of buildbot, it is planned to be kept updated using HttPStatusPush reporter on Buildbot.</div><div><br></div><div>Keeping the port informtation up-to-date is a challenge given the large size of the portindex. We are looking at two aspects:</div><div>- Incremental updates using difference between two port indices [1]</div><div>- Full updates to completely sync the database with latest portindex</div><div><br></div><div>Full updates are dead slow on an Amazon RDS free tier instance, and probably it won't be feasible on any externally hosted database. On a local database, full updates take more than 5 minutes.</div><div dir="auto"><br></div><div dir="auto">For installation statistics, we have setup a temporary port (mpstats-gsoc) which would submit stats to the demo app. This is important becuase it would give us enough data to write proper views and do testing. Please consider installing mpstats-gsoc.</div><div dir="auto"><br></div><div dir="auto">We are looking to deploy the app on MacPorts' server and host it on a <a href="http://macports.org">macports.org</a> subdomain using Docker.</div><div dir="auto"><br></div><div>Thank you for your time, any suggestions would be very helpful.</div><div dir="auto"><br></div><div dir="auto">[1] <a href="https://github.com/macports/macports-base/pull/121">https://github.com/macports/macports-base/pull/121</a></div><div dir="auto"><br></div><div dir="auto">Arjun</div></div></div></div></div></div>