[PATCH v2 0/3] Add extended package data

Andrew Gregory andrew.gregory.8 at gmail.com
Sat Mar 12 22:52:50 UTC 2022


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(-)

-- 
2.35.1



More information about the pacman-dev mailing list