Skip to content

Commit

Permalink
Validate appdata file with nonet flag
Browse files Browse the repository at this point in the history
By default, appstream-util checks if URLs listed in the appdata file are
resolvable.  Tuba's appdata file includes screenshot URLs.  Most Linux
distro build environments do not allow outbound network connections.
Without a network connection, the validation fails.  Fedora recommends
using the `--nonet` flag to skip that part.

https://docs.fedoraproject.org/en-US/packaging-guidelines/AppData/#_app_data_validate_usage
  • Loading branch information
carlwgeorge committed Jul 27, 2023
1 parent 44136b8 commit de93cc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ if appstream_util.found()
test(
'Validate appstream file',
appstream_util,
args: ['validate-relax', appstream_file],
args: ['validate-relax', '--nonet', appstream_file],
)
endif

0 comments on commit de93cc3

Please sign in to comment.