= 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''' || || [wiki:SummerOfCode2014#pip2port Read packages from pip] || [wiki:gaurav Gaurav Bansal] || [wiki:pixilla Bradley Giesbrecht] || || [wiki:SummerOfCode2014#cleanup Project Clean-up Stuff] || [wiki:ksammons Kyle Sammons] || [wiki:michaelld Michael Dickens] || || [wiki:SummerOfCode2014#interactive Interactive Port Command] || [wiki:shasha Shashwat Pandey] || [wiki:raimue Rainer Mueller] || ==== Read packages from Python's PIP (pip2port) ==== #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 [[browser:contrib/cpan2port/cpan2port|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 [[browser:contrib/portfile-gen/portfile-gen|portfile generator]] might be helpful. * Difficulty: Medium * Languages: Tcl, Python, C * Potential mentors: snc Project RoadMap : [wiki:SummerOfCode2014_pypi2port Roadmap] ==== Interactive port command ==== #interactive 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 [wiki:SummerOfCode2014_interactive here]. ==== Project Clean-up Stuff ==== #cleanup 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.