[Pkg-libvirt-commits] [Git][libvirt-team/libosinfo][debian/sid] 151 commits: Post release version bump to 1.8.0

Guido Günther gitlab at salsa.debian.org
Wed Jan 20 19:09:32 GMT 2021



Guido Günther pushed to branch debian/sid at Libvirt Packaging Team / libosinfo


Commits:
73027ab6 by Fabiano Fidêncio at 2019-12-04T15:07:06+01:00
Post release version bump to 1.8.0

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
17fd5452 by Roman Bogorodskiy at 2019-12-09T00:09:05+01:00
meson: respect mandir option

Construct man installation dir from libosinfo_mandir instead of
libosinfo_datadir.

Signed-off-by: Roman Bogorodskiy <bogorodskiy at gmail.com>
Reviewed-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
dbcfd09d by Andrea Bolognani at 2019-12-11T17:26:23+01:00
ci: Update name for Ubuntu images

The corresponding libvirt-jenkins-ci commit is f289e64a5fd9.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
9a855060 by Fabiano Fidêncio at 2019-12-12T10:31:14+01:00
ci: Add CentOS 8 container

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
27cc7e31 by Fabiano Fidêncio at 2019-12-18T13:28:22+00:00
Add CONTRIBUTING.md

Let's follow osinfo-db example and have a contributing guide, targetting
both contributors and commiters.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
46db2e23 by Fabiano Fidêncio at 2019-12-18T13:28:22+00:00
ci: Add a job to enforce DCO Signed-off-by

This work is a copy-and-paste from what's been done by Daniel P. Berrangé
on https://gitlab.com/bichon-project/bichon

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
4b8f87c2 by Fabiano Fidêncio at 2020-01-03T17:16:58+01:00
avatar_format: Don't use deprecated annotations

Both Type and Transfer are deprecated and should be replaced by (type
TYPE) (transfer MODE), otherwise the following warnings will be shown:
```
../osinfo/osinfo_avatar_format.c:102: Warning: Libosinfo: GObject-Introspection specific GTK-Doc tag "Type" has been deprecated, please use annotations on the identifier instead:
     * Type: GLib.List(utf8)
       ^
../osinfo/osinfo_avatar_format.c:103: Warning: Libosinfo: GObject-Introspection specific GTK-Doc tag "Transfer" has been deprecated, please use annotations on the identifier instead:
     * Transfer: container
       ^
```

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
86fb2c6d by Fabiano Fidêncio at 2020-01-03T17:19:08+01:00
os_variant: Fix osinfo_os_variant_new() annotation

The extra line between the function name and its first parameter causes
the following warning:
```
../osinfo/osinfo_os_variant.c:129: Warning: Libosinfo: "@id" parameter unexpected at this location:
 * @id: the id of the os variant to be created
    ^
```

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
07b9bb57 by Fabiano Fidêncio at 2020-01-03T17:22:39+01:00
media: Don't use deprecated annotations

Both Type and Transfer are deprecated and should be replaced by (type
TYPE) (transfer MODE), otherwise the following warnings will be shown:
```
../osinfo/osinfo_media.c:657: Warning: Libosinfo: GObject-Introspection specific GTK-Doc tag "Type" has been deprecated, please use annotations on the identifier instead:
     * Type: GLib.List(utf8)
       ^
../osinfo/osinfo_media.c:658: Warning: Libosinfo: GObject-Introspection specific GTK-Doc tag "Transfer" has been deprecated, please use annotations on the identifier instead:
     * Transfer: container
       ^
```

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
f4bfab66 by Fabiano Fidêncio at 2020-01-03T17:23:51+01:00
media: Don't use invalid "transfer" annotation

"transfer" annotation shouldn't be used with gint or gint64, otherwise
the following warnings will be shown:
```
../osinfo/osinfo_media.c:1635: Warning: Libosinfo: invalid "transfer" annotation for gint: only valid for array, struct, union, boxed, object and interface types
../osinfo/osinfo_media.c:1768: Warning: Libosinfo: invalid "transfer" annotation for gint64: only valid for array, struct, union, boxed, object and interface types
```

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
9f5b42fc by Fabiano Fidêncio at 2020-01-03T17:25:45+01:00
tree: Fix osinfo_tree_new() annotation

The extra line between the function name and its first parameter causes
the following warning:
```
../osinfo/osinfo_tree.c:467: Warning: Libosinfo: "@id" parameter unexpected at this location:
 * @id: the id of the tree to be created
    ^
```

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
1474db95 by Fabiano Fidêncio at 2020-01-03T17:26:45+01:00
tree: Fix typo in osinfo_tree_new() annotation

trasfer -> transfer, otherwise the following warning will be shown:
```
../osinfo/osinfo_tree.c:472: Warning: Libosinfo: unknown annotation: trasfer
```

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
f2712b0a by Fabiano Fidêncio at 2020-01-03T17:28:13+01:00
db: Remove useless /** PUBLIC METHODS */ comment

The comment is not exactly helpful and causes the following GTK-Doc
error:
```
../osinfo/osinfo_db.c:183: Error: Libosinfo: Skipping invalid GTK-Doc comment block:
/** PUBLIC METHODS */
^
```

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
a557c298 by Fabiano Fidêncio at 2020-01-03T17:30:17+01:00
loader: Remove ueseless /** PUBLIC METHODS */ comment

The comment is not exactly helpful and causes the following GTK-Doc
error:
```
../osinfo/osinfo_loader.c:133: Error: Libosinfo: Skipping invalid GTK-Doc comment block:
/** PUBLIC METHODS */
^
```

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
3dba1d28 by Fabiano Fidêncio at 2020-01-03T17:32:12+01:00
install_config_param: Move the "Since: " annotation

Let's move the "Since: " annotation to the end of the comment block,
otherwise the following warning will be shown:
```
../osinfo/osinfo_install_config_param.h:50: Warning: Libosinfo: "@OSINFO_INSTALL_CONFIG_PARAM_POLICY_NONE" parameter unexpected at this location:
 * @OSINFO_INSTALL_CONFIG_PARAM_POLICY_NONE: no policy defined
    ^
```

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
22a43efc by Fabiano Fidêncio at 2020-01-04T00:02:09+01:00
install_config_param: Don't use invalid "transfer" annotation

"transfer" annotation shouldn't be used with gboolean or enums, causing
the following warnings:
```
../osinfo/osinfo_install_config_param.c:252: Warning: Libosinfo: invalid "transfer" annotation for gboolean: only valid for array, struct, union, boxed, object and interface types
../osinfo/osinfo_install_config_param.c:267: Warning: Libosinfo: invalid "transfer" annotation for gboolean: only valid for array, struct, union, boxed, object and interface types
```

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
c49de291 by Fabiano Fidêncio at 2020-01-04T00:02:09+01:00
install_config_param: Fix annotation for _get_value_map()

The function name was wrong, causing the following warning:
```
../osinfo/osinfo_install_config_param.h:94: Warning: Libosinfo: osinfo_install_config_param_get_value_map: return value: Missing (transfer) annotation
```

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
b106bd22 by Fabiano Fidêncio at 2020-01-04T00:02:09+01:00
install_script: Move the "Since: " annotation

Let's move the "Since: " annotation to the end of the comment blocks,
otherwise the following warnings will be shown:
```
../osinfo/osinfo_install_script.h:100: Warning: Libosinfo: "@OSINFO_DEVICE_DRIVER_SIGNING_REQ_NONE" parameter unexpected at this location:
 * @OSINFO_DEVICE_DRIVER_SIGNING_REQ_NONE: Script do not require device drivers
    ^
../osinfo/osinfo_install_script.h:123: Warning: Libosinfo: "@OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_CDROM" parameter unexpected at this location:
 * @OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_CDROM: Support injection of the
    ^
../osinfo/osinfo_install_script.h:145: Warning: Libosinfo: "@OSINFO_INSTALL_SCRIPT_INSTALLATION_SOURCE_MEDIA" parameter unexpected at this location:
 * @OSINFO_INSTALL_SCRIPT_INSTALLATION_SOURCE_MEDIA: A media will be used as
    ^
```

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
a1547279 by Fabiano Fidêncio at 2020-01-04T00:02:09+01:00
tree: Move the "Since: " annotation

Let's move the "Since: " annotation to the end of the comment block,
otherwise the following warning will be shown:
```
../osinfo/osinfo_tree.h:41: Warning: Libosinfo: "@OSINFO_TREE_ERROR_NO_TREEINFO" parameter unexpected at this location:
 * @OSINFO_TREE_ERROR_NO_TREEINFO: No treeinfo found;
    ^
```

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
be1ed75e by Fabiano Fidêncio at 2020-01-04T00:02:09+01:00
os: Move the "Since: " annotation

The "Since: " annotation should be *always* added to the end of the
comment block. More than that, multiplce "Since: " annotations cannot be
part of a same comment block and in order to solve that, let's avoid
adding a "Since: " in the end of the block, but explicitly mention when
each of the values were added.

By taking this approach, the following warnings can be avoided:
```
../osinfo/osinfo_os.h:90: Warning: Libosinfo: "@OSINFO_RELEASE_STATUS_RELEASED" parameter unexpected at this location:
 * @OSINFO_RELEASE_STATUS_RELEASED: A released OS.
    ^
../osinfo/osinfo_os.h:96: Error: Libosinfo: multiple "Since:" tags for identifier "OsinfoReleaseStatus":
 * Since: 1.4.0
   ^
../osinfo/osinfo_os.h:97: Warning: Libosinfo: "@OSINFO_RELEASE_STATUS_ROLLING" parameter unexpected at this location:
 * @OSINFO_RELEASE_STATUS_ROLLING: A rolling version of an OS and thus with no
    ^
```

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
4b88b5ca by Fabiano Fidêncio at 2020-01-04T00:02:09+01:00
install_config: Don't use different variable names in .c and .h

The tz variable, used in the source file, is declared in the header file
as timezone. Let's just use the same name used in the header as it's
more descriptive.

By doing so, the following GTK-Doc warning is fixed:
```
../osinfo/osinfo_install_config.c:231: Warning: Libosinfo: osinfo_install_config_set_l10n_timezone: unknown parameter 'tz' in documentation comment, should be 'timezone'
```

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
7a1e523a by Fabiano Fidêncio at 2020-01-04T00:02:09+01:00
product: Use product instead of prod as argument name

Header, source, and documentation were not matching with regarding to
the argument product name.

Let's standardise them and use product all over the place. By doing this
the following warnings will be fixed:
```
../osinfo/osinfo_product.c:318: Warning: Libosinfo: osinfo_product_get_codename: unknown parameter 'product' in documentation comment, should be 'prod'
../osinfo/osinfo_product.c:329: Warning: Libosinfo: osinfo_product_get_release_date_string: unknown parameter 'product' in documentation comment, should be 'prod'
../osinfo/osinfo_product.c:342: Warning: Libosinfo: osinfo_product_get_eol_date_string: unknown parameter 'product' in documentation comment, should be 'prod'
../osinfo/osinfo_product.c:369: Warning: Libosinfo: osinfo_product_get_release_date: unknown parameter 'product' in documentation comment, should be 'prod'
../osinfo/osinfo_product.c:388: Warning: Libosinfo: osinfo_product_get_eol_date: unknown parameter 'product' in documentation comment, should be 'prod'
```

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
1c80d841 by Fabiano Fidêncio at 2020-01-04T00:02:09+01:00
loader: Introduce OsinfoError enum

Let's create an OsinfoError enum instead of just using 0 as the error
type. This solves the following instrospection warning:
```
<unknown>:: Warning: Libosinfo: (ErrorQuarkFunction)error_quark: osinfo_error_quark: Couldn't find corresponding enumeration
```

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
f9516e43 by Daniel P. Berrangé at 2020-01-07T10:32:01+00:00
po: refresh translations from zanata

Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>

- - - - -
b89cc222 by Fabiano Fidêncio at 2020-01-07T10:48:05+00:00
po: Remove empty files

https://gitlab.com/libosinfo/libosinfo/issues/40

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
975d016f by Antoni Bella Pérez at 2020-01-09T23:30:57+01:00
Translated using Weblate (Catalan)

Currently translated at 88.1% (148 of 168 strings)

Translation: libosinfo/libosinfo
Translate-URL: https://translate.stg.fedoraproject.org/projects/libosinfo/libosinfo/ca/
Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>

- - - - -
0baa3d3a by Fabiano Fidêncio at 2020-01-10T11:57:19+01:00
Partially revert "list: Update GObject boilerplate"

This partially reverts commit 706b6fd0d97ed572d92c4a33882605d561ebe3c8,
which introduced an ABI breakage by using G_DECLARE_DERIVABLE_TYPE when
declaring an OsinfoList.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
ec779543 by Fabiano Fidêncio at 2020-01-10T12:37:14+00:00
ci,centos8: Add DCO check

46db2e234a8ed82 introduced the DCO check. However, the check was not
added to the CentOS 8 container.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
b102d226 by Fabiano Fidêncio at 2020-01-10T12:37:14+00:00
ci: Add openSUSE 15.1 container

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
76243138 by Fabiano Fidêncio at 2020-01-10T12:37:14+00:00
ci,centos8: Build project's RPM

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
f249da08 by Fabiano Fidêncio at 2020-01-10T12:37:14+00:00
ci: Build osinfo-db in all containers

For some reason the job for building osinfo-db was not present in a few
distros' containers.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
3d6422ce by Piotr Drąg at 2020-01-13T08:22:15+01:00
Translated using Weblate (Polish)

Currently translated at 100.0% (168 of 168 strings)

Translation: libosinfo/libosinfo
Translate-URL: https://translate.stg.fedoraproject.org/projects/libosinfo/libosinfo/pl/

Signed-off-by: Piotr Drąg <piotrdrag at gmail.com>

- - - - -
6fdc77a8 by Fabiano Fidêncio at 2020-01-13T15:06:48+01:00
Silence -Wstring-plus-int

The warning is triggered because we're ignoring the "treeinfo-" part of
the OSINFO_TREE_PROP_TREEINFO_* string.

A possible way to fix that, instead of just disabling the warning, would
be doing something like:
```
const char *prop = OSINFO_TREE_PROP_TREEINFO_FAMILY;
prop += strlen("treeinfo-");
```

However, I sincerely do not think it's worth the verbosity of the
solution.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
6cde437b by Piotr Drąg at 2020-01-24T11:49:09+01:00
Translated using Weblate (Polish)

Currently translated at 100.0% (168 of 168 strings)

Translation: libosinfo/libosinfo
Translate-URL: https://translate.stg.fedoraproject.org/projects/libosinfo/libosinfo/pl/

Signed-off-by: Piotr Drąg <piotrdrag at gmail.com>

- - - - -
c7783b06 by Julien Humbert at 2020-01-25T16:16:11+01:00
Translated using Weblate (French)

Currently translated at 100.0% (168 of 168 strings)

Translation: libosinfo/libosinfo
Translate-URL: https://translate.fedoraproject.org/projects/libosinfo/libosinfo/fr/

Signed-off-by: Julien Humbert <julroy67 at gmail.com>

- - - - -
aa43e762 by Fabiano Fidêncio at 2020-01-29T14:38:16+01:00
loader: Avoid conflicting object ids for extension files

Currently, when building the id of some of our objects, we do:
- Loop over the several objects of that type;
  - Concatenate the id of the parent object with the loop index;

By doing this, conflicts can be seen when using more than one extension
file, as osinfo-db does for Windows, where pre and post installable
drivers extension files are used and end up being loaded as we'd do:

- Loop over pre installable drivers;
  - Concatenate the id of the parent object with the loop index;

- Loop over post installable drivers;
  - Concatenate the id of the parent object with the loop index;

In order to avoid such issues, let's also use the filename as part of
the object id, avoiding then conflicts.

It's important to note that the conflict is cause by osinfo_list_add(),
which will replace the object in the list in case some other object with
the very same id is already stored there.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
71047e70 by Julien Humbert at 2020-02-16T10:38:27+01:00
Translated using Weblate (French)

Currently translated at 100.0% (168 of 168 strings)

Translation: libosinfo/libosinfo
Translate-URL: https://translate.fedoraproject.org/projects/libosinfo/libosinfo/fr/

Signed-off-by: Julien Humbert <julroy67 at gmail.com>

- - - - -
07a797c9 by Andrea Bolognani at 2020-02-24T17:33:13+01:00
ci: Temporarily disable MinGW builds

We're going to use dedicated container images for them going
forward, but switching all at once would break CI so let's do it
in two steps: first disable the current builds, then enable the
new ones once the external requirements (container images) are
in place for a smoother transition.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
23e4aea0 by Andrea Bolognani at 2020-02-24T18:29:22+01:00
ci: Perform MinGW builds in dedicated containers

Instead of using the same Fedora 30 container for both native and
MinGW builds, we are now building separate containers tailored for
each scenario. Re-introduce MinGW builds, and have them use the
new container images.

The corresponding libvirt-dockerfiles commit is ea6286acbbfd.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
bcbef387 by Andrea Bolognani at 2020-02-25T15:11:27+01:00
ci: Don't set $PKG_CONFIG_LIBDIR

The pkg-config binary used for MinGW builds is cross-compilation
aware, so it doesn't need us to point it in the right direction
when it comes to globally-installed .pc files.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
fefff9b8 by Fabiano Fidêncio at 2020-02-26T18:57:18+01:00
Add osinfo_firmware_is_supported()

This function has been missed when rebasing 904b65e7a1dda and. right
now, only its declaration in the header file is present.

Pointed out by Pino Toscano.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
11443b8e by Pino Toscano at 2020-02-28T17:30:43+01:00
device-driver: add doc for osinfo_device_driver_get_priority

Signed-off-by: Pino Toscano <ptoscano at redhat.com>

- - - - -
95b7941e by Pino Toscano at 2020-02-28T17:31:52+01:00
firmware: fix doc of osinfo_firmware_get_firmware_type

Signed-off-by: Pino Toscano <ptoscano at redhat.com>

- - - - -
558c01e6 by Pino Toscano at 2020-02-28T17:32:38+01:00
product: fix doc typo

Most probably one rogue s/OS/PRODUCT/ that changed CentOS to
CentPRODUCT.

Signed-off-by: Pino Toscano <ptoscano at redhat.com>

- - - - -
166ab25c by Pino Toscano at 2020-02-28T17:33:33+01:00
Add few missing "Since" in docs

Add the version information for some APIs, so it is easier to know when
they were introduced.

Signed-off-by: Pino Toscano <ptoscano at redhat.com>

- - - - -
313b0735 by Pino Toscano at 2020-02-28T17:42:04+01:00
Fix OsinfoDB typo in docs

Signed-off-by: Pino Toscano <ptoscano at redhat.com>

- - - - -
b43ad3a1 by Pino Toscano at 2020-03-06T16:07:08+01:00
Fix typo in Fabiano' surname

Signed-off-by: Pino Toscano <ptoscano at redhat.com>

- - - - -
61de6857 by Pino Toscano at 2020-03-06T16:11:11+01:00
gitignore: remove almost all old content

Some of the content refers to autotools, which is not used anymore.
Also, meson enforces builddir!=srcdir, so the generated build files are
never directly among the sources.

Hence remove almost all the existing content, as it is not relevant.

Signed-off-by: Pino Toscano <ptoscano at redhat.com>

- - - - -
85cc9004 by Pino Toscano at 2020-03-06T16:47:19+01:00
media: fix docs of OsinfoMediaDetectFlags

Move the "Since" after the description, so the description block
(including the version) is properly handled.

Signed-off-by: Pino Toscano <ptoscano at redhat.com>

- - - - -
bc04ba1d by Fabiano Fidêncio at 2020-03-23T11:49:08+01:00
po: Import libosinfo.pot

Weblate requires the pot file to be commited, in order to be able to add
new translations to the project.

This file has to be updated every time a new string is added.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
053b9809 by Oğuz Ersen at 2020-03-25T17:46:55+01:00
Added translation using Weblate (Turkish)

Signed-off-by: Oğuz Ersen <oguzersen at protonmail.com>

- - - - -
58fcc88a by Oğuz Ersen at 2020-03-26T14:45:13+03:00
osinfo: Fix typo in the "initrd-path" description

"inirtd" -> "initrd"

Signed-off-by: Oğuz Ersen <oguzersen at protonmail.com>

- - - - -
36755f1c by Oğuz Ersen at 2020-03-27T18:38:44+01:00
Translated using Weblate (Turkish)

Currently translated at 100.0% (168 of 168 strings)

Translation: libosinfo/libosinfo
Translate-URL: https://translate.fedoraproject.org/projects/libosinfo/libosinfo/tr/

Signed-off-by: Oğuz Ersen <oguzersen at protonmail.com>

- - - - -
2058ce7b by Andrea Bolognani at 2020-03-30T17:46:06+02:00
gitlab: Don't define $NINJA

Since libvirt-jenkins-ci commit 27cfddee8835, paths to build tools
such as ninja and make are exported in the container's environment
and can be used directly.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
afe4d223 by Andrea Bolognani at 2020-03-30T17:46:06+02:00
gitlab: Use $MAKE

Just like $NINJA, this is defined as part of the container's
environment.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
daea343d by Andrea Bolognani at 2020-03-30T17:46:06+02:00
gitlab: Create job templates

These avoid having to repeat the same build steps over and over.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
541b0255 by Andrea Bolognani at 2020-03-30T17:46:06+02:00
gitlab: Enable ccache usage

The $PATH definition has always included a reference to the symlink
farm that is used to enable transparent ccache usage, but since the
directory itself does not exist in the container image it never did
anything.

Since libvirt-jenkins-ci commit 2563aebb6c5c, container images do
actually contain the symlink directory, so it's finally possible to
enable ccache usage. This requires including the correct directory
in $PATH, as well as telling 1) ccache where to store its data and
2) GitLab that this data should be preserved across jobs.

The exact cache size (50 MB) is sort of arbitrary, but it should
be enough to store build artifacts for both osinfo-db-tools and
libosinfo for the foreseeable future.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
0bf3d843 by Fabiano Fidêncio at 2020-03-31T06:48:45+00:00
media: Fix typo in the "eject-after-install" description

"installtion" should be "installation", as pointed out by Oğuz Ersen.
Together with the change, libosinfo.pot has been regenerated.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
b4c10c34 by Fabiano Fidêncio at 2020-03-31T07:08:44+00:00
tests: Remove invalid release-status test

This should be tested on osinfo-db side and leaving this test here
causes failures in other non-related tests, all of them related to
identify_media, which gets the release-status and ends up hitting the
failures caused by this specific test.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
20f4e518 by Fabiano Fidêncio at 2020-03-31T07:08:44+00:00
db: Match "rolling" distros only as a fallback

Let's only match "rolling" distros as a fallback. The reason we need to
do so is to properly deal with distros as Manjaro, which has a mix of
versioned and rolling entries.

By matching the "rolling" only as a fallback, we ensure we'll have
exhausted all the "versioned" possibilites in the first place.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
659f3efb by Fabiano Fidêncio at 2020-03-31T07:08:44+00:00
tests: Add tests for only matching "rolling" as a fallback

The reason to have this in a different commit from the code is to ease
the backport of the previous patch by the distros which feel like doing
that.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
27cc9466 by Oğuz Ersen at 2020-04-09T15:40:17+02:00
Translated using Weblate (Turkish)

Currently translated at 100.0% (168 of 168 strings)

Translation: libosinfo/libosinfo
Translate-URL: https://translate.fedoraproject.org/projects/libosinfo/libosinfo/tr/

Signed-off-by: Oğuz Ersen <oguzersen at protonmail.com>

- - - - -
094b9678 by Rafael Fonseca at 2020-04-10T16:19:46+02:00
Add API to track distro cloud-init usernames

We already have cloud-init='true' so add a cloud-image-username='foo' to
go with it.

The property has been added to `OsinfoOs` instead of `OsinfoImage`
because it's not expected to change in a per image basis. Instead we can
define it once and inherit it, in the same way that it's done for
kernel-url-argument.

Fixes #39

Signed-off-by: Rafael Fonseca <r4f4rfs at gmail.com>

- - - - -
45a030b5 by Oğuz Ersen at 2020-04-11T17:40:19+02:00
Translated using Weblate (Turkish)

Currently translated at 100.0% (168 of 168 strings)

Translation: libosinfo/libosinfo
Translate-URL: https://translate.fedoraproject.org/projects/libosinfo/libosinfo/tr/

Signed-off-by: Oğuz Ersen <oguzersen at protonmail.com>

- - - - -
c4ca7ae5 by Fabiano Fidêncio at 2020-04-13T16:44:19+00:00
media/tree: Force "wget" user-agent in SoupSession

Spoiler alert, it'll sound insane ... because it is insane. Some servers
treat libsoup user-agent differently than how they treat wget
user-agent.

With the default agent set, Soup would end up downloading the file
containing the redirection information, instead of actually redirecting
to one of the addresses present in that file. While when forcing "wget"
as user-agent, the redirection happens as expected.

This issue was faced at least with CentOS[0] and Manjaro[1] links.

After a talk with Patrick Griffis, he mentioned that:
"I imagine there isn't too much of a problem pretending to be wget. I would
guess the assumption by these services is 'A CLI tool is downloading us and
not a browser' rather than 'wget has unique behavior'.".

Knowing that, let's force "wget" as user-agent on our side.

[0]: http://isoredirect.centos.org/centos/8/isos/x86_64/CentOS-8.1.1911-x86_64-dvd1.iso
[1]: https://osdn.net/dl/manjaro/manjaro-gnome-19.0.2-200312-linux54.iso

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
1945ec80 by Fabiano Fidêncio at 2020-04-13T23:03:37+02:00
Remove Authors

Authors are not often updated and do not reflect the current state of
the code.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
f1fc7c0f by Fabiano Fidêncio at 2020-04-13T23:03:37+02:00
Remove Fabiano Fidêncio's Copyright statements

Does not make sense to keep my own Copyright statements in 3 files of
the project, which were added during 2012's Google Summer of Code.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
564edc8e by Fabiano Fidêncio at 2020-04-13T23:03:37+02:00
Update Copyright year

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
f991e9f4 by Fabiano Fidêncio at 2020-04-13T23:03:37+02:00
tests: Remove duplicated tests

There's no reason to keep testing union, filter, and intersection on
types which inherit from OsinfoList. Mainly considering test-list
already test those.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
09b0b64c by Fabiano Fidêncio at 2020-04-13T23:03:37+02:00
avatar_format: Remove unused OSINFO_AVATAR_FORMAT_GET_PRIVATE()

OsinfoAvatarFormat does not have a private member.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
c8b4c6af by Fabiano Fidêncio at 2020-04-13T23:03:37+02:00
datamap: Rename _init() argument name

"list" was a c&p from when OsinfoDatamap was introduced.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
195df737 by Fabiano Fidêncio at 2020-04-13T23:03:37+02:00
image: Add cloud-init property

cloud-init has been added on 81c43558687b40d but the property has never
been added.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
aef745c7 by Fabiano Fidêncio at 2020-04-13T23:03:37+02:00
Enforce '-Wdeclaration-after-statement'

Enforcing that variables are only declared in the beginning of a block
makes the code easier to read.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
54246f87 by Rafael Fonseca at 2020-04-13T23:03:57+02:00
Do not error out when inlining fails

-Winline causes error in GCC10, e.g

error: inlining failed in call to ‘OSINFO_LIST’: call is unlikely and code size would grow [-Werror=inline]

That particular macro, which will be introduced in the next commit, is
bas based on GLib own macros and it just so happens that if they were
also compiled with -Winline, the same error would happen [1]. Instead,
let just suppress those warnings.

[1] https://gitlab.gnome.org/GNOME/glib/issues/2042

Signed-off-by: Rafael Fonseca <r4f4rfs at gmail.com>

- - - - -
19962394 by Fabiano Fidêncio at 2020-04-13T23:05:24+02:00
macros: Add OSINFO_DECLARE_TYPE* macros

OSINFO_DECLARE_TYPE is nothing else than a define to
G_DECLARE_DERIVABLE_TYPE macro from GLib.

OSINFO_DECLARE_TYPE_WITH_PRIVATE does exactly the same thing as
OSINFO_DECLARE_TYPE plus adds a private structure to the declared type
structure.

OSINFO_DECLARE_TYPE_WITH_PRIVATE_AND_CLASS does exactly the same thing
as OSINFO_DECLARE_TYPE_WITH_PRIVATE plus declares the class structure of
the declared type.

Using those new macros will help us to reduce a lot the GLib boilerplate
in our codebase.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
ae62d803 by Fabiano Fidêncio at 2020-04-13T23:05:24+02:00
Use OSINFO_DECLARE_TYPE* macros

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
c9a9ce18 by Fabiano Fidêncio at 2020-04-13T23:05:24+02:00
Use G_DEFINE_*_WITH_PRIVATE

Together with this change, let's also get rid of our own _GET_PRIVATE()
macros and use _get_instance_private() method instead.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
dc0dbdbf by Fabiano Fidêncio at 2020-04-13T23:05:24+02:00
Use g_object_class_install_properties()

Using _install_properties() helps to keep the code cleaner and also
reduces the chance of having wrong props used.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
c39ce323 by Fabiano Fidêncio at 2020-04-13T23:05:24+02:00
Group all GObjectClass override methods

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
f879842b by Fabiano Fidêncio at 2020-04-13T23:05:24+02:00
entity: Check entity in osinfo_entity_clear_param()

Let's just add a safety check in _clear_param().

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
1ada2a59 by Fabiano Fidêncio at 2020-04-13T23:05:24+02:00
install_config_param: Use g_clear_object in _set_value_map()

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
ebddbd71 by Fabiano Fidêncio at 2020-04-13T23:05:24+02:00
db: Remove useless osinfo_db_finalize() declaration

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
af20f16d by Fabiano Fidêncio at 2020-04-13T23:05:24+02:00
filter: Check filter in _clear_constraint{,s}

Let's just add a safety check in the _clear_constraint() and
_clear_constraints() functions.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
9aafc00a by Fabiano Fidêncio at 2020-04-13T23:05:24+02:00
devicelinkfilter: Check devicelinkfilter in _get_target_filter()

Let's just add a safety check in the _get_target_filter() function.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
f3196925 by Fabiano Fidêncio at 2020-04-13T23:05:24+02:00
productfilter: Check productfilter in _clear_product_constraint{,s}

Let's just add a safety check in the _clear_product_constraint() and
_clear_product_constraints() functions.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
0d5c3573 by Rafael Fonseca at 2020-04-13T23:05:24+02:00
osinfo_macros: auto-cleanup func for module class

This will allow to manage the ownership of the class when reffing it
without having to cast it to GTypeClass.

See: https://gitlab.gnome.org/GNOME/glib/-/commit/ab25fa42cc6906df31352877154bb7b07f39552f

Signed-off-by: Rafael Fonseca <r4f4rfs at gmail.com>

- - - - -
7a14899b by Rafael Fonseca at 2020-04-13T23:05:25+02:00
osinfo_macros: mark inline functions as UNUSED

Fixes -Werror=unused-function with clang.

See: https://gitlab.gnome.org/GNOME/glib/-/commit/90f93a64f26666b955fdafb56acab54e596f4cc5

Signed-off-by: Rafael Fonseca <r4f4rfs at gmail.com>

- - - - -
b53e4e48 by Oğuz Ersen at 2020-04-15T11:40:23+02:00
Translated using Weblate (Turkish)

Currently translated at 100.0% (168 of 168 strings)

Translation: libosinfo/libosinfo
Translate-URL: https://translate.fedoraproject.org/projects/libosinfo/libosinfo/tr/

Signed-off-by: Oğuz Ersen <oguzersen at protonmail.com>

- - - - -
c493cce2 by Fabiano Fidêncio at 2020-04-15T21:22:22+02:00
Add "osinfo_macros.h" to the installed headers

As the macros defined there are used in the public headers, this header
must be installed, otherwise we'll face errors such as:
```
/home/valabot/gnome3/include/libosinfo-1.0/osinfo/osinfo_entity.h:26:11: fatal error: osinfo/osinfo_macros.h: No such file or directory
   26 | # include "osinfo/osinfo_macros.h"
      |           ^~~~~~~~~~~~~~~~~~~~~~~~
```

Reported-by: Rico Tzschichholz <ricotz at ubuntu.com>
Signed-off-by: Rico Tzschichholz <ricotz at ubuntu.com>
Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
f0db2fae by Oğuz Ersen at 2020-04-16T20:40:45+02:00
Translated using Weblate (Turkish)

Currently translated at 100.0% (168 of 168 strings)

Translation: libosinfo/libosinfo
Translate-URL: https://translate.fedoraproject.org/projects/libosinfo/libosinfo/tr/

Signed-off-by: Oğuz Ersen <oguzersen at protonmail.com>

- - - - -
99537dfe by Andrea Bolognani at 2020-04-17T23:42:07+02:00
gitignore: Minimize

Things like editor backup files belong in the user's own ignore
file rather than in the project's.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
8cc8eabe by Andrea Bolognani at 2020-04-17T23:42:09+02:00
prepare-release: Use correct spec file for MinGW RPMs

Currently we're just building the very same spec file twice.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
a1f3573d by Andrea Bolognani at 2020-04-17T23:42:11+02:00
prepare-release: Remove empty lines

These are unnecessary and inconsistent with the style used in the
rest of the script.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
953e45d2 by Andrea Bolognani at 2020-04-17T23:42:13+02:00
prepare-release: Remove unnecessary cleanup

We already remove all of build/ at the beginning of the build
process, so there's no need to manually remove any of its subdirs
here.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
ed449256 by Andrea Bolognani at 2020-04-17T23:42:14+02:00
prepare-release: Drop RESULTS

This is a leftover from when the script was used to perform
automated tests: in that context, singling out the output of the
test suite made sense, but now we're no longer particularly
interested in it.

As a bonus, this allows us to drop a non-trivial chunk of fairly
obscure POSIX shell compatibility code.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
0a391fd5 by Andrea Bolognani at 2020-04-17T23:42:16+02:00
prepare-release: Ensure rpmbuild is executable

Using 'test -x' is more appropriate than 'test -r' for programs.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
2667e143 by Andrea Bolognani at 2020-04-20T09:18:15+02:00
prepare-release: Use DESTDIR when installing

DESTDIR and --prefix are similar but serve distinct purposes: in
particular, the latter is intended for modifications that will
persist after installation, eg. storing binaries under /usr/bin
instead of /usr/local/bin, while the former is just a temporary
change that can be easily reverted, eg. stashing files in an
intermediate, unprivileged directory while building a package.

Our needs during the release process are closer to what DESTDIR is
designed for, so let's use that.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
718617fd by Andrea Bolognani at 2020-04-20T09:18:36+02:00
prepare-release: Use a local directory for installation

The current release process stores files inside the user's home
directory, which is just bad manners. Use a local directory instead.

Since we no longer have to care about the destination directory
looking like an actual root filesystem, we can make the paths used
when installing MinGW builds shorter.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
dd83100a by Andrea Bolognani at 2020-04-20T09:18:38+02:00
prepare-release: Use a local directory for rpmbuild

The current release process stores files inside the user's rpmbuild
directory, usually part of $HOME, which is just bad manners. Use a
local directory instead.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
1b8e5715 by Andrea Bolognani at 2020-04-20T09:18:38+02:00
prepare-release: Define BUILD_ROOT

This fits nicely with INSTALL_ROOT and the recently-introduced
RPMBUILD_ROOT; additionally, since $BUILD_ROOT is an absolute path,
we can use it directly as _sourcedir when calling rpmbuild.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
8ba5cd3f by Andrea Bolognani at 2020-04-20T09:18:38+02:00
prepare-release: Define DIST_ROOT

This is the subdirectory of BUILD_ROOT where the release archive
is generated by Meson: it's already used multiple times, and we're
about to introduce another one, so let's give it its own variable.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
2a4847c1 by Andrea Bolognani at 2020-04-20T09:18:38+02:00
prepare-release: Move release archive out of DIST_ROOT

If the build has been successful, we can fish the release archive
out of DIST_ROOT and expose it in the top-level source directory,
just like autotools would do, for extra convenience.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
3a0d4902 by Gianluca Sforna at 2020-04-21T10:40:22+02:00
Translated using Weblate (Italian)

Currently translated at 97.6% (164 of 168 strings)

Translation: libosinfo/libosinfo
Translate-URL: https://translate.fedoraproject.org/projects/libosinfo/libosinfo/it/

Signed-off-by: Gianluca Sforna <giallu at gmail.com>

- - - - -
725834bb by Andika Triwidada at 2020-04-30T09:25:18+02:00
Added translation using Weblate (Indonesian)

Signed-off-by: Andika Triwidada <andika at gmail.com>

- - - - -
2dbd57ae by Andrea Bolognani at 2020-04-30T20:49:26+02:00
ci: Move MinGW builds from Fedora 30 to Fedora Rawhide

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
65e8b6bd by Andrea Bolognani at 2020-04-30T20:49:47+02:00
ci: Move builds from Fedora 30 to Fedora 32

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
97cbe562 by Andrea Bolognani at 2020-04-30T20:50:19+02:00
ci: Move builds from Ubuntu 16.04 to Ubuntu 20.04

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
2c815152 by Andrea Bolognani at 2020-05-01T22:20:24+02:00
ci: Make RPM job skippable

We're sort of cheating by exiting right away when asked to skip
the RPM job, but we know that it's always going to be the last job
in a script and we currently have no need to skip any other job,
so let's start with the simplest possible implementation and
consider something more complex if and when the need arises.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
40c20999 by Andrea Bolognani at 2020-05-01T22:22:52+02:00
ci: Use standard template for CentOS 7 and openSUSE 15.1

The only difference between the open-coded job definition currently
in use for these target platforms and the standard template is that
the former don't include the RPM build job, but now that we have a
way to skip that part selectively we can remove these special cases.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
87b47c53 by Andrea Bolognani at 2020-05-01T22:22:55+02:00
ci: Introduce pipeline stages

There's only a single stage for now.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
64c830a4 by Andrea Bolognani at 2020-05-01T22:22:55+02:00
ci: Move more information to the job templates

In particular, we can avoid repeating the parts of the container
image name that are always the same.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
2b9d69d6 by Andrea Bolognani at 2020-05-01T22:22:55+02:00
ci: Split off mingw-environment

Follow the environment/script split, like we do everywhere else.

We can have a single environment that works both for mingw32 and
mingw64 builds because the only difference between the two is
which ABI they target, and we can obtain that piece of information
from the $ABI environment variable that's baked into the container
images.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
557f57ae by Andrea Bolognani at 2020-05-01T22:22:55+02:00
ci: Merge templates into mingw-build-job

The mingw32 and mingw64 templates are basically identical at this
point, so let's merge them into a generic one.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
a805c473 by Andrea Bolognani at 2020-05-01T22:22:55+02:00
ci: Introduce multilib

This is a bit yucky, but it's only temporary: like the target ABI,
this information is tied to the container image and as such should
be baked into it. When that happens, we can simply drop this
altogether, but in the meantime this bit of scripting allow us to
have a single environment instead of two.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
aafa95bf by Andrea Bolognani at 2020-05-01T22:22:55+02:00
ci: Merge templates into native-build-job

At this point, the only difference between the existing templates
is that one of them includes the RPM build job, and since we now
have a way to skip that part for specific targets, we can get rid
of the duplication and merge them into a single template.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
9cf3dfe5 by Andrea Bolognani at 2020-05-01T22:22:55+02:00
ci: Use 'check-dco' container for DCO checking

This container image, which has been created for this specific
purporse and is already used by many projects under the libvirt
umbrella, contains a nicer Python implementation of the
require-dco.sh script that's guaranteed to be kept up to date.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
539a5ab5 by Andika Triwidada at 2020-05-03T10:07:18+02:00
Translated using Weblate (Indonesian)

Currently translated at 0.5% (1 of 167 strings)

Translation: libosinfo/libosinfo
Translate-URL: https://translate.fedoraproject.org/projects/libosinfo/libosinfo/id/

Signed-off-by: Andika Triwidada <andika at gmail.com>

- - - - -
37d99106 by Fabiano Fidêncio at 2020-05-04T10:12:33+02:00
README: MR is the preferred way to submit a patch

Unlikely of what our README mentioned, the preferred way to submit a
patch to libosinfo is opening a Merge Request against our GitLab
project.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
3f346c71 by Pino Toscano at 2020-05-13T13:09:30+02:00
po: regenerate libosinfo.pot

Signed-off-by: Pino Toscano <ptoscano at redhat.com>

- - - - -
24d67d63 by Pino Toscano at 2020-05-13T13:09:30+02:00
Drop Zanata leftovers

libosinfo uses Weblate for translations.

Signed-off-by: Pino Toscano <ptoscano at redhat.com>

- - - - -
b1d159bc by Pino Toscano at 2020-05-13T13:09:30+02:00
po: update LINGUAS

Add tr.

id is not added as it has errors; hope that the update of the catalog
will trigger an update in weblate, generating a correct po file.

Signed-off-by: Pino Toscano <ptoscano at redhat.com>

- - - - -
f1085482 by Daniel P. Berrangé at 2020-05-13T14:34:12+01:00
build-aux: trim obsolete maint rules

Many rules in maint.mk are doing checks related to makefiles, or
autoconf, or gnulib, none of which are used by libosinfo. There
are also many misc rules related to publishing of releases that
are never used. Trimming this out makes the resulting file more
managable.

Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>

- - - - -
82cf14ab by Daniel P. Berrangé at 2020-05-13T14:40:36+01:00
build-aux: merge cfg.mk into maint.mk

Since we took full ownership of a cut down maint.mk there's no
need to keep local additions separately in cfg.mk

This fixes a bug which caused the contents of cfg.mk to be
skipped since the moving of files into the build-aux dir
and switch to meson.

Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>

- - - - -
966324d6 by Daniel P. Berrangé at 2020-05-13T14:43:04+01:00
build-aux: remove GNUmakefile entirely

The only useful bits it still did were setting a couple of variables,
which can be moved into the main maint.mk file.

Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>

- - - - -
560e5b52 by Daniel P. Berrangé at 2020-05-13T14:53:21+01:00
build-aux: rename maint.mk to syntax-check.mk

This name aligns with what the makefile actally does.

Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>

- - - - -
afcf5718 by Daniel P. Berrangé at 2020-05-14T12:24:47+01:00
build-aux: fix references to old maint.mk name

Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>

- - - - -
65790b50 by Daniel P. Berrangé at 2020-05-14T12:25:39+01:00
build-aux: use gmake for syntax-check rules

Previously on FreeBSD the syntax-check rules would be a no-op because
its non-GNU make wouldn't see the GNUmakefile and would report no work
to do:

$ MESON_SOURCE_ROOT=`pwd` build-aux/syntax-check
`syntax-check' is up to date.

Since we moved everything into a syntax-check.mk that we call explicitly
though, we're the non-GNU make tries to execute rules that depend on
GNU make features.

Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>

- - - - -
bbe8bd65 by Weblate at 2020-05-20T22:20:14+02:00
Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: libosinfo/libosinfo
Translate-URL: https://translate.fedoraproject.org/projects/libosinfo/libosinfo/
Signed-off-by: Weblate <noreply at weblate.org>

- - - - -
e58da2f7 by Pino Toscano at 2020-05-20T22:41:12+02:00
po: remove duplicated msgid in 'id' catalog

Fix it manually, otherwise gettext tools cannot work with it.

Signed-off-by: Pino Toscano <ptoscano at redhat.com>

- - - - -
36657125 by Weblate at 2020-05-20T22:42:20+02:00
Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: libosinfo/libosinfo
Translate-URL: https://translate.fedoraproject.org/projects/libosinfo/libosinfo/
Signed-off-by: Weblate <noreply at weblate.org>

- - - - -
17a22e2a by Weblate at 2020-05-20T22:43:20+02:00
Update translation files

Updated by "Update LINGUAS file" hook in Weblate.

Translation: libosinfo/libosinfo
Translate-URL: https://translate.fedoraproject.org/projects/libosinfo/libosinfo/
Signed-off-by: Weblate <noreply at weblate.org>

- - - - -
b98e7042 by Manuela Silva at 2020-05-21T13:19:53+02:00
Added translation using Weblate (Portuguese (Portugal))

Signed-off-by: Manuela Silva <mmsrs at sky.com>

- - - - -
e6e4390f by Anonymous at 2020-05-21T16:29:18+02:00
Translated using Weblate (Indonesian)

Currently translated at 1.1% (2 of 169 strings)

Translation: libosinfo/libosinfo
Translate-URL: https://translate.fedoraproject.org/projects/libosinfo/libosinfo/id/

Signed-off-by: Anonymous <noreply at weblate.org>

Translated using Weblate (Polish)

Currently translated at 100.0% (169 of 169 strings)

Translation: libosinfo/libosinfo
Translate-URL: https://translate.fedoraproject.org/projects/libosinfo/libosinfo/pl/

Signed-off-by: Anonymous <noreply at weblate.org>

- - - - -
6d7e775b by Piotr Drąg at 2020-05-21T16:29:20+02:00
Translated using Weblate (Polish)

Currently translated at 100.0% (169 of 169 strings)

Translation: libosinfo/libosinfo
Translate-URL: https://translate.fedoraproject.org/projects/libosinfo/libosinfo/pl/

Signed-off-by: Piotr Drąg <piotrdrag at gmail.com>

- - - - -
1568cb87 by Yuri Chornoivan at 2020-05-22T08:23:43+02:00
Translated using Weblate (Ukrainian)

Currently translated at 100.0% (169 of 169 strings)

Translation: libosinfo/libosinfo
Translate-URL: https://translate.fedoraproject.org/projects/libosinfo/libosinfo/uk/

Signed-off-by: Yuri Chornoivan <yurchor at ukr.net>

- - - - -
932a04e5 by Oğuz Ersen at 2020-05-22T08:23:45+02:00
Translated using Weblate (Turkish)

Currently translated at 100.0% (169 of 169 strings)

Translation: libosinfo/libosinfo
Translate-URL: https://translate.fedoraproject.org/projects/libosinfo/libosinfo/tr/

Signed-off-by: Oğuz Ersen <oguzersen at protonmail.com>

- - - - -
6f882091 by Andika Triwidada at 2020-05-22T08:23:48+02:00
Translated using Weblate (Indonesian)

Currently translated at 100.0% (169 of 169 strings)

Translation: libosinfo/libosinfo
Translate-URL: https://translate.fedoraproject.org/projects/libosinfo/libosinfo/id/

Signed-off-by: Andika Triwidada <andika at gmail.com>

- - - - -
f66f4ede by Anonymous at 2020-05-22T08:23:50+02:00
Translated using Weblate (Indonesian)

Currently translated at 100.0% (169 of 169 strings)

Translation: libosinfo/libosinfo
Translate-URL: https://translate.fedoraproject.org/projects/libosinfo/libosinfo/id/

Signed-off-by: Anonymous <noreply at weblate.org>

- - - - -
6fa7e999 by Manuela Silva at 2020-05-22T08:23:52+02:00
Translated using Weblate (Portuguese (Portugal))

Currently translated at 57.9% (98 of 169 strings)

Translation: libosinfo/libosinfo
Translate-URL: https://translate.fedoraproject.org/projects/libosinfo/libosinfo/pt_PT/

Signed-off-by: Manuela Silva <mmsrs at sky.com>

- - - - -
ff1812e0 by Andrea Bolognani at 2020-05-28T18:58:45+02:00
ci: Use GitLab container registry

Instead of using pre-built containers hosted on Quay, build
containers as part of the GitLab CI pipeline and upload them to the
GitLab container registry for later use.

This does not slow down builds, because containers are only rebuilt
when the corresponding Dockerfile has been modified.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>

- - - - -
17a8134a by Julien Humbert at 2020-05-29T10:28:30+02:00
Translated using Weblate (French)

Currently translated at 98.8% (167 of 169 strings)

Translation: libosinfo/libosinfo
Translate-URL: https://translate.fedoraproject.org/projects/libosinfo/libosinfo/fr/

Signed-off-by: Julien Humbert <julroy67 at gmail.com>

- - - - -
5bdf591e by Weblate at 2020-05-29T10:28:32+02:00
Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: libosinfo/libosinfo
Translate-URL: https://translate.fedoraproject.org/projects/libosinfo/libosinfo/
Signed-off-by: Weblate <noreply at weblate.org>

- - - - -
721e5542 by Fabiano Fidêncio at 2020-05-29T14:14:59+00:00
Update NEWS for 1.8.0 release

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>

- - - - -
dc03a4d0 by Guido Günther at 2021-01-20T18:53:36+01:00
Use usb.ids instead of usbutils

We only want the usb-id database

Closes: #979163

- - - - -
023b5b88 by Guido Günther at 2021-01-20T18:56:07+01:00
New upstream version 1.8.0
- - - - -
b7f7604e by Guido Günther at 2021-01-20T18:56:42+01:00
Update upstream source from tag 'upstream/1.8.0'

Update to upstream version '1.8.0'
with Debian dir 363be8b34b52d030fb2c72b0ce426f5c7c97f626

- - - - -
a6f8a05d by Guido Günther at 2021-01-20T18:57:53+01:00
Merge remote-tracking branch 'origin/debian/sid' into debian/sid

- - - - -
ab8291c2 by Guido Günther at 2021-01-20T19:28:43+01:00
Skip all syntax checks

We don't want libosinfo's checks to validate debian/

- - - - -
220fdd41 by Guido Günther at 2021-01-20T19:32:00+01:00
Update symbols file

- - - - -
eb03b4f6 by Guido Günther at 2021-01-20T19:32:27+01:00
d/copyright: Match the current test folder

- - - - -
8ac5ebc6 by Guido Günther at 2021-01-20T19:35:01+01:00
Document changes and release 1.8.0-1

- - - - -


30 changed files:

- AUTHORS
- + CONTRIBUTING.md
- ChangeLog
- NEWS
- README
- − build-aux/GNUmakefile
- − build-aux/cfg.mk
- build-aux/syntax-check
- build-aux/maint.mk → build-aux/syntax-check.mk
- + ci/README.rst
- + ci/ci-centos-7.Dockerfile
- + ci/ci-centos-8.Dockerfile
- + ci/ci-debian-10.Dockerfile
- + ci/ci-debian-9.Dockerfile
- + ci/ci-debian-sid.Dockerfile
- + ci/ci-fedora-31.Dockerfile
- + ci/ci-fedora-32.Dockerfile
- + ci/ci-fedora-rawhide-cross-mingw32.Dockerfile
- + ci/ci-fedora-rawhide-cross-mingw64.Dockerfile
- + ci/ci-fedora-rawhide.Dockerfile
- + ci/ci-opensuse-151.Dockerfile
- + ci/ci-ubuntu-1804.Dockerfile
- + ci/ci-ubuntu-2004.Dockerfile
- + ci/refresh
- debian/changelog
- debian/copyright
- debian/libosinfo-1.0-0.symbols
- − debian/patches/Ignore-debian-tests-in-bindtextdomain-test.patch
- + debian/patches/Skip-syntax-check.patch
- debian/patches/series


The diff was not included because it is too large.


View it on GitLab: https://salsa.debian.org/libvirt-team/libosinfo/-/compare/269a8773bbd82dcb3d4d150787da0c442fdadeb6...8ac5ebc650778dc6cdd38da8ad7ab702d3d7d1ab

-- 
View it on GitLab: https://salsa.debian.org/libvirt-team/libosinfo/-/compare/269a8773bbd82dcb3d4d150787da0c442fdadeb6...8ac5ebc650778dc6cdd38da8ad7ab702d3d7d1ab
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-commits/attachments/20210120/873a6dad/attachment-0001.html>


More information about the Pkg-libvirt-commits mailing list