[MacPorts] SummerOfCode modified

MacPorts noreply at macports.org
Sat May 17 04:29:06 PDT 2014


Page "SummerOfCode" was changed by shasha at macports.org
Diff URL: <https://trac.macports.org/wiki/SummerOfCode?action=diff&version=240>
Revision 240
Comment: added list of interactive cases
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: SummerOfCode
=========================================================================
--- SummerOfCode (version: 239)
+++ SummerOfCode (version: 240)
@@ -251,7 +251,22 @@
 
 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 conflicts with something already installed, it could ask if you want to deactivate the installed one and its dependents.
+An interactive tool would ask for user input to resolve many situations that cause port(1) to simply error out. 
+All the suggested interactivity use cases are listed below-
+1. 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.
+2. When trying to install a port but one of the files installed by this port is already present, ask the user whether the file should be
+   overwritten.
+3. When a user tries to install a port, display a list of ports that will be installed as dependencies and ask for confirmation (unless
+   there aren't any dependencies to be installed), like apt-get does.
+4. Asking for permission in a situation where uninstalling a package will break another package that's still installed and depends on   
+   the to-be-uninstalled package.
+5. When installing a port that requires a dependency to have a certain variant, but this variant is not set. Ask the user if it should  
+   reinstall the dependency with that variant.
+6. When activate is ambiguous, present a list of installed ports for the user to choose from.
+7. Ask user before rebuilding in rev-upgrade.
+8. When a user uninstalls a port using --follow-dependencies, the list of dependencies will be displayed and the user will be asked for  
+   confirmation.
 
 * Difficulty: Medium
 * Languages: Tcl, C
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/SummerOfCode>
MacPorts <http://www.macports.org/>
Ports system for OS X

This is an automated message. Someone added your email address to be
notified of changes on 'SummerOfCode' page.
If it was not you, please report to .


More information about the macports-changes mailing list