Lintian checking ARB packages

Bhavani Shankar R bhavi at ubuntu.com
Thu Dec 27 05:21:43 UTC 2012


On Wed, Dec 26, 2012 at 9:53 AM, Bhavani Shankar R <bhavi at ubuntu.com> wrote:
> On Tue, Dec 25, 2012 at 2:06 PM, Niels Thykier <niels at thykier.net> wrote:
>> On 2012-12-25 09:00, Bhavani Shankar R wrote:
>>> On Sat, Dec 15, 2012 at 8:49 PM, Bhavani Shankar R <bhavi at ubuntu.com> wrote:
>>> [...]
>>>
>>> Hi Niels,
>>>
>>> I have tried to integrate extras prefix check. Updated branch here:
>>>
>>> lp:~bhavi/ubuntu-app-review-board/lintian-arb_profile
>>>
>>> when I try to run the check on a sample package I get
>>>
>>> E: nudge: arb-app-installs-files-outside-opt
>>> usr/share/pyshared/nudge_lib/nudgeconfig.py
>>> E: nudge: arb-app-have-no-files-in-opt
>>> tried to issue unknown tag arb-app-has-disallowed-file at
>>> /usr/share/perl5/Lintian/Tags.pm line 241.
>>> internal error: cannot run ubuntu/arb/arb-check-bin check on package nudge
>>> warning: skipping check of binary package nudge
>>>
>>> Please suggest and kindly bear with my mistakes as this is my first
>>> experiment with lintian
>>>
>>> Regards,
>>>
>>>
>>
>> In [r2], the tag names are spelled with dashes ("-") in the .desc file,
>> but the check uses spaces for the last many dashes.  :)
>>
>> ~Niels
>>
>>
>> [r2]
>> http://bazaar.launchpad.net/~bhavi/ubuntu-app-review-board/lintian-arb_profile/revision/2
>
> Ah Sorry Niels.. Thanks for the revert. I'm learning lintian now :-)
>
> Regards
>

Thanks Niels,

After some tweaking latest revision of the branch
http://bazaar.launchpad.net/~bhavi/ubuntu-app-review-board/lintian-arb_profile
works fine at runtime with namespace checks.

A small question I have here, Is there a way to integrate source
package tests in lintian for example in arb-lint the sourcepackages.py
file checks the source tar.gz file and as far as I know lintian is
used on .changes file or dsc or the deb after generating the same from
dpkg-buildpackage,

Thanks a lot again Niels for all your inputs.

Regards,


-- 
Bhavani Shankar
Ubuntu Developer       |  www.ubuntu.com
https://launchpad.net/~bhavi



More information about the App-review-board mailing list