Changes between Version 3 and Version 8 of Ticket #21082


Ignore:
Timestamp:
10/25/16 17:32:16 (5 years ago)
Author:
mkoeppe
Comment:

All features described are now implemented. Ready for review.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21082

    • Property Status changed from new to needs_review
    • Property Authors changed from to Erik Bray, Matthias Koeppe
    • Property Branch changed from u/embray/ticket-20884-squashed to u/mkoeppe/ticket-20884-squashed
    • Property Commit changed from 035e1d8e972d15f50229869da42fe669e9abc35e to 787b962cc08a85c2a6d51508214774eda4c6ffe7
  • Ticket #21082 – Description

    v3 v8  
    33 - #21539 positive_review enhancement: make V=0 should silence the build --- which solved the 'buffered prompting problem' by using `/dev/tty`
    44
    5 For non-interactive installs of experimental packages, we should add options `-y` ("yes"), `-n` ("no") that get rid of prompting.
     5This ticket adds options `-y` ("yes"), `-n` ("no") that get rid of user prompting for non-interactive installs of experimental/old-style packages.
    66
    7 Also if there is no controlling terminal, then `-n` should be implied. (On Linux, this situation can be tested [http://unix.stackexchange.com/questions/68574/invoke-a-command-script-disconnected-from-the-controlling-terminal by using `setsid`].)
     7Also if there is no controlling terminal, then `-n` is implied for experimental packages and `-y` is implied for old-style optional packages. (On Linux, this situation can be tested [http://unix.stackexchange.com/questions/68574/invoke-a-command-script-disconnected-from-the-controlling-terminal by using `setsid`] or by using ssh without the `-t` option.)
    88
    9 The branch on the ticket has some code in this direction, but it's not complete.
     9The ticket changes the exit status from 0 to 1 if the user declines to install the package. Previously, the system would record a successful installation in `$SAGE_LOCAL/var/lib/sage/installed/`.
    1010
    11 Also, this needs to be documented - #20937.
     11Moreover, for experimental packages, `sage -info` no longer warns/prompts.
     12Instead, the package type is simply printed. None of our packages is so dangerous that merely viewing the SPKG.txt will cause harm.
     13
     14
     15