Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | trivial: Fix some typos spotted using codespell | Richard Hughes | 2019-04-08 | 1 | -2/+2 |
| | |||||
* | Use the SPDX-License-Identifier in all source files | Richard Hughes | 2019-02-09 | 1 | -15/+1 |
| | |||||
* | Use as_utils_vercmp_full internally | Kalev Lember | 2019-01-04 | 1 | -2/+2 |
| | | | | | | | | | This fixes, among other things, appdata validation when the version goes from 9.5 to 10, or 0.9 to 1. This partially fixes https://github.com/hughsie/appstream-glib/issues/270 We're still failing to correctly compare "Build 9.5" to "Build 10". | ||||
* | Don't include the path component in the name when parsing the package filename | Richard Hughes | 2018-03-27 | 1 | -5/+2 |
| | | | | | | | | If the guessing fails, we fall back to the arch/rpm/deb-derived name but we don't want to show weird things in the logs. Fixes https://github.com/hughsie/appstream-glib/issues/228, many thanks to Andrew Gunnerson for the initial patch. | ||||
* | Revert "trivial: Correctly truncate existing logfiles" | Richard Hughes | 2017-01-04 | 1 | -81/+34 |
| | | | | | | | | | | | | This reverts commit cefcad4027ada131d322ec578a8e32f3f5652240. Revert "trivial: Fix a critical warning in the self tests" This reverts commit 3e353879b9e24d3aa9a21d5ef0d295d26febafcd. Revert "Write log files in a better way" This reverts commit 342d570825ed01f11bef0d722baec1fa2801964b. | ||||
* | trivial: Correctly truncate existing logfiles | Richard Hughes | 2017-01-04 | 1 | -3/+8 |
| | |||||
* | trivial: Fix a critical warning in the self tests | Richard Hughes | 2017-01-04 | 1 | -0/+4 |
| | |||||
* | Write log files in a better way | Richard Hughes | 2017-01-04 | 1 | -34/+72 |
| | | | | | Appending to a giant string and then flushing it at the end means we waste memory and also don't get any logs if the builder crashes. | ||||
* | trivial: Write debug statements into the logs | Richard Hughes | 2017-01-04 | 1 | -2/+1 |
| | |||||
* | Add two new GCC warnings and fix up signed/unsigned issues | Richard Hughes | 2016-07-25 | 1 | -3/+3 |
| | |||||
* | trivial: Get rid of useless internal-only gtk-doc markup | Richard Hughes | 2016-06-28 | 1 | -12/+0 |
| | |||||
* | Fix AppStream generation when using duplicate .deb packages | Richard Hughes | 2015-12-28 | 1 | -2/+64 |
| | | | | | | | | | For package types without a native klass->compare fall back to something sensible. Also add some self tests for this to make sure this never happens again. Fixes https://github.com/hughsie/appstream-glib/issues/72 | ||||
* | trivial: Drop as-cleanup.h include where not needed | Kalev Lember | 2015-09-08 | 1 | -1/+0 |
| | |||||
* | Use GLib's cleanup functions instead of libgsystem's | Kalev Lember | 2015-09-08 | 1 | -4/+4 |
| | | | | | | | We still have a few types that don't support g_autoptr(), but very very close to having everything ported over. This also bumps gdk-pixbuf dep to 2.31.5 for the cleanup macro support. | ||||
* | libappstream-builder: Port to G_DECLARE_DERIVABLE_TYPE macro | Kalev Lember | 2015-09-08 | 1 | -3/+2 |
| | |||||
* | Fix a crash when more than one thread tries to ensure the same package | Richard Hughes | 2015-02-04 | 1 | -4/+18 |
| | | | | | | 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 possible | Richard Hughes | 2015-02-02 | 1 | -0/+52 |
| | | | | This avoids opening every package at startup just to check the architecture. | ||||
* | trivial: Add asb_package_get_version() | Richard Hughes | 2015-02-02 | 1 | -0/+17 |
| | |||||
* | Only open the package when required | Richard Hughes | 2015-02-02 | 1 | -4/+19 |
| | | | | This reduces the peak RSS by about 15% typically. | ||||
* | Clear the dep list and the file list if we've finished with the package | Richard Hughes | 2015-02-02 | 1 | -0/+21 |
| | | | | This is a simple way to further decrease the peak RSS value by a few hundred MB. | ||||
* | Close the packages after they have been processed | Richard Hughes | 2015-02-02 | 1 | -0/+40 |
| | | | | | | | | | This means we have to re-open the files for the few packages used as extra-packages to other packages, but means we keep the RSS value to a sane value for a large number of packages. We can't go above 4GB RSS for Fedora... This also means we spend less time 'shutting down' as the packages have typically been released as part of the task, rather when the context exits. | ||||
* | trivial: Do not allocate 1k of log space for each package at startup | Richard Hughes | 2015-02-02 | 1 | -1/+1 |
| | |||||
* | trivial: Do not ensure if there is nothing left to do | Richard Hughes | 2015-02-02 | 1 | -0/+4 |
| | |||||
* | Add the extra child deps to the main package | Richard Hughes | 2015-01-30 | 1 | -12/+12 |
| | | | | | | 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. | ||||
* | trivial: Add asb_package_get_kind() | Richard Hughes | 2015-01-23 | 1 | -0/+34 |
| | | | | We'll need this for the bundle work that's coming up. | ||||
* | Add the VCS information to the AppStream metadata | Richard Hughes | 2014-12-17 | 1 | -0/+38 |
| | | | | Resolves: https://github.com/hughsie/appstream-glib/issues/27 | ||||
* | trivial: Don't show warnings when doing distcheck | Richard Hughes | 2014-11-04 | 1 | -1/+1 |
| | | | | | It seems that the compiler really does require an initializer when using the _cleanup_ macros. | ||||
* | Add some locking when outputting logs from multiple threads | Richard Hughes | 2014-10-15 | 1 | -0/+6 |
| | |||||
* | trivial: Use a lowercase log index name | Richard Hughes | 2014-10-13 | 1 | -1/+1 |
| | |||||
* | trivial: Don't put 2600 log files in the same directory | Richard Hughes | 2014-10-13 | 1 | -3/+7 |
| | |||||
* | Flush the package log again after the metadata write | Richard Hughes | 2014-09-11 | 1 | -0/+6 |
| | | | | | | We also need to check if there have been any more additions, skipping the write if the file on disk isn't going to be changed. This allows us to capture *all* the merge information after the task has been finished. | ||||
* | Only get the package data when required | Richard Hughes | 2014-08-28 | 1 | -0/+44 |
| | | | | This speeds up reading a large number of packages. | ||||
* | Include the architecture in the failed component ID | Richard Hughes | 2014-08-21 | 1 | -0/+52 |
| | | | | | Some packages in Fedora repos are multiarch, and we want to include both entries in the failed metadata. | ||||
* | trivial: Do not write a log if LogDir is not set | Richard Hughes | 2014-08-12 | 1 | -1/+5 |
| | |||||
* | Add support for <source_pkgname> which will be in AppStream 0.8 | Richard Hughes | 2014-07-29 | 1 | -7/+44 |
| | |||||
* | Add asb_package_new() | Richard Hughes | 2014-07-08 | 1 | -0/+20 |
| | |||||
* | Add libappstream-builder from the createrepo_as project | Richard Hughes | 2014-06-17 | 1 | -0/+780 |