Summer of Code 2014

This page is dedicated to the projects accepted into Google SoC 2014, here's a list of accepted projects:

Project Student Mentor
Read packages from pip Gaurav Bansal Bradley Giesbrecht
Project Clean-up Stuff Kyle Sammons Michael Dickens
Interactive Port Command Shashwat Pandey Rainer Mueller

Read packages from Python's PIP (pip2port)

MacPorts should be able to more readily install python packages from pip. We don't want to integrate the build/installation process of PIP, simply parse information or eggs it provides for various packages. This information will then be used to generate a Portfile, akin to cpan2port.

There may be instances where MacPorts package names don't match up with pip’s. In this case, pip should be the authority and all improperly named MacPorts packages should be replaced by a renamed copy. Verbose automation of this step, akin to the portcheckup script, is ideal.

The portfile generator might be helpful.

  • Difficulty: Medium
  • Languages: Tcl, Python, C
  • Potential mentors: snc

Project RoadMap : Roadmap

Interactive port command

Write an interactive command-line tool that can be used instead of the non-interactive port(1). (The existing "interactive mode" of port(1) is actually just batch mode reading from stdin, and is not really interactive.) Factor out code used by both tools into a shared module.

An interactive tool would ask for user input to resolve many situations that cause port(1) to simply error out. For example - If you try to install a port and one of its dependencies conflict with something already installed, it could ask if you want to deactivate the installed one and its dependents and reactivate them after the build.

  • Difficulty: Medium
  • Languages: Tcl, C
  • Potential mentors: TBD

More details about the project here.

Project Clean-up Stuff

The plans for this project are to combine the ideas of "Reclaim Disk Space" and "Configuration and Environment Selftest". This involves adding a "brew doctor"-esque command which will look for common issues such as a port that is known to cause issues, multiple versions of the same library, not having the correct dependency installed, or any other common issue and then report all found to the user. It also involves improving the already implemented "port clean" command to be able to delete and clear out more disk space than it currently is able to by deleting distribution files from a certain version of an application, removing distribution files currently not needed/in use, deleting/uninstalling ports that are no longer in use, or any other way possible.

Last modified 3 years ago Last modified on Aug 16, 2014, 7:01:24 AM