Thread View: news.software.nntp
8 messages
8 total messages
Started by D. Stussy
Wed, 03 Feb 2010 02:18
Bogus error messages in innfeed.
Author: D. Stussy
Date: Wed, 03 Feb 2010 02:18
Date: Wed, 03 Feb 2010 02:18
23 lines
2113 bytes
2113 bytes
I've mentioned this before. Innfeed flags certain things missing from the
configuration file as errors (saying "required") but then continues to run.
These things appear to be located mainly in 2 files:
subroutines validate(Integer|Real|Bool)
inn-2.5.1/innfeed/tape.c:434:
warn ("ME config: no definition for required key backlog-limit") ;
inn-2.5.1/innfeed/host.c:3815:
"ME config: no definition for required key %s",name)
;
inn-2.5.1/innfeed/host.c:3869:
"ME config: no definition for required key %s",name)
;
inn-2.5.1/innfeed/host.c:3920:
"ME config: no definition for required key %s",name)
;
If these things are really errors, then innfeed shouldn't run. Since it
runs, please remove these bogus warnings.
Re: Bogus error messages in innfeed.
Author: Julien ÉLIE
Date: Wed, 03 Feb 2010 19:54
Date: Wed, 03 Feb 2010 19:54
53 lines
3509 bytes
3509 bytes
Hi D. Stussy, > I've mentioned this before. Innfeed flags certain things missing from the > configuration file as errors (saying "required") but then continues to run. > > If these things are really errors, then innfeed shouldn't run. Since it > runs, please remove these bogus warnings. My response will not change from what I said in May 2009. I do not want to hack innfeed right now, especially when we say everywhere that the value must exist at global scope. If you do not want to have them at global scope, then you have to expect errors (even though innfeed works [and we have to be sure it works the way it is expected to]). [me] >>> ## >>> ## Defaults for all peers. These must all exist at >>> ## global scope. Any of them can be redefined >>> ## inside a peer or group definition. >>> ## >>> >>> Why wouldn't you want not to list it in innfeed.conf? >>> I believe the log is here to point out a possible problem in your >>> configuration; maybe default values are not the values you want. >>> >>> I do not know why the log is done this way (if I make the parameter >>> not required, it will still be logged that a missing value has been added!). [you] >> Yes, it does say that. However, it's not true. Innfeed continues with >> reasonable defaults. I am of the habit of not writing configuration files >> that include default values, so by habit, I omit them. Obviously, since it >> runs, they are NOT required. ;-) >> >> (If it were truly required, innfeed would abort if they were absent from >> the configuration.) [me] > I will have a look at it and try to improve the current system. [me again] I will not do anything about that right now. What innfeed.conf needs is a rewrite to use Russ' configuration parser (like inn.conf). It will then be far better and we will properly define what is required or not. -- Julien ÉLIE « Avez-vous remarqué qu'à table les mets que l'on vous sert vous mettent les mots à la bouche ? » (Raymond Devos)
Re: Bogus error messages in innfeed.
Author: D. Stussy
Date: Thu, 04 Feb 2010 22:39
Date: Thu, 04 Feb 2010 22:39
77 lines
3690 bytes
3690 bytes
"Julien ÉLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message news:hkck8r$d8a$1@news.trigofacile.com... > > I've mentioned this before. Innfeed flags certain things missing from the > > configuration file as errors (saying "required") but then continues to run. > > > > If these things are really errors, then innfeed shouldn't run. Since it > > runs, please remove these bogus warnings. > > My response will not change from what I said in May 2009. I was hoping you might have reconsidered. > I do not want to hack innfeed right now, especially when we say everywhere > that the value must exist at global scope. But as innfeed runs without defining them in innfeed.conf, there is no such requirement. > If you do not want to have them at global scope, then you have to expect > errors (even though innfeed works [and we have to be sure it works the > way it is expected to]). It's not that I don't have them at global scope. I don't have them AT ALL, and innfeed still runs. Therefore, they are NOT required, and as such, the log messages claiming that "a required value is missing" is a false message. > [me] > >>> ## > >>> ## Defaults for all peers. These must all exist at > >>> ## global scope. Any of them can be redefined > >>> ## inside a peer or group definition. > >>> ## > >>> > >>> Why wouldn't you want not to list it in innfeed.conf? Because there's no actual need to. > >>> I believe the log is here to point out a possible problem in your > >>> configuration; maybe default values are not the values you want. Right, but then such messages shouldn't call them "required." Required values have NO defaults. > >>> I do not know why the log is done this way (if I make the parameter > >>> not required, it will still be logged that a missing value has been added!). Programs should lie? > [you] > >> Yes, it does say that. However, it's not true. Innfeed continues with > >> reasonable defaults. I am of the habit of not writing configuration files > >> that include default values, so by habit, I omit them. Obviously, since it > >> runs, they are NOT required. ;-) > >> > >> (If it were truly required, innfeed would abort if they were absent from > >> the configuration.) > > [me] > > I will have a look at it and try to improve the current system. > > [me again] > I will not do anything about that right now. What innfeed.conf needs is > a rewrite to use Russ' configuration parser (like inn.conf). It will then > be far better and we will properly define what is required or not.
Re: Bogus error messages in innfeed.
Author: Julien ÉLIE
Date: Sat, 09 Jul 2011 18:52
Date: Sat, 09 Jul 2011 18:52
33 lines
2600 bytes
2600 bytes
Hi Dieter, > news:hkck8r$d8a$1@news.trigofacile.com >>> I've mentioned this before. Innfeed flags certain things missing >>> from the configuration file as errors (saying "required") but >>> then continues to run. >>> >>> If these things are really errors, then innfeed shouldn't run. >>> Since it runs, please remove these bogus warnings. >> >> My response will not change from what I said in May 2009. > > I was hoping you might have reconsidered. I think you will be happy to know that your issue has been reconsidered. You can thank Florian for having made me dive in the source code and our double-check of default values. > It's not that I don't have them at global scope. I don't have them AT ALL, > and innfeed still runs. Therefore, they are NOT required, and as such, the > log messages claiming that "a required value is missing" is a false > message. The new innfeed.conf sample shipped with INN 2.5.3 will be "empty" (all the existing parameters will be present, and commented out). -- Julien ÉLIE « Pour Rome, la direction importe peu, car tous les chemins y mènent. » (Astérix)
Re: Bogus error messages in innfeed.
Author: D. Stussy
Date: Sun, 10 Jul 2011 06:17
Date: Sun, 10 Jul 2011 06:17
34 lines
2563 bytes
2563 bytes
"Julien ÉLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message news:iva80n$u7u$1@news.trigofacile.com... > > news:hkck8r$d8a$1@news.trigofacile.com > >>> I've mentioned this before. Innfeed flags certain things missing > >>> from the configuration file as errors (saying "required") but > >>> then continues to run. > >>> > >>> If these things are really errors, then innfeed shouldn't run. > >>> Since it runs, please remove these bogus warnings. > >> > >> My response will not change from what I said in May 2009. > > > > I was hoping you might have reconsidered. > > I think you will be happy to know that your issue has been reconsidered. > You can thank Florian for having made me dive in the source code and our > double-check of default values. > > > > > It's not that I don't have them at global scope. I don't have them AT ALL, > > and innfeed still runs. Therefore, they are NOT required, and as such, the > > log messages claiming that "a required value is missing" is a false > > message. > > The new innfeed.conf sample shipped with INN 2.5.3 will be "empty" (all > the existing parameters will be present, and commented out). One question: If 2.5.3 is going to be the next version, then why does inn-current call itself a 2.6.0 prerelease?
Re: Bogus error messages in innfeed.
Author: Julien ÉLIE
Date: Sun, 10 Jul 2011 08:45
Date: Sun, 10 Jul 2011 08:45
41 lines
2651 bytes
2651 bytes
Hi Dieter,
>> The new innfeed.conf sample shipped with INN 2.5.3 will be "empty" (all
>> the existing parameters will be present, and commented out).
>
> One question: If 2.5.3 is going to be the next version, then why does
> inn-current call itself a 2.6.0 prerelease?
INN 2.5.3 is the next version.
There are two branches:
* the STABLE branch, which currently contains all the 2.5.x versions.
The last release is 2.5.2 and the next one is 2.5.3. It adds
improvements that do not require manual changes (INN goes on working
fine just after "make update"), and bug-fixes.
* the CURRENT branch, which always contains the latest development
code. It is currently named 2.6.0, and will be the next major version
of INN.
It is planned to release 2.5.3 this year.
2.6.0 is still not scheduled. 2.5.4 will probably come before.
When 2.6.0 is released, it will become STABLE (the branch for 2.6.0,
2.6.1, 2.6.2, etc.), and CURRENT will be "2.7.0 prerelease".
If you download a STABLE snapshot from
http://inn.eyrie.org/snapshots/
you will see it is a "2.5.3 prerelease".
Please note that as 2.6.0 is the next major version, it naturally
contains all the changes done in the 2.5 branch.
--
Julien ÉLIE
« Pour Rome, la direction importe peu, car tous les chemins y
mènent. » (Astérix)
Re: Bogus error messages in innfeed.
Author: D. Stussy
Date: Sun, 10 Jul 2011 23:36
Date: Sun, 10 Jul 2011 23:36
41 lines
2823 bytes
2823 bytes
"Julien ÉLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message news:97t74vFkfnU1@mid.individual.net... > >> The new innfeed.conf sample shipped with INN 2.5.3 will be "empty" (all > >> the existing parameters will be present, and commented out). > > > > One question: If 2.5.3 is going to be the next version, then why does > > inn-current call itself a 2.6.0 prerelease? > > INN 2.5.3 is the next version. > > There are two branches: > > * the STABLE branch, which currently contains all the 2.5.x versions. > The last release is 2.5.2 and the next one is 2.5.3. It adds > improvements that do not require manual changes (INN goes on working > fine just after "make update"), and bug-fixes. > > * the CURRENT branch, which always contains the latest development > code. It is currently named 2.6.0, and will be the next major version > of INN. > > > It is planned to release 2.5.3 this year. > 2.6.0 is still not scheduled. 2.5.4 will probably come before. > > When 2.6.0 is released, it will become STABLE (the branch for 2.6.0, > 2.6.1, 2.6.2, etc.), and CURRENT will be "2.7.0 prerelease". > > If you download a STABLE snapshot from > http://inn.eyrie.org/snapshots/ > you will see it is a "2.5.3 prerelease". > > > Please note that as 2.6.0 is the next major version, it naturally > contains all the changes done in the 2.5 branch. OK, but that still doesn't really explain why current and stable are of two different versions.
Re: Bogus error messages in innfeed.
Author: Julien ÉLIE
Date: Mon, 11 Jul 2011 07:50
Date: Mon, 11 Jul 2011 07:50
42 lines
2988 bytes
2988 bytes
Hi Dieter,
>> Please note that as 2.6.0 is the next major version, it naturally
>> contains all the changes done in the 2.5 branch.
>
> OK, but that still doesn't really explain why current and stable are of two
> different versions.
CURRENT contains the latest development code. It corresponds to the
current state of INN development. This trunk is not always releasable
as-is: a few new features are still incomplete.
CURRENT is the next major version, usually with changes to be manually
done (or checked) by the administrator. It is named 2.5.0, 2.6.0,
2.7.0, etc. It is the first release in a new major version.
STABLE contains the latest stable development code that applies to the
officially released major version. It is now the 2.5 branch. And
STABLE contains improvements over 2.5.2 (the latest released version).
It is therefore a "2.5.3 prerelease".
CURRENT and STABLE are of two different versions. Their code source is
not the same:
http://www.eyrie.org/~eagle/software/inn/docs/news.html
1. Upgrading from 2.5 to 2.6
2. Changes in 2.6.0
3. Changes in 2.5.3
4. Changes in 2.5.2
[...]
Is it clear enough? I do not understand what is currently bothering you
about CURRENT and STABLE.
--
Julien ÉLIE
« La vie est un sommeil, l'amour en est le rêve et vous aurez vécu
si vous avez aimé. » (Alfred de Musset)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads