[zypp-devel] Category filter for zypper patch

Hi, I'm currently implementing a category-filter for "zypper lp" and "zypper patch" (see fate #310085). My prefered commandline syntax is this one: - zypper lp -g security - zypper lp --category security I wouldn't use "--issue" as suggested in fate as it could be confused with the existing "--issues". I also found out, that zypper uses the category-strings from the patches insted of using the enum categories provided by libzypp: http://doc.opensuse.org/projects/libzypp/HEAD/Patch_8cc_source.html#l00048 I think, an implementation of the filter based on category-strings is not a good idea so I suggest changing zypper to the enum categories to keep it consistent, as the mapping is done in libzypp and YaST uses the enums, too. Dominik -- Dominik Heidler Maxfeldstr. 5, D-90409 Nuernberg, Germany Phone +49-911-74053-141 SUSE LINUX Products GmbH, Nuernberg _________________________________________ ドミニク -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (1)
-
Dominik Heidler