Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsavarTzeth <asavartzeth@gmail.com>2017-10-26 14:00:50 +0300
committerAsavarTzeth <asavartzeth@gmail.com>2017-11-08 19:51:37 +0300
commit4853014a61f01427ec9cb59c46371c5619e74653 (patch)
treeff02267503b5815bb4bb6aec1517804132c3806e /release-tool
parentc280eac309c3a888bc5ce0e621816193dea9ce11 (diff)
Fix id and appdata validation failures (#1131)
According to the AppStream specification org.keepassxc is not a valid id. The product name is missing. This results in failures if one tries to validate the file and makes it unusable where validation is enforced. Additionally it seems specification don't allow the `<icon>` tag with component type desktop-application. I am not sure this tag is strictly necessary. In any case validation tests require this to be removed. Fixing both of these issues ensure the AppStream appdata is compliant and works anywhere passing validations is a requirement. Also provide some other fixes and improvements to the appdata. Minor validation failures: - Fix missing captions for screenshots (`appstreamcli`) - Fix descriptions cannot start with `<ul>` tag (`appstream-util`) Other enhancements: - Add more URL types, but could not add donation type because "&" is not allowed in the `<url>` tag and using "%26" causes `appstreamcli validate` to fail. - Add `<developer_name>`, which in cases such as KeePassXC is a team name.
Diffstat (limited to 'release-tool')
-rwxr-xr-xrelease-tool6
1 files changed, 3 insertions, 3 deletions
diff --git a/release-tool b/release-tool
index 10c6a14c3..42cd3a1d6 100755
--- a/release-tool
+++ b/release-tool
@@ -264,13 +264,13 @@ checkChangeLog() {
}
checkAppStreamInfo() {
- if [ ! -f share/linux/org.keepassxc.appdata.xml ]; then
+ if [ ! -f share/linux/org.keepassxc.KeePassXC.appdata.xml ]; then
exitError "No AppStream info file found!"
fi
- grep -qPzo "<release version=\"${RELEASE_NAME}\" date=\"\d{4}-\d{2}-\d{2}\">" share/linux/org.keepassxc.appdata.xml
+ grep -qPzo "<release version=\"${RELEASE_NAME}\" date=\"\d{4}-\d{2}-\d{2}\">" share/linux/org.keepassxc.KeePassXC.appdata.xml
if [ $? -ne 0 ]; then
- exitError "'share/linux/org.keepassxc.appdata.xml' has not been updated to the '${RELEASE_NAME}' release!"
+ exitError "'share/linux/org.keepassxc.KeePassXC.appdata.xml' has not been updated to the '${RELEASE_NAME}' release!"
fi
}