[v2,0/3] Add extended package data

Message ID 20220312225253.205609-1-andrew.gregory.8@gmail.com
Headers show
Series Add extended package data | expand

Message

Andrew Gregory March 12, 2022, 10:52 p.m. UTC
v2 changes:
* format changed to 'name=value' for both desc and .PKGINFO files.  it is now
  consistent across files and looks a little less weird than using a space as
  the delimiter
* implemented error handling and cleanup
* removing parsing of pkgtype fields from alpm
* renamed field from "data" to "xdata" to indicate it's "extended" data

Andrew Gregory (3):
  add extended data field for arbitrary package data
  query: print extended data when extra info is requested
  makepkg: store pkgtype in xdata

 lib/libalpm/alpm.h       |  7 +++++++
 lib/libalpm/be_local.c   | 28 ++++++++++++++++++++++++++++
 lib/libalpm/be_package.c |  8 ++++++--
 lib/libalpm/be_sync.c    | 12 ++++++++++++
 lib/libalpm/package.c    | 35 +++++++++++++++++++++++++++++++++++
 lib/libalpm/package.h    |  7 +++++++
 scripts/makepkg.sh.in    |  2 +-
 src/pacman/package.c     | 13 +++++++++++++
 8 files changed, 109 insertions(+), 3 deletions(-)