Menu

#6 Make possible to configure the program via ~/.porttree file

M1
Fixed
Usability (9)
Low
Enhancement
2019-06-19
2011-11-22
Anonymous
No

Originally created by: Vladimir.Chukharev@gmail.com
Originally owned by: Vladimir.Chukharev@gmail.com

The program starts to have too many options and parameters. It seems useful to read in user's home directory a config file if that exists, e.g. ~/.porttree

For now, simply same options could be placed in the config file.

The command line options are to be read afterwards, in order to overwrite the defaults and the config file values.

Discussion

  • Vladimir Chukharev

    • Description has changed:

    Diff:

    
    
    • assigned_to: Vladimir Chukharev
    • Component: -->
    • Milestone: --> M1
     
  • Vladimir Chukharev

    • status: Accepted --> Started
     
  • Vladimir Chukharev

    Started in [r89]. Still needs documentation, a new dependence in the FreeBSD port, and tests.

     

    Related

    Commit: [r89]

  • Vladimir Chukharev

    • status: Started --> Fixed
     
  • Vladimir Chukharev

    The config files work. They caused some, now solved, problems for tests. The use is auto-documented in usage and help messages.
    More tests will be added when options will be more stable, since now they need reorganization.
    Close.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.