[Bug 1507470] Re: add build testing of Go packages when dependencies change
Launchpad Bug Tracker
1507470 at bugs.launchpad.net
Thu Aug 18 18:06:48 UTC 2016
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: autodep8 (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autodep8 in Ubuntu.
https://bugs.launchpad.net/bugs/1507470
Title:
add build testing of Go packages when dependencies change
Status in autodep8 package in Ubuntu:
Confirmed
Bug description:
This is one aspect of the MIR of Go, juju, and its libraries from bug
1267393.
In comment 86 the MIR team requested testing buildability of reverse
Go dependencies when a library changes. A synthesized autopkgtest for
those is trivial, something like
Test-Command: true
Restrictions: build-needed
This will build the package against the proposed dependency and
install all of its binaries. There's no actual test (just "true"); if
there is a way to test libraries/packages in a generic way, this
should be done instead of "true"; you can look at the existing ones
for Perl/Ruby/DKMS in http://anonscm.debian.org/cgit/collab-
maint/autodep8.git/tree/support (check the "generate" scripts). This
assumes that Go library packages already run their upstream tests
during package build; if that's not the case, then this is certainly a
must for running in autopkgtest at least.
The other thing that we need is an algorithm to detect a go
library/package as such, i. e. some properties of the unpackaged
source tree which tells autopkgtest that the synthesized test is
applicable to it. Again you can look at the "detect" scripts in the
above autodep8 tree to see how it's done for Perl and friends.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autodep8/+bug/1507470/+subscriptions
More information about the foundations-bugs
mailing list