| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Padding is no longer being used as it makes the software center look bad.
Lets make the application author look bad instead so they can fix the icon.
|
| |
|
|
|
|
|
|
| |
The .desktop suffix is now optional in the AppStream component <id>.
Fixes: https://github.com/hughsie/appstream-glib/issues/209
|
|
|
|
|
|
|
|
| |
This makes asglib align with the AppStream spec, which sees
/usr/share/metainfo as the canonical location for storing metadata, and
/usr/share/appdata as legacy (but still must-be-supported) location.
Signed-off-by: Richard Hughes <richard@hughsie.com>
|
| |
|
| |
|
|
|
|
|
| |
This is better done client side. Add a build flag so we can still build metadata
for old versions of Fedora.
|
|
|
|
| |
Without the CacheID it's no longer useful.
|
|
|
|
| |
This leads to just too many crashes; librpm is just not thread safe enough to do this.
|
|
|
|
|
|
|
|
|
| |
The results when using the partial update were not always the same as doing a
fresh run (some components depend on other components) and even I'm not using
this functionality anymore when running appstream-builder on the whole Fedora,
achive, even across on all branches.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1426166
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows us to sanity check installed applications to find out why they are
not showing in software centers like GNOME Software.
$ appstream-util check-component firefox.desktop google-chrome.desktop
Using system/*/*/desktop/firefox.desktop/* for firefox.desktop
Checking source: /usr/share/applications/firefox.desktop
Checking source: /usr/share/appdata/firefox.appdata.xml
Using system/*/*/desktop/google-chrome.desktop/* for google-chrome.desktop
Checking source: /usr/share/applications/google-chrome.desktop
• google-chrome.desktop has no AppData file
Failed to check component, 1 problems detected
|
| |
|
|
|
|
|
| |
Fall back to strcmp when both sections are non-numeric. Also add a 'vercmp'
command to appstream-util to allow us to use this on the command line.
|
| |
|
|
|
|
|
| |
Do not remove the desktop-provided 'Name' and 'Comment' if there is no
AppData-provided version.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement these in terms of AsFormat objects to maintain API compatibility.
This allows us to have multiple 'formats' that make up an AsApp, for instance,
an application might be referenced in:
* The .desktop file (for the icon)
* The AppData file (for the installed long description)
* The AppStream XML file (for the origin information)
Doing this allows us to keep track of all formats that make up an AsApp,
and this allows us to update the state as each type is removed and added.
This allows us to remove the need to "promote" apps to different types, which
was unreliable and was the source of several bugs where the AsApp was removed
from the AsStore before all the sources had been removed.
With this commit, GNOME Software again works reliably.
|
|
|
|
| |
No code changes, and ensure we don't break API/ABI by using #define's.
|
| |
|
|
|
|
| |
For instance, this happens for the runtimes
|
| |
|
| |
|
| |
|
|
|
|
| |
We could be handling untrusted content, so this seems like a good idea.
|
|
|
|
| |
This allows us to debug the reference counted string functionality.
|
| |
|
| |
|
|
|
|
|
|
|
| |
This can be used to improve load speed in GNOME Software. By default everything
is indexed, which includes the multi-paragraph long description. Omitting this
information makes a huge difference to the creation time of the search token
cache.
|
|
|
|
|
|
|
| |
This adds an optional flag that allows the node parser to ignore any nodes that
do not match the native languages of the user. This increases startup speed of
gnome-software by ~40ms but also drops the RSS by a massive 12Mb for the Fedora
AppStream file.
|
|
|
|
| |
This is really only useful for profiling startup speed.
|
|
|
|
| |
This allows us to invalidate things built from the AsApp objects.
|
|
|
|
|
| |
This allows the user to observe components being removed and added as files are
moved or created.
|
|
|
|
|
| |
This has been deprecated for some time now and causes problems when we're using
a non-localised prefix on the installed desktop files.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The project license can be any valid SPDX license string, so instead of
checking for a single license, the upgrade command should treat e.g.,
dual licenses as valid.
|
| |
|
|
|
|
| |
This is _optionally_ translated.
|
| |
|
| |
|
|
|
|
|
| |
This allows us to match soon-to-be-specified merge components to every
component in the store.
|
|
|
|
|
|
| |
By using the 'unique-id' to de-duplicate the objects in the store we can
support cases where there are multiple flatpak remotes providing the same app,
or where a remote provides two different branches of the same application.
|
| |
|
| |
|
| |
|
| |
|