git-ubuntu.self-test fails if DEBEMAIL =~ /\@ubuntu\.com/

Bug #1801948 reported by Robie Basak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
git-ubuntu
Triaged
Low
Unassigned

Bug Description

If DEBEMAIL =~ /\@ubuntu\.com/ then dpkg-buildpackage turns the "Version number suggests Ubuntu changes, but Maintainer: does not have Ubuntu address" warning into an error. This causes tests to fail, since they don't specifically set Maintainer according to the version number currently.

A workaround might be to always unset it before calling dpkg-buildpackage (and possibly other relevant environment variables as well). Certainly for the tests.

Or we could adjust source_builder.py to always set the Maintainer according to the version string selected, or perhaps just to always use an @ubuntu.com address.

Workaround for now: unset DEBEMAIL or call "DEBEMAIL= git-ubuntu.self-test" or similar.

Tags: quality

Related branches

Robie Basak (racb)
tags: added: quality
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.