Niels Thykier: Updates in the Lintian World
Documentation!
That is what the next version of Lintian will have. In 2.5.1, Lintian
had support for adding options in the lintianrc. Unfortunately, the
user had to guess the syntax, which makes the feature less useful.
With the next release, the manpage and the example config file[1]
will contain documentation and examples. The User Manual[2] also saw some improvements. Particularly, it will
mention that lintian can process a .changes file and that it does
cross-package checks. Of course, it also documents the format of the
new Vendor Profiles. Though even with these improvements, the current
documentation still leaves much to be wanted. The last unpack script (
was replaced by a smarter version of
that Lintian can now schedule
collections (namely
good time to upgrade our
multi-tarball source packages. Previously Lintian only extracted the
index from the base tarball. The
extracted fields from the control file (in the .deb, etc.) into a
directory. Each field became a file and the value of the field would
be written in the field. Today, the collection basically looks like
this:
upgrade to fetch these fields itself. This change should remove some
unnecessary file I/O in a normal run[3]. If you have a friend with his/her own little home-grown Lintian check
(or collection)[4], they will have to update it to A) not depend on
depend on index for source packages if it uses the index information.
For the latter,
index. Lintian has also seen a lot of decrufting in the 2.5.2 development
cycle. The new test suite now features skeletons ( standard base
environments ) and template support for all package test suites[5]. This means it takes a lot less of writing (or copy/waste) to generate
a simple specialized test in the low-level test suites. As a part
of cleaning up the test-suites, I got to run:
is among my favorite ones in the 2.5.2 development cycle. Finally, if you are one of the few that have ever used the
be deprecated in 2.5.2 and replaced by
old option had some specialized format, whereas the new option parses
the file (or
more
the packages-file parser from lintian 2.5.1:
in every package (the fields were cached, once they were read). Not
to mention a directory listing and having to remove the files again
later. [4] Of course, you do not have such a thing Because we all know
that no one (except this not too close friend of yours) messes with
Internal APIs of other projects [5] The exception being that the changes suite does not have a
standard base environment, since it would be completely unused.
had support for adding options in the lintianrc. Unfortunately, the
user had to guess the syntax, which makes the feature less useful.
With the next release, the manpage and the example config file[1]
will contain documentation and examples. The User Manual[2] also saw some improvements. Particularly, it will
mention that lintian can process a .changes file and that it does
cross-package checks. Of course, it also documents the format of the
new Vendor Profiles. Though even with these improvements, the current
documentation still leaves much to be wanted. The last unpack script (
unpack-srcpkg-l1) was finally removed andwas replaced by a smarter version of
index collection. This meansthat Lintian can now schedule
index in parallel with a few othercollections (namely
unpacked, which is the current bottleneck).
The speed improvement is probably not noticeable, but it was also agood time to upgrade our
index collection to properly handlemulti-tarball source packages. Previously Lintian only extracted the
index from the base tarball. The
fields collection also saw some attention. Previously itextracted fields from the control file (in the .deb, etc.) into a
directory. Each field became a file and the value of the field would
be written in the field. Today, the collection basically looks like
this:
[...]
if (-d 'fields')
system('rm', '-rf', 'fields') == 0
or die 'Could not remove old fields directory';
[...]
It has been deprecated the minute Lintian::Collect API saw a littleupgrade to fetch these fields itself. This change should remove some
unnecessary file I/O in a normal run[3]. If you have a friend with his/her own little home-grown Lintian check
(or collection)[4], they will have to update it to A) not depend on
fields, B) use the Lintian::Collect API for accessing fields and C)depend on index for source packages if it uses the index information.
For the latter,
Lintian::Collect has grown support for source packageindex. Lintian has also seen a lot of decrufting in the 2.5.2 development
cycle. The new test suite now features skeletons ( standard base
environments ) and template support for all package test suites[5]. This means it takes a lot less of writing (or copy/waste) to generate
a simple specialized test in the low-level test suites. As a part
of cleaning up the test-suites, I got to run:
$ git rm t/ source,debs /*/copyright
without breaking a single test. I have to admit that commit 8584996is among my favorite ones in the 2.5.2 development cycle. Finally, if you are one of the few that have ever used the
--packages-file option, then I am pleased to inform you that it willbe deprecated in 2.5.2 and replaced by
--packages-from-file. Theold option had some specialized format, whereas the new option parses
the file (or
stdin) as one package per line . The latter being farmore
"find -name '*.deb' "-friendly.
In case you are wondering why --packages-file is deprecated, here isthe packages-file parser from lintian 2.5.1:
while (my $line = <$pkgin>)
chomp($line);
my (undef, undef, undef, $file) = split(/\s+/, $line, 4);
$pool->add_file($file);
-
[1] Installed as /etc/lintianrc
[2] Installed as /usr/share/doc/lintian/lintian. html/,txt.gz
[3] Namely, 2 opens + 2 closes + 1 read and one write for each fieldin every package (the fields were cached, once they were read). Not
to mention a directory listing and having to remove the files again
later. [4] Of course, you do not have such a thing Because we all know
that no one (except this not too close friend of yours) messes with
Internal APIs of other projects [5] The exception being that the changes suite does not have a
standard base environment, since it would be completely unused.

Wondering what is going on with the port of Debian to the Minix 3 microkernal? Here's an update.
dpkg Ported
Well, the big news as I mentioned in
It has been a long time I want to prepare a
During the past

Sometime it happens, that there are school holidays. As my lovely girl used to be a teacher, she has some time off at that period. So she left me with our kids yesterday to visit the grandparents.


The first day of the Desktop Summit was yesterday, Saturday, August 6. I loved it and gave a presentation. There are two very different stories I can tell on the topic of gender equality in
free software. I'll start with the bad.
The construction, deployment, and use of software involves a number of roles.
I do not have an exhaustive list, but I have a couple in my list that
seem to be surprising to some developers.
In the traditional Unix (mainframe) model, there are three roles:
Today is our "historical" Spongebob (the one you can see
I got a call from Mum today to inform me that my grandmother had passed away
last night, Brisbane time, at 94 years of age.
FreedomBox activities at Debconf11
I spent the last two weeks of July 2011 in Banja Luka. The occasion was the
annual
Sometimes it helps if your baby thinks it is a good idea to get you up at 05:00 in the morning, so I was able to do some listmaster stuff today. I worked on several bugs and I added the following new mailinglists:
Hello, this is the fourth report for the project. First, I d like to