Changes between Version 3 and Version 4 of SummerOfCode2014


Ignore:
Timestamp:
May 18, 2014, 9:45:14 PM (10 years ago)
Author:
shasha@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SummerOfCode2014

    v3 v4  
    3838Write 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.
    3939
    40 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.
     40An interactive tool would ask for user input to resolve many situations that cause port(1) to simply error out.
     41
     42All the suggested interactivity use cases are listed below-
     43
     441. If you try to install a port and one of its dependencies conflict with something already installed, it could ask if you want to
     45   deactivate the installed one and its dependents and reactivate them after the build.
     462. 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
     47   overwritten.
     483. When a user tries to install a port, display a list of ports that will be installed as dependencies and ask for confirmation (unless
     49   there aren't any dependencies to be installed), like apt-get does.
     504. Asking for permission in a situation where uninstalling a package will break another package that's still installed and depends on   
     51   the to-be-uninstalled package.
     525. 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 
     53   reinstall the dependency with that variant.
     546. When activate is ambiguous, present a list of installed ports for the user to choose from.
     557. Ask user before rebuilding in rev-upgrade.
     568. When a user uninstalls a port using --follow-dependencies, the list of dependencies will be displayed and the user will be asked for 
     57   confirmation.
    4158
    4259* Difficulty: Medium