[Yum-devel] I'm the new maintainer for yum in Debian
Thomas Goirand
thomas at goirand.fr
Mon Apr 6 16:26:19 UTC 2009
Seth Vidal wrote:
> On Mon, 6 Apr 2009, Thomas Goirand wrote:
>
>> Especially:
>> 0001: this one is very small and wont hurt
>
> Why is this necessary at all? Is there an install somewhere that doesn't
> support {}
When you just asked, I was not 100%, so I just tried to install dash,
and set it as default replacement for sh (instead of bash). Result: if
in /bin, sh is an alias to bash, it can compile. But if it's dash, then
it just crashes at build time. Using:
mkdir -p $(DESTDIR)/usr/share/man/man{5,8}
is a bashism (eg: it's not in posix implementation of sh) and should be
removed. In Debian, this is considered a bug (but bash is still the
default alias of sh). In Ubuntu, dash is the standard alias of sh, and
this will crash at compile time. Please apply this one, this is
necessary for all Debian derivatives, and wont hurt anyone!
>> 0002: is sqlite 1 still available somewhere?
>
> Potentially. Why does it matter?
This has been forward ported from the old (unmaintained) package. I
guess if it was there, that was for a reason... I guess your test was
symply crashing yum. I'm not sure yet why it was there. Still, my
question remains: is there anyone on earth still running with sqlite 1?
That seems to me really really old, and I can't think about anyone still
using sqlite 1 nowadays. The potential ones should upgrade, IMHO! :)
>> 0004: where exactly did you see there is a "yearly" option in logrotate?
>
> man logrotate
> yearly Log files are rotated if the current year is not the same as
> the last rotation.
This is NOT available in Debian, and my man page doesn't tell anything
about yearly. Would it hurt you guys to set it to monthly instead? You
could add a "rotate 12" option (or more) if you still want to keep 12
months of logs...
>> Anyway, if it exists, would it be possible to set it to monthly, as this
>> is annoying for Debian?
>
> "Annoying for debian" isn't really a good enough reason to change it. Is
> there a technical reason?
Ok, let me rephrase (sorry for being a bad English writer): this is not
available in the current Debian implementation. Is that a good reason
now? :)
>> 0005: Please see this URL:
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=347882
>
> We didn't accept those patches from the vserver people directly. I don't
> see a reason to accept the same ones from a distro.
Why didn't you accept it? I have not sent the version with this patch in
Debian, so if you have a valid reason, I might reject it as well. If you
read the bug report above, seems that the submitter doesn't understand
either, and I'm quite puzzled too. Help on closing this bug would be
highly appreciated. If you could also have a quick look at the other 2 here:
http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=yum
I'd appreciate a lot as well if you were giving some pointers.
>> 0006: the current syntax of the yum.conf.5 is wrong, and needs to be
>> corrected thanks to this patch. Also documents the addition of 0005
>
> Can you provide the command you used to get these errors? I've never
> seen them when reading/creating man pages and I'd like to know how to
> check them in the future.
>
>
> -sv
After I create my package, I use the Debian utility "lintian" that does
so many checks against my packages, one of them is with man. I don't
really know how it asks man to check for the format, but I know it's
using man itself. "man man" didn't help much ...
Mainly, the 2 issues with your manpage, as reported by Lintian, and as
you might have found out yourself reading my patch, is that the .IP
stanza has to be followed by a new-line and can't have any word folling
it (see in "man 7 man" that .IP is telling about the "following
paragraph"). Also, most of your --option has to be in fact written
\-\-option as this is not an hyphen between 2 English words that can be
breakable with a new line (if I understand it well). This last one is a
very very common mistake that I had to correct in so many of the
packages that I maintain in Debian.
Hoping that the above will help to understand my requests.
Thomas
More information about the Yum-devel
mailing list