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

Bug #1801948 reported by Robie Basak on 2018-11-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone

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 to always set the Maintainer according to the version string selected, or perhaps just to always use an address.

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

Related branches

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

Other bug subscribers