[packagekit] packagekit: Branch 'master' - 3 commits

Richard Hughes hughsient at kemper.freedesktop.org
Wed Jan 23 16:03:04 PST 2008


 data/.gitignore                       |    4 ++++
 docs/api/.gitignore                   |    1 +
 docs/html/img/pk-prefs.png            |binary
 docs/html/img/pk-updates-overview.png |binary
 docs/html/img/pk-updates.png          |binary
 docs/html/img/pk-waiting.png          |binary
 docs/html/pk-screenshots.html         |    3 +++
 src/pk-runner.c                       |   23 ++++++++++++++++++++++-
 tools/push-fdo.sh                     |    2 +-
 9 files changed, 31 insertions(+), 2 deletions(-)

New commits:
commit 7dbedc4c3063259d56c8023964fd032421b6b93e
Author: Richard Hughes <richard at hughsie.com>
Date:   Thu Jan 24 00:00:30 2008 +0000

    report the waiting state of the runner correctly

diff --git a/docs/html/img/pk-waiting.png b/docs/html/img/pk-waiting.png
index 1b93fca..331c001 100644
Binary files a/docs/html/img/pk-waiting.png and b/docs/html/img/pk-waiting.png differ
diff --git a/src/pk-runner.c b/src/pk-runner.c
index 28ff5af..10114da 100644
--- a/src/pk-runner.c
+++ b/src/pk-runner.c
@@ -156,7 +156,7 @@ pk_runner_get_status (PkRunner *runner)
 {
 	g_return_val_if_fail (runner != NULL, PK_ROLE_ENUM_UNKNOWN);
 	g_return_val_if_fail (PK_IS_RUNNER (runner), PK_ROLE_ENUM_UNKNOWN);
-	return runner->priv->role;
+	return runner->priv->status;
 }
 
 /**
@@ -351,6 +351,7 @@ pk_runner_get_depends (PkRunner *runner, const gchar *package_id, gboolean recur
 	}
 	runner->priv->cached_package_id = g_strdup (package_id);
 	runner->priv->cached_force = recursive;
+	runner->priv->status = PK_STATUS_ENUM_WAIT;
 	pk_runner_set_role (runner, PK_ROLE_ENUM_GET_DEPENDS);
 	return TRUE;
 }
@@ -367,6 +368,7 @@ pk_runner_get_update_detail (PkRunner *runner, const gchar *package_id)
 		return FALSE;
 	}
 	runner->priv->cached_package_id = g_strdup (package_id);
+	runner->priv->status = PK_STATUS_ENUM_WAIT;
 	pk_runner_set_role (runner, PK_ROLE_ENUM_GET_UPDATE_DETAIL);
 	return TRUE;
 }
@@ -383,6 +385,7 @@ pk_runner_get_description (PkRunner *runner, const gchar *package_id)
 		return FALSE;
 	}
 	runner->priv->cached_package_id = g_strdup (package_id);
+	runner->priv->status = PK_STATUS_ENUM_WAIT;
 	pk_runner_set_role (runner, PK_ROLE_ENUM_GET_DESCRIPTION);
 	return TRUE;
 }
@@ -399,6 +402,7 @@ pk_runner_get_files (PkRunner *runner, const gchar *package_id)
 		return FALSE;
 	}
 	runner->priv->cached_package_id = g_strdup (package_id);
+	runner->priv->status = PK_STATUS_ENUM_WAIT;
 	pk_runner_set_role (runner, PK_ROLE_ENUM_GET_FILES);
 	return TRUE;
 }
@@ -416,6 +420,7 @@ pk_runner_get_requires (PkRunner *runner, const gchar *package_id, gboolean recu
 	}
 	runner->priv->cached_package_id = g_strdup (package_id);
 	runner->priv->cached_force = recursive;
+	runner->priv->status = PK_STATUS_ENUM_WAIT;
 	pk_runner_set_role (runner, PK_ROLE_ENUM_GET_REQUIRES);
 	return TRUE;
 }
@@ -431,6 +436,7 @@ pk_runner_get_updates (PkRunner *runner)
 		pk_debug ("Not implemented yet: GetUpdates");
 		return FALSE;
 	}
+	runner->priv->status = PK_STATUS_ENUM_WAIT;
 	pk_runner_set_role (runner, PK_ROLE_ENUM_GET_UPDATES);
 	return TRUE;
 }
@@ -447,6 +453,7 @@ pk_runner_install_package (PkRunner *runner, const gchar *package_id)
 		return FALSE;
 	}
 	runner->priv->cached_package_id = g_strdup (package_id);
+	runner->priv->status = PK_STATUS_ENUM_WAIT;
 	pk_runner_set_role (runner, PK_ROLE_ENUM_INSTALL_PACKAGE);
 	return TRUE;
 }
@@ -463,6 +470,7 @@ pk_runner_install_file (PkRunner *runner, const gchar *full_path)
 		return FALSE;
 	}
 	runner->priv->cached_full_path = g_strdup (full_path);
+	runner->priv->status = PK_STATUS_ENUM_WAIT;
 	pk_runner_set_role (runner, PK_ROLE_ENUM_INSTALL_FILE);
 	return TRUE;
 }
@@ -479,6 +487,7 @@ pk_runner_refresh_cache (PkRunner *runner, gboolean force)
 		return FALSE;
 	}
 	runner->priv->cached_force = force;
+	runner->priv->status = PK_STATUS_ENUM_WAIT;
 	pk_runner_set_role (runner, PK_ROLE_ENUM_REFRESH_CACHE);
 	return TRUE;
 }
@@ -496,6 +505,7 @@ pk_runner_remove_package (PkRunner *runner, const gchar *package_id, gboolean al
 	}
 	runner->priv->cached_allow_deps = allow_deps;
 	runner->priv->cached_package_id = g_strdup (package_id);
+	runner->priv->status = PK_STATUS_ENUM_WAIT;
 	pk_runner_set_role (runner, PK_ROLE_ENUM_REMOVE_PACKAGE);
 	return TRUE;
 }
@@ -513,6 +523,7 @@ pk_runner_resolve (PkRunner *runner, const gchar *filter, const gchar *package)
 	}
 	runner->priv->cached_package_id = g_strdup (package);
 	runner->priv->cached_filter = g_strdup (filter);
+	runner->priv->status = PK_STATUS_ENUM_WAIT;
 	pk_runner_set_role (runner, PK_ROLE_ENUM_RESOLVE);
 	return TRUE;
 }
@@ -529,6 +540,7 @@ pk_runner_rollback (PkRunner *runner, const gchar *transaction_id)
 		return FALSE;
 	}
 	runner->priv->cached_transaction_id = g_strdup (transaction_id);
+	runner->priv->status = PK_STATUS_ENUM_WAIT;
 	pk_runner_set_role (runner, PK_ROLE_ENUM_ROLLBACK);
 	return TRUE;
 }
@@ -546,6 +558,7 @@ pk_runner_search_details (PkRunner *runner, const gchar *filter, const gchar *se
 	}
 	runner->priv->cached_filter = g_strdup (filter);
 	runner->priv->cached_search = g_strdup (search);
+	runner->priv->status = PK_STATUS_ENUM_WAIT;
 	pk_runner_set_role (runner, PK_ROLE_ENUM_SEARCH_DETAILS);
 	return TRUE;
 }
@@ -563,6 +576,7 @@ pk_runner_search_file (PkRunner *runner, const gchar *filter, const gchar *searc
 	}
 	runner->priv->cached_filter = g_strdup (filter);
 	runner->priv->cached_search = g_strdup (search);
+	runner->priv->status = PK_STATUS_ENUM_WAIT;
 	pk_runner_set_role (runner, PK_ROLE_ENUM_SEARCH_FILE);
 	return TRUE;
 }
@@ -580,6 +594,7 @@ pk_runner_search_group (PkRunner *runner, const gchar *filter, const gchar *sear
 	}
 	runner->priv->cached_filter = g_strdup (filter);
 	runner->priv->cached_search = g_strdup (search);
+	runner->priv->status = PK_STATUS_ENUM_WAIT;
 	pk_runner_set_role (runner, PK_ROLE_ENUM_SEARCH_GROUP);
 	return TRUE;
 }
@@ -597,6 +612,7 @@ pk_runner_search_name (PkRunner *runner, const gchar *filter, const gchar *searc
 	}
 	runner->priv->cached_filter = g_strdup (filter);
 	runner->priv->cached_search = g_strdup (search);
+	runner->priv->status = PK_STATUS_ENUM_WAIT;
 	pk_runner_set_role (runner, PK_ROLE_ENUM_SEARCH_NAME);
 	return TRUE;
 }
@@ -613,6 +629,7 @@ pk_runner_update_package (PkRunner *runner, const gchar *package_id)
 		return FALSE;
 	}
 	runner->priv->cached_package_id = g_strdup (package_id);
+	runner->priv->status = PK_STATUS_ENUM_WAIT;
 	pk_runner_set_role (runner, PK_ROLE_ENUM_UPDATE_PACKAGE);
 	return TRUE;
 }
@@ -628,6 +645,7 @@ pk_runner_update_system (PkRunner *runner)
 		pk_debug ("Not implemented yet: UpdateSystem");
 		return FALSE;
 	}
+	runner->priv->status = PK_STATUS_ENUM_WAIT;
 	pk_runner_set_role (runner, PK_ROLE_ENUM_UPDATE_SYSTEM);
 	return TRUE;
 }
@@ -643,6 +661,7 @@ pk_runner_get_repo_list (PkRunner *runner)
 		pk_debug ("Not implemented yet: GetRepoList");
 		return FALSE;
 	}
+	runner->priv->status = PK_STATUS_ENUM_WAIT;
 	pk_runner_set_role (runner, PK_ROLE_ENUM_GET_REPO_LIST);
 	return TRUE;
 }
@@ -660,6 +679,7 @@ pk_runner_repo_enable (PkRunner *runner, const gchar	*repo_id, gboolean enabled)
 	}
 	runner->priv->cached_repo_id = g_strdup (repo_id);
 	runner->priv->cached_enabled = enabled;
+	runner->priv->status = PK_STATUS_ENUM_WAIT;
 	pk_runner_set_role (runner, PK_ROLE_ENUM_REPO_ENABLE);
 	return TRUE;
 }
@@ -678,6 +698,7 @@ pk_runner_repo_set_data (PkRunner *runner, const gchar *repo_id, const gchar *pa
 	runner->priv->cached_repo_id = g_strdup (repo_id);
 	runner->priv->cached_parameter = g_strdup (parameter);
 	runner->priv->cached_value = g_strdup (value);
+	runner->priv->status = PK_STATUS_ENUM_WAIT;
 	pk_runner_set_role (runner, PK_ROLE_ENUM_REPO_SET_DATA);
 	return TRUE;
 }
commit ae7b32b52425c09402789a2f743b57be43684b47
Author: Richard Hughes <richard at hughsie.com>
Date:   Wed Jan 23 23:51:33 2008 +0000

    update some screenshots

diff --git a/data/.gitignore b/data/.gitignore
index db48c64..c07654d 100644
--- a/data/.gitignore
+++ b/data/.gitignore
@@ -1,2 +1,6 @@
 org.freedesktop.PackageKit.service
+org.freedesktop.PackageKitTestBackend.conf
+org.freedesktop.PackageKitTestBackend.service
+org.freedesktop.PackageKitYumBackend.conf
+org.freedesktop.PackageKitYumBackend.service
 
diff --git a/docs/api/.gitignore b/docs/api/.gitignore
index 2925953..80d7591 100644
--- a/docs/api/.gitignore
+++ b/docs/api/.gitignore
@@ -1,6 +1,7 @@
 Makefile.in
 Makefile.libs
 .libs
+*.bak
 tmpl
 xml
 html
diff --git a/docs/html/img/pk-prefs.png b/docs/html/img/pk-prefs.png
index 3b04918..25a2cb0 100644
Binary files a/docs/html/img/pk-prefs.png and b/docs/html/img/pk-prefs.png differ
diff --git a/docs/html/img/pk-updates-overview.png b/docs/html/img/pk-updates-overview.png
new file mode 100644
index 0000000..464e18b
Binary files /dev/null and b/docs/html/img/pk-updates-overview.png differ
diff --git a/docs/html/img/pk-updates.png b/docs/html/img/pk-updates.png
index 3ff814b..0514938 100644
Binary files a/docs/html/img/pk-updates.png and b/docs/html/img/pk-updates.png differ
diff --git a/docs/html/pk-screenshots.html b/docs/html/pk-screenshots.html
index c75cd53..81ae1f1 100644
--- a/docs/html/pk-screenshots.html
+++ b/docs/html/pk-screenshots.html
@@ -29,6 +29,9 @@
 <center><img src="img/pk-transactions.png" alt="[img]"/></center>
 <p class="caption">Transaction viewer</p>
 
+<center><img src="img/pk-updates-overview.png" alt="[img]"/></center>
+<p class="caption">Update viewer overview</p>
+
 <center><img src="img/pk-updates.png" alt="[img]"/></center>
 <p class="caption">Update viewer</p>
 
commit b32961e8e432214efac1a9dffdc2fd1b997404f7
Author: Richard Hughes <richard at hughsie.com>
Date:   Wed Jan 23 18:06:12 2008 +0000

    how helpful. git push --tags doesn't push anything else apart from the tags

diff --git a/tools/push-fdo.sh b/tools/push-fdo.sh
index 67bf4cc..91cf6b8 100755
--- a/tools/push-fdo.sh
+++ b/tools/push-fdo.sh
@@ -1,4 +1,4 @@
 #!/bin/sh
 
-git push --tags git+ssh://hughsient@git.freedesktop.org/git/packagekit
+git push git+ssh://hughsient@git.freedesktop.org/git/packagekit
 



More information about the PackageKit mailing list