builddep should be installed with --no-recommends

Bug #1473520 reported by Thomi Richards
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mojo: Continuous Delivery for Juju
Fix Released
Medium
Unassigned

Bug Description

When installing a builddep with the builddeps phase, mojo should specify '--no-recommends' to apt. Otherwise, when installing 'bzr' as a build-dep, we end up installing all sorts of stuff, including (for example) gnome-keyring.

Tags: papercut

Related branches

Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote : Re: [Bug 1473520] [NEW] builddep should be installed with --no-recommends

Thinking about this some more...

I guess changing this now will likely break several existing mojo specs.
That's clearly not a good idea. Perhaps we can add an option to the
builddeps phase that controls whether or not --no-recommends is passed to
apt? It could even be documented as a sensible default for new specs...
something like:

builddeps packages=bzr,make,python-yaml install_recommends=no

Thougths?

--
Thomi Richards
<email address hidden>

Revision history for this message
Tom Haddon (mthaddon) wrote :

I don't think it's a bad idea. I think people can fix up specs pretty easily, and it's better to know what specific packages you need rather than relying on things being pulled in due to recommended packages being also installed.

Changed in mojo:
status: New → Confirmed
importance: Undecided → Medium
tags: added: papercut
Tom Haddon (mthaddon)
Changed in mojo:
status: Confirmed → Fix Released
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.