On Sun, Dec 02, 2012 at 11:58:00PM +0100, Vincent Lefevre wrote:
Wrong. Nested blocks make config files easier to understand. Otherwise
for the same feature (e.g. conditionals), one would need things like
horrible state variables. For instance, think about redesigning a
procmailrc with the ini
On Dec 02, 2012, at 04:22 PM, Игорь Пашев wrote:
2012/12/2 Vincent Lefevre vinc...@vinc17.net:
No, that's not sufficient. You may want relations between key-value
pair. For instance, if you have a line with a key foo, then a line
with a key bar must also exist. Or a line with a key number must
On 2012-12-01 10:16:54 +0100, Wouter Verhelst wrote:
On Fri, Nov 30, 2012 at 02:18:04AM +0100, Vincent Lefevre wrote:
At least for Perl, I can't see anything related to validation.
That's because validating an ini file is trivially easy:
the line is a comment line, which must start with a
2012/12/2 Vincent Lefevre vinc...@vinc17.net:
No, that's not sufficient. You may want relations between key-value
pair. For instance, if you have a line with a key foo, then a line
with a key bar must also exist. Or a line with a key number must
have a value that is a number (more generally
On Sun, Dec 02, 2012 at 12:31:00PM +0100, Vincent Lefevre wrote:
On 2012-12-01 10:16:54 +0100, Wouter Verhelst wrote:
On Fri, Nov 30, 2012 at 02:18:04AM +0100, Vincent Lefevre wrote:
At least for Perl, I can't see anything related to validation.
That's because validating an ini file is
On 2012-12-02 22:04:52 +0100, Wouter Verhelst wrote:
On Sun, Dec 02, 2012 at 12:31:00PM +0100, Vincent Lefevre wrote:
On 2012-12-01 10:16:54 +0100, Wouter Verhelst wrote:
On Fri, Nov 30, 2012 at 02:18:04AM +0100, Vincent Lefevre wrote:
At least for Perl, I can't see anything related to
On Thu, Nov 29, 2012 at 08:37:19AM -0800, Kelly Clowers wrote:
On Thu, Nov 29, 2012 at 7:23 AM, Vincent Lefevre vinc...@vinc17.net wrote:
And interfaces in various programming languages?
http://docs.python.org/2/library/configparser.html
On Fri, Nov 30, 2012 at 02:18:04AM +0100, Vincent Lefevre wrote:
On 2012-11-29 08:37:19 -0800, Kelly Clowers wrote:
On Thu, Nov 29, 2012 at 7:23 AM, Vincent Lefevre vinc...@vinc17.net wrote:
And interfaces in various programming languages?
On Sun, 25 Nov 2012 13:06:23 -0200, Henrique de Moraes Holschuh
h...@debian.org wrote:
And this is not a systemd
issue, even git uses that crap instead of something better like xml,
or simpler, like the hierarchical format used by apt that resembles
C++ classes.
Are there ready-made perl, python
Vincent Lefevre vinc...@vinc17.net writes:
No, you don't have the structure from the XML point of view.
I've seen this in production. We use XML? Check!
--
Stig Sandbeck Mathisen
--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble?
On Mon, Nov 26, 2012 at 05:00:14PM +0100, Vincent Lefevre wrote:
On 2012-11-26 07:27:08 +0900, Norbert Preining wrote:
Ever heard of
grep, sed, awk,
all these nice things that make your life happy.
These tools are broken when dealing with multibyte characters.
No they're not.
On 2012-11-29 15:46:35 +0100, Wouter Verhelst wrote:
On Mon, Nov 26, 2012 at 05:00:14PM +0100, Vincent Lefevre wrote:
On 2012-11-26 07:27:08 +0900, Norbert Preining wrote:
Ever heard of
grep, sed, awk,
all these nice things that make your life happy.
These tools are broken
On Thu, Nov 29, 2012 at 04:23:03PM +0100, Vincent Lefevre wrote:
The default .subversion/config file is a piece of documentation, not a
configuration file. I agree that there's far too much noise in there.
However, that's not a flaw of the format, it's a flaw of the subversion
default
On 2012-11-29 21:33:37 +0600, Andrey Rahmatullin wrote:
On Thu, Nov 29, 2012 at 04:23:03PM +0100, Vincent Lefevre wrote:
The default .subversion/config file is a piece of documentation, not a
configuration file. I agree that there's far too much noise in there.
However, that's not a flaw
On Thu, Nov 29, 2012 at 7:23 AM, Vincent Lefevre vinc...@vinc17.net wrote:
And interfaces in various programming languages?
http://docs.python.org/2/library/configparser.html
http://search.cpan.org/~shlomif/Config-IniFiles-2.78/lib/Config/IniFiles.pm
https://rubygems.org/gems/inifile
Kelly Clowers, 2012-11-29 08:37:19 -0800 :
[...]
And command-line tools?
An editor with syntax highlighting?
Other than that, I don't know of any, but do you really need it with
ini? For a specific purpose, you could probably whip something up
pretty fast with one of the libraries...
For
On Thu, Nov 29, 2012 at 04:23:03PM +0100, Vincent Lefevre wrote:
On 2012-11-29 15:46:35 +0100, Wouter Verhelst wrote:
But it will in a UTF8 locale,
Unfortunately the C locale is the only really portable one.
Debian's glibc has C.UTF-8 always available these days.
or in an ISO-8859-1
Vincent Lefevre vinc...@vinc17.net writes:
It is more verbose, but I find it as readable (if you have characters
that normally need to be escaped, you can still use CDATA sections,
which is a way to keep the readability).
So to keep everyone equally happy, we need:
config
![CDATA[
[section1]
On Thu, Nov 29, 2012 at 09:25:50PM +0100, Stig Sandbeck Mathisen wrote:
Vincent Lefevre vinc...@vinc17.net writes:
It is more verbose, but I find it as readable (if you have characters
that normally need to be escaped, you can still use CDATA sections,
which is a way to keep the
On Thu, Nov 29, 2012 at 09:25:50PM +0100, Stig Sandbeck Mathisen wrote:
Vincent Lefevre vinc...@vinc17.net writes:
It is more verbose, but I find it as readable (if you have characters
that normally need to be escaped, you can still use CDATA sections,
which is a way to keep the
❦ 29 novembre 2012 17:58 CET, Roland Mas lola...@debian.org :
And command-line tools?
An editor with syntax highlighting?
Other than that, I don't know of any, but do you really need it with
ini? For a specific purpose, you could probably whip something up
pretty fast with one of the
On 2012-11-29 18:08:05 +0100, Adam Borowski wrote:
On Thu, Nov 29, 2012 at 04:23:03PM +0100, Vincent Lefevre wrote:
On 2012-11-29 15:46:35 +0100, Wouter Verhelst wrote:
But it will in a UTF8 locale,
Unfortunately the C locale is the only really portable one.
Debian's glibc has
On 2012-11-29 21:25:50 +0100, Stig Sandbeck Mathisen wrote:
So to keep everyone equally happy, we need:
config
![CDATA[
[section1]
key1=val1
key2=val2
key3=♬♫♩♩♫
[section2]
foo=bar
]]
/config
Structure _and_ readability.
No, you don't have the structure from the XML point of
On 2012-11-29 08:37:19 -0800, Kelly Clowers wrote:
On Thu, Nov 29, 2012 at 7:23 AM, Vincent Lefevre vinc...@vinc17.net wrote:
And interfaces in various programming languages?
http://search.cpan.org/~shlomif/Config-IniFiles-2.78/lib/Config/IniFiles.pm
At least for Perl, I can't see anything
On Mon, 2012-11-26 at 07:27, Norbert Preining wrote:
On So, 25 Nov 2012, Henrique de Moraes Holschuh wrote:
[crap]
foo = bar
...
issue, even git uses that crap instead of something better like xml,
??? Sorry, are you realistically proposing a convolutive pile of shit
like XML for
On 2012-11-26 07:27:08 +0900, Norbert Preining wrote:
Ever heard of
grep, sed, awk,
all these nice things that make your life happy.
These tools are broken when dealing with multibyte characters.
For instance, with:
foo = aéb
a grep 'a.b' file will find nothing in the C locale.
On Sun, 25 Nov 2012 17:16:09 +0100
Guillem Jover guil...@debian.org wrote:
On Sun, 2012-11-25 at 23:30:01 +0800, Chow Loong Jin wrote:
[...] and the hierarchical format
that apt uses doesn't have a readily-usable parser outside of apt
(at least not that I know of).
W/o getting into the
On Sat, Nov 24, 2012 at 08:43:07PM +0200, Andrej N. Gritsenko wrote:
Hello!
Carlos Alberto Lopez Perez has written on Saturday, 24 November, at 19:20:
FYI, Yet another episode of the Linux init drama:
https://wiki.ubuntu.com/FoundationsTeam/Specs/RaringUpstartUserSessions
On Sun, Nov 25, 2012 at 10:48:27PM +1300, Chris Bannister wrote:
https://lists.linuxaudio.org/mailarchive/lau/2012/11/21/194431
There is a rather bad smell regarding all this.
None of the systemd advocates ever mentioned for example the real
reason why it uses such an ugly configuration
On Sun, 25 Nov 2012, John Paul Adrian Glaubitz wrote:
On Sun, Nov 25, 2012 at 10:48:27PM +1300, Chris Bannister wrote:
https://lists.linuxaudio.org/mailarchive/lau/2012/11/21/194431
There is a rather bad smell regarding all this.
None of the systemd advocates ever mentioned for example
On Sun, 2012-11-25 at 13:06 -0200, Henrique de Moraes Holschuh wrote:
On Sun, 25 Nov 2012, John Paul Adrian Glaubitz wrote:
On Sun, Nov 25, 2012 at 10:48:27PM +1300, Chris Bannister wrote:
https://lists.linuxaudio.org/mailarchive/lau/2012/11/21/194431
There is a rather bad smell
On 25/11/2012 23:06, Henrique de Moraes Holschuh wrote:
The:
[crap]
foo = bar
format for config files is widely despised. And this is not a systemd
issue, even git uses that crap instead of something better like xml,
or simpler, like the hierarchical format used by apt that resembles
* Henrique de Moraes Holschuh h...@debian.org, 2012-11-25, 13:06:
The:
[crap]
foo = bar
format for config files is widely despised. And this is not a systemd
issue, even git uses that crap instead of something better like xml, or
simpler, like the hierarchical format used by apt that
On Sun, 2012-11-25 at 23:30:01 +0800, Chow Loong Jin wrote:
[...] and the hierarchical format
that apt uses doesn't have a readily-usable parser outside of apt (at
least not that I know of).
W/o getting into the debate of what format is better or nicer, the
configuration format from which
On Sun, Nov 25, 2012 at 04:48:04PM +0100, Jakub Wilk wrote:
* Henrique de Moraes Holschuh h...@debian.org, 2012-11-25, 13:06:
The:
[crap]
foo = bar
format for config files is widely despised. And this is not a
systemd issue, even git uses that crap instead of something better
like xml,
On So, 25 Nov 2012, Henrique de Moraes Holschuh wrote:
[crap]
foo = bar
...
issue, even git uses that crap instead of something better like xml,
??? Sorry, are you realistically proposing a convolutive pile of shit
like XML for simple config files?
I will send *each*and*every* bug report due
FYI, Yet another episode of the Linux init drama:
https://wiki.ubuntu.com/FoundationsTeam/Specs/RaringUpstartUserSessions
https://plus.google.com/115547683951727699051/posts/ZZWLtq6tYdn
signature.asc
Description: OpenPGP digital signature
Hello!
Carlos Alberto Lopez Perez has written on Saturday, 24 November, at 19:20:
FYI, Yet another episode of the Linux init drama:
https://wiki.ubuntu.com/FoundationsTeam/Specs/RaringUpstartUserSessions
https://plus.google.com/115547683951727699051/posts/ZZWLtq6tYdn
It is only me
On Sat, Nov 24, 2012 at 07:20:02PM +0100, Carlos Alberto Lopez Perez wrote:
https://wiki.ubuntu.com/FoundationsTeam/Specs/RaringUpstartUserSessions
This is actually going to be very interesting to see if they are able
to extend upstart in such a way that they can use it for session
management
On Sat, Nov 24, 2012 at 08:17:35PM +0100, John Paul Adrian Glaubitz wrote:
On Sat, Nov 24, 2012 at 07:20:02PM +0100, Carlos Alberto Lopez Perez wrote:
https://wiki.ubuntu.com/FoundationsTeam/Specs/RaringUpstartUserSessions
This is actually going to be very interesting to see if they are able
John Paul Adrian Glaubitz glaub...@physik.fu-berlin.de writes:
On Sat, Nov 24, 2012 at 08:17:35PM +0100, John Paul Adrian Glaubitz wrote:
By making use of a Linux-specific prctl(2) call, we effectively tie
Upstart to systems running with a Linux kernel. This is a major
restriction, but
On Sat, 2012-11-24 at 20:29:51 +0100, John Paul Adrian Glaubitz wrote:
While reading a bit on it, I found this passage:
On Sat, Nov 24, 2012 at 08:17:35PM +0100, John Paul Adrian Glaubitz wrote:
By making use of a Linux-specific prctl(2) call, we effectively tie
Upstart to systems running
On Sat, Nov 24, 2012 at 10:28:46PM +0100, Guillem Jover wrote:
waitid is supported on FreeBSD.
Are you sure? According to their status page [1] it's not yet fully
implemented. The page is dated to last October.
Adrian
[1] http://www.freebsd.org/projects/c99/index.html
--
.''`. John Paul
On Sat, 2012-11-24 at 22:46:29 +0100, John Paul Adrian Glaubitz wrote:
On Sat, Nov 24, 2012 at 10:28:46PM +0100, Guillem Jover wrote:
waitid is supported on FreeBSD.
Are you sure? According to their status page [1] it's not yet fully
implemented. The page is dated to last October.
On Sat, Nov 24, 2012 at 08:29:51PM +0100, John Paul Adrian Glaubitz wrote:
On Sat, Nov 24, 2012 at 08:17:35PM +0100, John Paul Adrian Glaubitz wrote:
On Sat, Nov 24, 2012 at 07:20:02PM +0100, Carlos Alberto Lopez Perez wrote:
45 matches
Mail list logo