git-ubuntu.self-test fails if DEBEMAIL =~ /\@ubuntu\.com/
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.
Related branches
- Scott Moser (community): Needs Fixing
- Server Team CI bot: Approve (continuous-integration)
- Joshua Powers: Pending requested
- git-ubuntu developers: Pending requested
-
Diff: 138 lines (+80/-15)2 files modifieddev/null (+0/-8)
snap-wrappers/wrappers/git-ubuntu-self-test (+80/-7)