summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-agreement-section-private.h
diff options
context:
space:
mode:
authorOtto Urpelainen <oturpe@iki.fi>2021-05-13 23:21:34 +0300
committerRichard Hughes <richard@hughsie.com>2021-05-18 13:31:18 +0100
commitcf73b762112730acfd4f7b11594a30a2b49e2443 (patch)
tree1241d3198362ccf7ba65342e263228b33bd429c2 /libappstream-glib/as-agreement-section-private.h
parent462dcd2b74dbeec45d900603320c8d9074f13cc9 (diff)
downloadappstream-glib-cf73b762112730acfd4f7b11594a30a2b49e2443.tar.gz
Add validation for duplicate license xml elements
AppStream license syntax allows constructs of form "LICENSE1 AND LICENSE2". It is possible to confuse this with writing multiple license xml elements in a metainfo file. In order to spot this type of error, duplicate detection is added for xml elements metadata_license and project_license.
Diffstat (limited to 'libappstream-glib/as-agreement-section-private.h')
0 files changed, 0 insertions, 0 deletions