From: Michael Tremer Date: Fri, 20 May 2022 17:09:41 +0000 (+0000) Subject: request: Drop support for groups X-Git-Tag: 0.9.28~775 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e257071fcf0ebfd499843397f5c381646c6c944;p=pakfire.git request: Drop support for groups Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/request.c b/src/libpakfire/request.c index 87326c26f..57576b7b3 100644 --- a/src/libpakfire/request.c +++ b/src/libpakfire/request.c @@ -346,7 +346,6 @@ static int pakfire_request_add_package(struct pakfire_request* request, int acti static int pakfire_request_add_job(struct pakfire_request* request, int action, const char* what, int extra_flags) { Pool* pool = pakfire_get_solv_pool(request->pakfire); - Id key = 0; // Make the pool ready pakfire_pool_internalize(request->pakfire); @@ -372,18 +371,8 @@ static int pakfire_request_add_job(struct pakfire_request* request, int action, if (*what == '/') flags |= SELECTION_FILELIST; - // Is this a group? - else if (*what == '@') { - flags = SELECTION_MATCH_DEPSTR; - key = SOLVABLE_GROUP; - what++; - } - // Select all packages - if (key) - selection_make_matchdeps(pool, &jobs, what, flags, key, 0); - else - selection_make(pool, &jobs, what, flags); + selection_make(pool, &jobs, what, flags); // Did we find anything? if (jobs.count == 0) {