Ticket #1062 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

cave show should display values for non-boolean options

Reported by: pipping Owned by:
Priority: Sometime Milestone:
Component: clients/cave Version: scm
Keywords: Cc:
Blocked By: Blocking:
Distribution: Exherbo

Description (last modified by pipping) (diff)

01:47 < pipping> ciaranm: `cave show` shows active options in green and inactive options in red
01:48 < pipping> ciaranm: it shows build_options: jobs in green
01:48 < pipping> ciaranm: shouldn't it rather display the value?
11:46 < ciaranm> pipping: it doesn't show the value at all?
16:42 < pipping> ciaranm: it doesn't show the value at all
16:46 < ciaranm> pipping: mmm. ticket that please/

Sample:

This shows build_options: jobs as active, but not its value

pipping@bogus ~ $ cave show bash::arbor
* app-shells/bash::arbor
    ::arbor                   4.0_p35 4.1_p9* {:0}
    app-shells/bash-4.1_p9:0::arbor
        Homepage              http://www.gnu.org/software/bash/
        Summary               Bash shell
        Description           Bash is the shell, or command language interpreter, that will appear in the GNU operating system. Bash is an sh-compatible shell that incorporates useful features from the Korn shell (ksh) and C shell (csh). It is intended to conform to the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard. It offers functional improvements over sh for both programming and interactive use. In addition, most sh scripts can be run by Bash without modification.
        Options               
            Build Options     
                recommended_tests Run tests considered by the package to be recommended
                split         Split debugging information out from binaries and libraries before installation
                strip         Strip binaries and libraries before installation
                jobs          Set with an integer value to specify how many jobs the package's build system should use, where supported
                -trace        Trace actions executed by the package (very noisy, for debugging broken builds only)
                -preserve_work Do not remove build directories, and do not modify the image when merging
        Overridden Masks
            Supported platforms ~amd64 ~arm ~ia64 ~ppc64 ~x86

pipping@bogus ~ $

cave resolve shows the value

pipping@bogus ~ $ cave resolve bash::arbor
Done: 507 steps               

These are the actions I will take, in order:

r   app-shells/bash:0::arbor 4.1_p9 to ::installed replacing 4.1_p9
    build_options: recommended_tests split strip jobs=2 -trace -preserve_work
    Reasons: target

Total: 1 reinstalls

Executing pretend actions: 1 of 1

 * No unread news items found
pipping@bogus ~ $

Change History

comment:1 Changed 9 years ago by pipping

Should've used code blocks. Repasting everything so it's actually readable:

pipping@bogus ~ $ cave show bash::arbor
* app-shells/bash::arbor
    ::arbor                   4.0_p35 4.1_p9* {:0}
    app-shells/bash-4.1_p9:0::arbor
        Homepage              http://www.gnu.org/software/bash/
        Summary               Bash shell
        Description           Bash is the shell, or command language interpreter, that will appear in the GNU operating system. Bash is an sh-compatible shell that incorporates useful features from the Korn shell (ksh) and C shell (csh). It is intended to conform to the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard. It offers functional improvements over sh for both programming and interactive use. In addition, most sh scripts can be run by Bash without modification.
        Options               
            Build Options     
                recommended_tests Run tests considered by the package to be recommended
                split         Split debugging information out from binaries and libraries before installation
                strip         Strip binaries and libraries before installation
                jobs          Set with an integer value to specify how many jobs the package's build system should use, where supported
                -trace        Trace actions executed by the package (very noisy, for debugging broken builds only)
                -preserve_work Do not remove build directories, and do not modify the image when merging
        Overridden Masks
            Supported platforms ~amd64 ~arm ~ia64 ~ppc64 ~x86

pipping@bogus ~ $ cave resolve bash::arbor
Done: 507 steps               

These are the actions I will take, in order:

r   app-shells/bash:0::arbor 4.1_p9 to ::installed replacing 4.1_p9
    build_options: recommended_tests split strip jobs=2 -trace -preserve_work
    Reasons: target

Total: 1 reinstalls

Executing pretend actions: 1 of 1

 * No unread news items found
pipping@bogus ~ $ 

comment:2 Changed 9 years ago by pipping

  • Description modified (diff)

comment:3 Changed 9 years ago by ciaranm

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.