Mailinglist Archive: opensuse-factory (520 mails)

< Previous Next >
[opensuse-factory] Tallying the quality of package descriptions

I just felt like hacking up, and now sharing, a script to gauge where there is
overly much advertisement language in the descriptions of openSUSE TW packages.

It processes descriptions with a boring /\b$words\b/ regex match and awards
painpoints for trigger words or word groups in multiple differently-weighted
categories. For a start, that seems like a reasonable approach for finding
descriptions that are in need of repair.

./bullshit_graph.pl openSUSE/specs/*.spec | sort -gk2 | grep -v texlive- |
grep -v ghc- | tail -n 15
transmission.spec 140 ▒▒▒▒▒▒▒▒▒▒▒░░░░░░
OpenColorIO.spec 145 █████████▒▒▒▒▒▒▒▒▒
perl-XML-SimpleObject-LibXML.spec 145 █████▒▒▒▒▒▒▒░░░░░
gtk2-engines.spec 147 █████████▒▒▒▒▒▒▒▒░
perl-Carp-Assert.spec 148 ███░░░░░░░░░░░░░░░
quassel.spec 148 █████▒▒▒▒▒▒▒▒▒░░░░
python-scipy.spec 150 ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░
leechcraft.spec 162 █████▒▒▒▒▒▒▒▒▒▒▒▒▒▒
php5-smarty3.spec 163 ███▒▒▒▒▒▒▒▒▒▒░░░░░░
php5.spec 163 ▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░
php7.spec 163 ▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░
judy.spec 170 ███████████▒▒▒▒▒▒▒░░
perl-IO-Tty.spec 177 █████▒▒▒▒▒▒▒░░░░░░░░░
vim-plugins.spec 212 ███▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░
courier-imap.spec 275 █████████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒░

I think we found some winners.

"""Courier-IMAP is a fast, scalable, enterprise …
seamless process …
sound a bit intimidating. …
Start by taking small, easy steps. …
experience and become comfortable …
If you already have Courier installed, you do not need to download this …
If you install this version, you must remove it …

http://inai.de/files/bullshit_graph.pl
Enjoy.
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >