summaryrefslogtreecommitdiff
path: root/libappstream-builder/asb-self-test.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Add --batch-output to be able to disable the progress panel when buildingRichard Hughes2015-03-131-0/+2
| | | | Fixes: https://github.com/hughsie/appstream-glib/issues/35
* Make the .inf parser compatible with more filesRichard Hughes2015-03-081-2/+2
|
* Parse the entire description when reading AppStream releasesRichard Hughes2015-03-051-3/+12
|
* Do not disable packages without an architectureRichard Hughes2015-03-041-9/+32
| | | | Also add to the self tests to catch this in the future.
* trivial: Fix 'make check'Richard Hughes2015-03-041-3/+3
| | | | | The ctimes are stored in the .cab file, so we need to set these to something other than the git checkout date.
* Create firmware AppStream components from .cab filesRichard Hughes2015-03-041-0/+111
| | | | | See http://blogs.gnome.org/hughsie/2015/03/03/updating-firmware-on-linux/ for more infomation on how this will be used.
* trivial: Find built test files when running make distcheckRichard Hughes2015-03-041-1/+6
|
* Fix a crash when more than one thread tries to ensure the same packageRichard Hughes2015-02-041-0/+23
| | | | | | This can happen when a package is itself an extra package of another, at the same time being a valid application itself. This is probably a packaging bug, but crashing isn't nice either.
* Guess the NEVRA from the filename if possibleRichard Hughes2015-02-021-0/+13
| | | | This avoids opening every package at startup just to check the architecture.
* Add the extra child deps to the main packageRichard Hughes2015-01-301-3/+15
| | | | | | This means if X depends on X-libs, and X-libs depends on GTK-3, then X should have the modern toolkit kudo. This means switching around the API a bit so that we can add deps after the AsbPackage has been created.
* Make the icon tarball optionalRichard Hughes2015-01-261-0/+2
| | | | | | | In some cases, e.g. for ostree and xdg-app we want the icons uploaded as indervidual files rather than as one huge tarball. Add --icons-dir and --uncompressed-icons to appstream-builder to support this.
* Make the failed AppStream metadata optionalRichard Hughes2015-01-241-14/+14
| | | | | | | Also, clean up a lot of booleans into one sane bitfield. The libappstream-builder library isn't API stable and has no external users, so we can move things around a bit without worrying.
* Add OSTree supportRichard Hughes2015-01-231-3/+4
|
* trivial: Fix 'make distcheck' now the composite plugin has goneRichard Hughes2015-01-171-31/+26
|
* Assume that stock icons are available in HiDPI sizesRichard Hughes2014-12-181-0/+6
|
* Add an --origin option to appstream-builderRichard Hughes2014-12-171-11/+13
| | | | | | | By splitting up the origin and basename properties we can have files with a predictable basename and the correct origin. Now, most people will want to invoke appstream-builder with --origin=foo and leave --basename to the default of 'appstream'.
* Output the full filename for local iconsRichard Hughes2014-12-101-1/+11
| | | | This is the same as the recent 'remote' icon fix.
* Preserve the URL for remote icon types and filename for local iconsRichard Hughes2014-12-091-0/+72
|
* Do not generate metadata with an icon prefixRichard Hughes2014-10-291-5/+5
| | | | Continue to accept names with or without a prefix in the name for compat.
* Add --veto-ignore to appstream-builderRichard Hughes2014-10-231-1/+1
| | | | This allows supression of vetos that would otherwise blacklist an application.
* Release version 0.3.1appstream_glib_0_3_1Richard Hughes2014-10-211-0/+2
|
* Write the screenshot priority in the XML fileRichard Hughes2014-10-201-2/+2
| | | | We need this if we're loading in old metadata.
* Sort the screenshots with a priority valueRichard Hughes2014-10-201-4/+4
| | | | This ensures we show 'Regular' before 'Italic' for instance.
* Never allow more than one default screenshotRichard Hughes2014-10-201-2/+2
|
* Only process fonts with valid metainfo filesRichard Hughes2014-10-151-3/+78
|
* trivial: Show the unified diff for test failuresRichard Hughes2014-10-151-9/+35
|
* Do not leak applications when building if more than one plugin returns resultsRichard Hughes2014-10-151-1/+34
|
* trivial: Output UTF-8 from the self test programRichard Hughes2014-10-151-0/+2
|
* Include the icon path in the <icon> dataRichard Hughes2014-10-011-3/+3
| | | | | This allows us to avoid one stat() when loading the icon data, and also allows us to check the icons using a unique key.
* Include the width and height in the <icon> tagRichard Hughes2014-10-011-3/+3
|
* trivial: Fix 'make check' after the PaddedIcon metadata additionRichard Hughes2014-09-301-0/+3
|
* Correctly set the icon path when using --old-metadata and --enable-hidpi ↵Richard Hughes2014-09-291-1/+12
| | | | together
* Merge apps with overlapping IDs from the same pkgnameRichard Hughes2014-09-101-43/+63
| | | | | This should work for a lot of fonts and also applications where there are things like level editors and different runtime versions.
* Only get the package data when requiredRichard Hughes2014-08-281-0/+10
| | | | This speeds up reading a large number of packages.
* Do not write <pkgname> into the ignore metadataRichard Hughes2014-08-221-3/+0
| | | | It's never used, so it's just making the file parse take longer.
* Add multiarch packages to the ignore metadataRichard Hughes2014-08-211-2/+41
| | | | Else we end up re-scanning them each md refresh.
* Add a new kudo for high contrast iconsRichard Hughes2014-08-201-2/+2
|
* trivial: Sort the metadata by the full component IDRichard Hughes2014-08-191-20/+20
| | | | The sort order is not predictable if there exists two components like font.ttf and font.otf
* Store vetos in the XML itselfRichard Hughes2014-08-181-1/+63
| | | | | Stop munging these into the decription, as this is fragile and breaks the cache-id loading of the failed metadata.
* Also write the failed metadata when using an old metadata cacheRichard Hughes2014-08-151-12/+5
| | | | | Load the old file at startup, append to it if new applications are found and remove any fixed applications that are now valid.
* Do not abort if the builder-id is differentRichard Hughes2014-08-151-27/+66
| | | | | | We want to be able to change the builder ID without asking rel-eng to run the appstream-builder command manually without --old-metadata. If the ID changes, just re-process all packages as if the previous days metadata never existed.
* Do not store the packages to ignore in the main fileRichard Hughes2014-08-151-15/+17
| | | | | This makes the main files much slower to read by the session client and the additional data is only required on the build servers.
* Add dummy failed applicationsRichard Hughes2014-08-151-7/+51
| | | | This is for when the application fails one of the veto checks.
* Do not write the builder-id in the cache-idRichard Hughes2014-08-151-4/+4
|
* Add self tests for re-using old metadataRichard Hughes2014-08-151-26/+43
|
* Create paths when setting up the AsbContextRichard Hughes2014-08-151-8/+0
| | | | It was pretty magic what was required, and this puts it all in one place.
* Add a self test framework for libappstream-builderRichard Hughes2014-08-121-0/+407