summaryrefslogtreecommitdiff
path: root/app/flatpak-builtins-utils.c
diff options
context:
space:
mode:
authorPatrick <pgriffis@igalia.com>2023-01-07 18:48:28 -0600
committerGitHub <noreply@github.com>2023-01-07 18:48:28 -0600
commite110bf7c7fc28ede5bde59a8a28cfe8b163595e4 (patch)
tree63283a96075325e86b37c3d57a7aaa1c9d2eb4e0 /app/flatpak-builtins-utils.c
parentb61a6d836c30d446c707f50585f7a91a8ae1857d (diff)
parent523cedc27509779e7e815806e53361d5fe7e0bd4 (diff)
downloadflatpak-appstreamcli-compose.tar.gz
Merge branch 'main' into appstreamcli-composeappstreamcli-compose
Diffstat (limited to 'app/flatpak-builtins-utils.c')
-rw-r--r--app/flatpak-builtins-utils.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/app/flatpak-builtins-utils.c b/app/flatpak-builtins-utils.c
index a2402ad4..83d46551 100644
--- a/app/flatpak-builtins-utils.c
+++ b/app/flatpak-builtins-utils.c
@@ -1,4 +1,4 @@
-/*
+/* vi:set et sw=2 sts=2 cin cino=t0,f0,(0,{s,>2s,n-s,^-s,e-s:
* Copyright © 2014 Red Hat, Inc
*
* This program is free software; you can redistribute it and/or
@@ -677,11 +677,11 @@ update_appstream (GPtrArray *dirs,
ts_file_age = get_appstream_timestamp (dir, remotes[i], arch);
if (ts_file_age < ttl)
{
- g_debug ("%s:%s appstream age %" G_GUINT64_FORMAT " is less than ttl %" G_GUINT64_FORMAT, remotes[i], arch, ts_file_age, ttl);
+ g_info ("%s:%s appstream age %" G_GUINT64_FORMAT " is less than ttl %" G_GUINT64_FORMAT, remotes[i], arch, ts_file_age, ttl);
continue;
}
else
- g_debug ("%s:%s appstream age %" G_GUINT64_FORMAT " is greater than ttl %" G_GUINT64_FORMAT, remotes[i], arch, ts_file_age, ttl);
+ g_info ("%s:%s appstream age %" G_GUINT64_FORMAT " is greater than ttl %" G_GUINT64_FORMAT, remotes[i], arch, ts_file_age, ttl);
if (flatpak_dir_get_remote_disabled (dir, remotes[i]) ||
flatpak_dir_get_remote_noenumerate (dir, remotes[i]))
@@ -690,7 +690,7 @@ update_appstream (GPtrArray *dirs,
if (flatpak_dir_is_user (dir))
{
if (quiet)
- g_debug (_("Updating appstream data for user remote %s"), remotes[i]);
+ g_info (_("Updating appstream data for user remote %s"), remotes[i]);
else
{
g_print (_("Updating appstream data for user remote %s"), remotes[i]);
@@ -700,7 +700,7 @@ update_appstream (GPtrArray *dirs,
else
{
if (quiet)
- g_debug (_("Updating appstream data for remote %s"), remotes[i]);
+ g_info (_("Updating appstream data for remote %s"), remotes[i]);
else
{
g_print (_("Updating appstream data for remote %s"), remotes[i]);
@@ -711,7 +711,7 @@ update_appstream (GPtrArray *dirs,
NULL, cancellable, &local_error))
{
if (quiet)
- g_debug ("%s: %s", _("Error updating"), local_error->message);
+ g_info ("%s: %s", _("Error updating"), local_error->message);
else
g_printerr ("%s: %s\n", _("Error updating"), local_error->message);
}
@@ -735,11 +735,11 @@ update_appstream (GPtrArray *dirs,
ts_file_age = get_appstream_timestamp (dir, remote, arch);
if (ts_file_age < ttl)
{
- g_debug ("%s:%s appstream age %" G_GUINT64_FORMAT " is less than ttl %" G_GUINT64_FORMAT, remote, arch, ts_file_age, ttl);
+ g_info ("%s:%s appstream age %" G_GUINT64_FORMAT " is less than ttl %" G_GUINT64_FORMAT, remote, arch, ts_file_age, ttl);
continue;
}
else
- g_debug ("%s:%s appstream age %" G_GUINT64_FORMAT " is greater than ttl %" G_GUINT64_FORMAT, remote, arch, ts_file_age, ttl);
+ g_info ("%s:%s appstream age %" G_GUINT64_FORMAT " is greater than ttl %" G_GUINT64_FORMAT, remote, arch, ts_file_age, ttl);
if (!flatpak_dir_update_appstream (dir, remote, arch, &changed,
NULL, cancellable, error))