Deprecate --enable-component option

Bug #1170114 reported by Fred on 2013-04-17
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Wishlist
Unassigned

Bug Description

An --enable-component option already exists.
Please add a respective --disable-component option.

So that I may do;
software-properties-gtk --disable-component=multiverse
software-properties-gtk --disable-component=restricted

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: software-properties-gtk 0.92.17
ProcVersionSignature: Ubuntu 3.8.0-18.28-generic 3.8.6
Uname: Linux 3.8.0-18-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Wed Apr 17 22:48:19 2013
InstallationDate: Installed on 2011-10-21 (544 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: software-properties
UpgradeStatus: Upgraded to raring on 2013-01-20 (86 days ago)

Fred (eldmannen+launchpad) wrote :
Changed in software-properties (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Robert Roth (evfool) wrote :

FYI: Are you aware that add-apt-repository has an option to do that? You can simply 'add-apt-repository multiverse' to enable multiverse and 'add-apt-repository -r multiverse' to disable multiverse. Actually that has been added because on servers people did not want to pull in the gtk version of software properties, but only to have a CLI interface to do that. In this context, it would even make sense to remove the --enable-component and --enable-ppa options from software-properties-gtk, as that's what add-apt-repository stands for.

Fred (eldmannen+launchpad) wrote :

Thank you!
I was not aware of the 'add-apt-repository' command or its -r option.

Yeah, in that case I think that --disable-component should be added or that --enable-component should be removed, so that it is consistent and predictable.

Martin Pitt (pitti) on 2013-06-24
summary: - Add --disable-component option
+ Deprecate --enable-component option
Changed in software-properties (Ubuntu):
status: Triaged → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-properties - 0.92.21

---------------
software-properties (0.92.21) saucy; urgency=low

  * Copy software-properties icon from Humanity (and Elementary)
    to replace the dated and unclear icon used if your icon theme doesn't
    include a replacement icon
 -- Jeremy Bicha <email address hidden> Mon, 24 Jun 2013 14:15:40 +0200

Changed in software-properties (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers