pacman/lib/libalpm
Andrew Gregory 7dc2266c2f WIP: add python/rust style format strings
--print-format currently uses printf-style format strings, which have
limited namespace (a-zA-Z), low flexibility (depends-with-version and
depends-without-version have to be different sequences), and are
difficult to remember (is %d depends or description?).

Python/Rust format strings allow full word substitutions.  In addition,
the mfmt.c library being used makes it possible to extend the standard
formatting for much greater control.  For example, we can allow nested
templates so that instead of having "{depends}" and
"{depends-without-version}" variants, we can allow something like
"{depends<{name}={version}: {description}>}".

For example:
 pacman -Sp --pformat="{name}: {description} ({packager})" pacman
2022-12-24 11:43:27 -08:00
..
po Fix remaining email list address 2022-06-25 22:59:20 +10:00
.gitignore libalpm: add pkg-config file 2012-04-25 20:02:36 -04:00
add.c Update copyright years 2022-01-02 13:34:52 +10:00
add.h Update copyright years 2022-01-02 13:34:52 +10:00
alpm.c Update copyright years 2022-01-02 13:34:52 +10:00
alpm.h WIP: add python/rust style format strings 2022-12-24 11:43:27 -08:00
alpm_list.c Update copyright years 2022-01-02 13:34:52 +10:00
alpm_list.h Update copyright years 2022-01-02 13:34:52 +10:00
backup.c Update copyright years 2022-01-02 13:34:52 +10:00
backup.h Update copyright years 2022-01-02 13:34:52 +10:00
base64.c base64.c: comment out unused variable 2014-01-15 15:54:56 +10:00
base64.h Do not #define _RESERVED_IDENTIFIERS 2016-09-25 18:04:57 +10:00
be_local.c add extended data field for arbitrary package data 2022-07-21 19:01:27 +10:00
be_package.c _alpm_pkg_load_internal: prevent double closing file descriptor 2022-12-13 10:00:13 +10:00
be_sync.c add extended data field for arbitrary package data 2022-07-21 19:01:27 +10:00
conflict.c Update copyright years 2022-01-02 13:34:52 +10:00
conflict.h Update copyright years 2022-01-02 13:34:52 +10:00
db.c libalpm: add getter for handle on db and pkg 2022-03-08 09:56:53 +10:00
db.h Update copyright years 2022-01-02 13:34:52 +10:00
deps.c Update copyright years 2022-01-02 13:34:52 +10:00
deps.h Update copyright years 2022-01-02 13:34:52 +10:00
diskspace.c Update copyright years 2022-01-02 13:34:52 +10:00
diskspace.h Update copyright years 2022-01-02 13:34:52 +10:00
dload.c Avoid NULL deference in curl_check_finished_download 2022-12-13 10:00:13 +10:00
dload.h Update copyright years 2022-01-02 13:34:52 +10:00
error.c Update copyright years 2022-01-02 13:34:52 +10:00
filelist.c libalpm: mark filelist_contains as taking a const filelist 2022-03-06 17:32:23 +10:00
filelist.h Update copyright years 2022-01-02 13:34:52 +10:00
graph.c Update copyright years 2022-01-02 13:34:52 +10:00
graph.h Update copyright years 2022-01-02 13:34:52 +10:00
group.c Update copyright years 2022-01-02 13:34:52 +10:00
group.h Update copyright years 2022-01-02 13:34:52 +10:00
handle.c Update copyright years 2022-01-02 13:34:52 +10:00
handle.h Update copyright years 2022-01-02 13:34:52 +10:00
hook.c Update copyright years 2022-01-02 13:34:52 +10:00
hook.h Update copyright years 2022-01-02 13:34:52 +10:00
info.c WIP: add python/rust style format strings 2022-12-24 11:43:27 -08:00
libalpm.pc.in Update urls to not use www. for archlinux.org 2021-04-08 10:14:33 +10:00
libarchive-compat.h Update copyright years 2022-01-02 13:34:52 +10:00
log.c Update copyright years 2022-01-02 13:34:52 +10:00
log.h Update copyright years 2022-01-02 13:34:52 +10:00
meson.build WIP: add python/rust style format strings 2022-12-24 11:43:27 -08:00
mfmt.c WIP: add python/rust style format strings 2022-12-24 11:43:27 -08:00
mfmt.h WIP: add python/rust style format strings 2022-12-24 11:43:27 -08:00
package.c add extended data field for arbitrary package data 2022-07-21 19:01:27 +10:00
package.h add extended data field for arbitrary package data 2022-07-21 19:01:27 +10:00
pkghash.c Update copyright years 2022-01-02 13:34:52 +10:00
pkghash.h Update copyright years 2022-01-02 13:34:52 +10:00
rawstr.c Remove all modelines from the project 2018-05-14 09:59:15 +10:00
remove.c Update copyright years 2022-01-02 13:34:52 +10:00
remove.h Update copyright years 2022-01-02 13:34:52 +10:00
signing.c Fix segfault when failing to import keys 2022-03-06 20:36:59 +10:00
signing.h Update copyright years 2022-01-02 13:34:52 +10:00
sync.c load_packages: fix memory leak on error 2022-12-13 10:00:13 +10:00
sync.h Update copyright years 2022-01-02 13:34:52 +10:00
trans.c Update copyright years 2022-01-02 13:34:52 +10:00
trans.h Update copyright years 2022-01-02 13:34:52 +10:00
util.c Catch possible error in archive_entry_pathname when extracting files 2022-12-13 10:00:13 +10:00
util.h Update copyright years 2022-01-02 13:34:52 +10:00
version.c Update copyright years 2022-01-02 13:34:52 +10:00