Re: [pacman-dev] [PATCH v2] libalpm: parse {check, make}depends when reading database

2018-10-08 Thread Allan McRae
On 9/10/18 12:19 pm, Andrew Gregory wrote: > On 10/09/18 at 02:20am, Morgan Adamiec wrote: >> On 09/10/2018 2:15 am, Allan McRae wrote: >>> On 9/10/18 11:05 am, morganamilo wrote: static struct pkg_operations local_pkg_ops = { - .get_base= _cache_get_base, - .get_desc

Re: [pacman-dev] [PATCH v2] libalpm: parse {check, make}depends when reading database

2018-10-08 Thread Andrew Gregory
On 10/09/18 at 02:20am, Morgan Adamiec wrote: > On 09/10/2018 2:15 am, Allan McRae wrote: > > On 9/10/18 11:05 am, morganamilo wrote: > >> static struct pkg_operations local_pkg_ops = { > >> - .get_base= _cache_get_base, > >> - .get_desc= _cache_get_desc, > >> - .get_url

Re: [pacman-dev] [PATCH v2] libalpm: parse {check, make}depends when reading database

2018-10-08 Thread Eli Schwartz
On 10/8/18 9:15 PM, Allan McRae wrote: > On 9/10/18 11:05 am, morganamilo wrote: > >> +.get_base = _cache_get_base, >> +.get_desc = _cache_get_desc, >> +.get_url = _cache_get_url, >> +.get_builddate= _cache_get_builddate, >> +.get_installdate =

Re: [pacman-dev] [PATCH v2] libalpm: parse {check, make}depends when reading database

2018-10-08 Thread Allan McRae
On 9/10/18 11:05 am, morganamilo wrote: > static struct pkg_operations local_pkg_ops = { > - .get_base= _cache_get_base, > - .get_desc= _cache_get_desc, > - .get_url = _cache_get_url, > - .get_builddate = _cache_get_builddate, > - .get_installdate =

[pacman-dev] [PATCH v2] libalpm: parse {check, make}depends when reading database

2018-10-08 Thread morganamilo
Commit 0994893b0e6b627d45a63884ac01af7d0967eff2 added the alpm_pkg_get_{make,check}depends functions but forgot to include logic for parsing these fields from the database. As a result these functions will always return an empty list. This commit adds the parsing logic. Signed-off-by:

[pacman-dev] [PATCH] libalpm: parse {check, make}depends when reading database

2018-10-08 Thread morganamilo
Commit 0994893b0e6b627d45a63884ac01af7d0967eff2 added the alpm_pkg_get_{make,check}depends functions but forgot to include logic for parsing these fields from the database. As a result these functions will always return an empty list. This commit adds the parsing logic. Signed-off-by: