About


The MacPorts web application:
  1. Displays general information about all the ports.
  2. Fetches and displays build history of the ports.
  3. Collects and displays installation statistics (system configurations and installed ports) from users who opt-in by installing the port mpstats.
  4. Makes available all the collected data through API.

Credits


The MacPorts Webapp was written by Arjun Salyan as a Google Summer of Code 2019 project, mentored by Mojca Miklavec and Umesh Singla

The current version of the Ports website was released during Google Summer of Code 2020. This was a major upgrade which provided additional features and UI enhancements (read report). GSoC 2020 student was Arjun Salyan and project was mentored by Mojca Miklavec, Amar Takhar and Rajdeep Bharati.

The server is administered by Arjun Salyan.

History

The first MacPorts statistics web application and the initial client were written by Derek Ingrouville as a Google Summer of Code 2011 project. Some documentation for the source written in GSoC can be found in the Wiki. The source code for the server is available in MacPorts' Subversion repository at /branches/gsoc11-statistics.

Technologies


The web application is based on the Django Framework and utilises a PostgreSQL database. It runs inside a Docker container with nginx and uWSGI serving the content.

Dependencies


The app is dependent on the following: