Skip to content

Commit c05ad5c

Browse files
committed
builder-manifest: Allow all custom appstream tags in catalogue
This allows all `<custom>` tags from metainfo files to reach catalogue data. Custom tags are used by Flathub to store verification and build information and often downstream vendors who use Flathub's catalogue for their own app store want custom tags to identify or highlight their own apps. For example cosmic using Flathub catalogue data to highlight cosmic apps on cosmic store app etc. Allowing individual custom tags one by one is annoying and this is what libappstream-glib did before the port in 1.3.4. So this brings back the old as-glib behaviour that was lost in >=1.3.4
1 parent 3122e3f commit c05ad5c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/builder-manifest.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2447,6 +2447,8 @@ builder_appstreamcli_compose (const gchar *origin,
24472447
asc_compose_set_media_result_dir (compose, media_dir);
24482448
asc_compose_set_hints_result_dir (compose, hint_dir);
24492449

2450+
asc_compose_add_flags (compose, ASC_COMPOSE_FLAG_PROPAGATE_CUSTOM);
2451+
24502452
g_autoptr(GPtrArray) results = asc_compose_run (compose, NULL, error);
24512453
if (results == NULL)
24522454
{

0 commit comments

Comments
 (0)