Bug#502543: ITP: confget -- Utility to read variables from a configuration file - Debian

This is a discussion on Bug#502543: ITP: confget -- Utility to read variables from a configuration file - Debian ; Package: wnpp Severity: wishlist Owner: Peter Pentchev * Package name : confget Version : 1.00 Upstream Author : Peter Pentchev * URL : http://devel.ringlet.net/textproc/confget/ * License : Two-clause BSD Programming Lang: C Description : Utility to read variables from a ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: Bug#502543: ITP: confget -- Utility to read variables from a configuration file

  1. Bug#502543: ITP: confget -- Utility to read variables from a configuration file

    Package: wnpp
    Severity: wishlist
    Owner: Peter Pentchev


    * Package name : confget
    Version : 1.00
    Upstream Author : Peter Pentchev
    * URL : http://devel.ringlet.net/textproc/confget/
    * License : Two-clause BSD
    Programming Lang: C
    Description : Utility to read variables from a configuration file

    The confget utility examines a INI-style configuration file and retrieves
    the value of the specified variables from the specified section.
    Its intended use is to let shell scripts use the same INI-style
    configuration files as other programs, to avoid duplication of data.

    The confget utility may retrieve the values of one or more variables,
    list all the variables in a specified section, list only those whose
    names or values match a specified pattern (shell glob or regular
    expression), or check if a variable is present in the file at all.
    It has a "shell-quoting" output mode that quotes the variable values in
    a way suitable for passing them directly to a Bourne-style shell.

    I actually have a pretty-much ready package of confget, listed at
    the webpage above; all it needs is a change of description, a coalescing
    of the changelog entries, and it should be ready to go.

    -- System Information:
    Debian Release: lenny/sid
    APT prefers testing
    APT policy: (990, 'testing')
    Architecture: i386 (i686)

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.9 (FreeBSD)

    iEYEARECAAYFAkj4sTEACgkQ7Ri2jRYZRVN7UgCfbSK67iBBsV 4j0OkBuYd9cBwH
    vMYAoLqVORWkAVs3eT9R+pM9SZBT+O5A
    =OvXX
    -----END PGP SIGNATURE-----


  2. Bug#502543: ITP: confget -- Utility to read variables from a configuration file

    * Peter Pentchev [Fri, 17 Oct 2008 18:37:21 +0300]:

    > Description : Utility to read variables from a configuration file


    Please mention "INI-style" in the short description, eg.:

    Description : Utility to read variables from an INI-style configuration file

    Thanks,

    --
    Adeodato Simó dato at net.com.org.es
    Debian Developer adeodato at debian.org

    — Oh, George, you didn't jump into the river. How sensible of you!
    -- Mrs Banks in “Mary Poppins”




    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  3. Bug#502543: ITP: confget -- Utility to read variables from a configuration file

    On Fri, Oct 17, 2008 at 05:48:02PM +0200, Adeodato Sim?? wrote:
    > * Peter Pentchev [Fri, 17 Oct 2008 18:37:21 +0300]:
    >
    > > Description : Utility to read variables from a configuration file

    >
    > Please mention "INI-style" in the short description, eg.:
    >
    > Description : Utility to read variables from an INI-style configuration file


    Well, I will - for this version - but part of the idea behind confget is
    that it will eventually grow the ability to read config files in other
    formats. I had my sights set on Java property files, but it turned out
    they were... a bit complicated, what with Unicode, quoting, and such,
    so I left them out of 1.00.

    But - okay, actually it seems like a good idea to mention INI in
    the short description. Thanks!

    G'luck,
    Peter

    --
    Peter Pentchev roam@ringlet.net roam@cnsys.bg roam@FreeBSD.org
    PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
    Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553
    This sentence every third, but it still comprehensible.

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.9 (FreeBSD)

    iEYEARECAAYFAkj4uOUACgkQ7Ri2jRYZRVMcuwCguPmL2w7fyJ PU2P/pNoXUu4gh
    vCwAoJCQv2wV+UW6Z+YBlXj37NuchYBV
    =weTt
    -----END PGP SIGNATURE-----


  4. Bug#502543: ITP: confget -- Utility to read variables from a configuration file

    Peter Pentchev writes:

    > On Fri, Oct 17, 2008 at 05:48:02PM +0200, Adeodato Sim?? wrote:
    >> * Peter Pentchev [Fri, 17 Oct 2008 18:37:21 +0300]:
    >>
    >> > Description : Utility to read variables from a configuration file

    >>
    >> Please mention "INI-style" in the short description, eg.:
    >>
    >> Description : Utility to read variables from an INI-style configuration file

    >
    > Well, I will - for this version - but part of the idea behind confget is
    > that it will eventually grow the ability to read config files in other
    > formats. I had my sights set on Java property files, but it turned out
    > they were... a bit complicated, what with Unicode, quoting, and such,
    > so I left them out of 1.00.


    Then, you might want to consider Augeas for this purpose (Debian
    package are already available).

    Augeas has the ability to read and write INI files (and other files as
    well)

    See http://augeas.net for details

    HTH

    --
    Dominique Dumont
    "Delivering successful solutions requires giving people what they
    need, not what they want." Kurt Bittner



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

+ Reply to Thread