Hello community,
here is the log from the commit of package zmd
checked in at Wed Jun 14 18:49:37 CEST 2006.
--------
--- zmd/zmd.changes 2006-06-12 19:07:27.000000000 +0200
+++ zmd/zmd.changes 2006-06-14 17:44:56.000000000 +0200
@@ -1,0 +2,19 @@
+Wed Jun 14 17:21:03 CEST 2006 - maw@suse.de
+
+- New source drop (r30319) which:
+- Adds GetInstalled class methods for Patch and Product to get
+ installed resolvables only
+- Makes sure file uris passed to service-delete are prefixed with
+ file:// (#183211
+- Clears the catalog before we remove it, so that any duplicates
+ are correctly replaced on refresh (#183139)
+- Tries to always download repomd.xml.key and repomd.xml.asc for
+ YUM service; this is what the aforementioned signing.diff,
+ which has no been removed, does.
+
+-------------------------------------------------------------------
+Wed Jun 14 13:03:13 CEST 2006 - kkaempf@suse.de
+
+- include signing.diff (rev 30270:30271) (#183381)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ zmd.spec ++++++
--- /var/tmp/diff_new_pack.cAM5be/_old 2006-06-14 18:49:12.000000000 +0200
+++ /var/tmp/diff_new_pack.cAM5be/_new 2006-06-14 18:49:12.000000000 +0200
@@ -14,7 +14,7 @@
BuildRequires: dbus-1-mono libzypp-zmd-backend log4net mono-basic mono-data-sqlite mono-devel perl-XML-Parser rpm-devel sqlite-devel
URL: http://www.novell.com
Version: 7.1.1.0
-Release: 51
+Release: 52
License: LGPL
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
@@ -171,6 +171,19 @@
# %{_libdir}/monodoc/sources/*
%changelog -n zmd
+* Wed Jun 14 2006 - maw@suse.de
+- New source drop (r30319) which:
+- Adds GetInstalled class methods for Patch and Product to get
+ installed resolvables only
+- Makes sure file uris passed to service-delete are prefixed with
+ file:// (#183211
+- Clears the catalog before we remove it, so that any duplicates
+ are correctly replaced on refresh (#183139)
+- Tries to always download repomd.xml.key and repomd.xml.asc for
+ YUM service; this is what the aforementioned signing.diff,
+ which has no been removed, does.
+* Wed Jun 14 2006 - kkaempf@suse.de
+- include signing.diff (rev 30270:30271) (#183381)
* Mon Jun 12 2006 - maw@suse.de
- New source drop (r30207) which:
- Sets the UseBinary flag on the FtpWebRequest to true
++++++ zmd-7.1.1.0.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/zmd-7.1.1.0/modules/ChangeLog new/zmd-7.1.1.0/modules/ChangeLog
--- old/zmd-7.1.1.0/modules/ChangeLog 2006-06-09 22:01:30.000000000 +0200
+++ new/zmd-7.1.1.0/modules/ChangeLog 2006-06-14 17:06:10.000000000 +0200
@@ -1,3 +1,26 @@
+2006-06-14 Dan Mills
+
+ * linux/Patch.cs:
+ * linux/Product.cs:
+
+ Add GetInstalled class methods to get installed resolvables only.
+
+2006-06-13 Chris Rivera
+
+ * linux/RedCarpetBackend.cs: Make sure file uris passed to service-delete
+ are prefixed with file://. This fixes 183211.
+
+2006-06-13 Joe Shaw
+
+ * linux/ZyppService.cs, linux/YumService.cs: Clear the catalog
+ before we remove it, so that any duplicates are correctly
+ replaced on refresh. Fixes #183139.
+
+2006-06-13 Tambet Ingo
+
+ * linux/YumService.cs: Try to always download repomd.xml.key and
+ repomd.xml.asc for YUM service. Sigh.
+
2006-06-09 Chris Rivera
* linux/NUService.cs: return false in CanMount (). NU services can't be
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/zmd-7.1.1.0/modules/linux/Patch.cs new/zmd-7.1.1.0/modules/linux/Patch.cs
--- old/zmd-7.1.1.0/modules/linux/Patch.cs 2006-06-02 16:46:23.000000000 +0200
+++ new/zmd-7.1.1.0/modules/linux/Patch.cs 2006-06-14 17:06:10.000000000 +0200
@@ -75,6 +75,19 @@
return GetPatches (sb.ToString ());
}
+ public static Patch[] GetInstalled () {
+ return GetInstalled (null);
+ }
+
+ public static Patch[] GetInstalled (Catalog catalog) {
+ StringBuilder sb = new StringBuilder (GetSqlQuery ());
+ sb.Append (" WHERE installed = 1");
+ if (catalog != null)
+ sb.AppendFormat (" AND catalog = '{0}'", catalog.Id);
+
+ return GetPatches (sb.ToString ());
+ }
+
// Start of SQL madness^w methods
protected static string[] PatchSqlFields = new string[] {
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/zmd-7.1.1.0/modules/linux/Product.cs new/zmd-7.1.1.0/modules/linux/Product.cs
--- old/zmd-7.1.1.0/modules/linux/Product.cs 2006-06-02 16:46:23.000000000 +0200
+++ new/zmd-7.1.1.0/modules/linux/Product.cs 2006-06-14 17:06:10.000000000 +0200
@@ -48,6 +48,19 @@
return GetProducts (sb.ToString ());
}
+ public static Product[] GetInstalled () {
+ return GetInstalled (null);
+ }
+
+ public static Product[] GetInstalled (Catalog catalog) {
+ StringBuilder sb = new StringBuilder (GetSqlQuery ());
+ sb.AppendFormat (" WHERE installed = 1");
+ if (catalog != null)
+ sb.AppendFormat (" AND catalog = '{0}'", catalog.Id);
+
+ return GetProducts (sb.ToString ());
+ }
+
// Start of SQL madness^w methods
protected static string[] ProductSqlFields = new string[] { "summary", "description" };
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/zmd-7.1.1.0/modules/linux/RedCarpetBackend.cs new/zmd-7.1.1.0/modules/linux/RedCarpetBackend.cs
--- old/zmd-7.1.1.0/modules/linux/RedCarpetBackend.cs 2006-06-02 16:46:23.000000000 +0200
+++ new/zmd-7.1.1.0/modules/linux/RedCarpetBackend.cs 2006-06-13 22:25:44.000000000 +0200
@@ -293,6 +293,10 @@
return;
}
+ if (path[0] == '/' && Directory.Exists (path)) {
+ path = "file://" + path;
+ }
+
try {
Database.GetLock (false);
RCProgress progress = new RCProgress (Path.Combine (prefix, "service-delete"),
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/zmd-7.1.1.0/modules/linux/YumService.cs new/zmd-7.1.1.0/modules/linux/YumService.cs
--- old/zmd-7.1.1.0/modules/linux/YumService.cs 2006-06-09 17:48:46.000000000 +0200
+++ new/zmd-7.1.1.0/modules/linux/YumService.cs 2006-06-14 01:06:59.000000000 +0200
@@ -137,8 +137,10 @@
private void Remove () {
currentRepomd = Repomd.Empty;
- if (catalog != null && BundleManager.LookupCatalogById (catalog.Id) != null)
+ if (catalog != null && BundleManager.LookupCatalogById (catalog.Id) != null) {
+ catalog.Clear ();
BundleManager.Remove (catalog);
+ }
}
private Progress Refresh (bool mounting) {
@@ -208,16 +210,6 @@
RepomdEntry patchEntry = md[RepomdEntryType.Patches];
if (!patchEntry.Equals (RepomdEntry.Empty)) {
- if (PreferenceManager.GetString ("security-level") != "none") {
- try {
- DownloadProgress repomdProgress = refreshProgress["repomd"] as DownloadProgress;
- cache.Download (repomdProgress.Uri + ".key");
- cache.Download (repomdProgress.Uri + ".asc");
- } catch {
- // These files only exist on some servers and not on the others.
- }
- }
-
// Download and parse patches.xml
string path = cache.Download (WebCache.GetMergedUri (Uri, patchEntry.Location.Url));
PatchCollection patches = PatchCollection.FromXml (path);
@@ -253,7 +245,18 @@
}
private Repomd ParseRepomd () {
- string path = cache.Download (refreshProgress["repomd"] as DownloadProgress);
+ DownloadProgress dp = refreshProgress["repomd"] as DownloadProgress;
+ string path = cache.Download (dp);
+
+ if (PreferenceManager.GetString ("security-level") != "none") {
+ try {
+ cache.Download (dp.Uri + ".key");
+ cache.Download (dp.Uri + ".asc");
+ } catch {
+ // These files only exist on some servers and not on the others.
+ }
+ }
+
return Repomd.FromXml (path);
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/zmd-7.1.1.0/modules/linux/ZyppService.cs new/zmd-7.1.1.0/modules/linux/ZyppService.cs
--- old/zmd-7.1.1.0/modules/linux/ZyppService.cs 2006-06-02 16:46:23.000000000 +0200
+++ new/zmd-7.1.1.0/modules/linux/ZyppService.cs 2006-06-14 01:06:59.000000000 +0200
@@ -104,8 +104,10 @@
}
private void Remove () {
- if (catalog != null && BundleManager.LookupCatalogById (catalog.Id) != null)
+ if (catalog != null && BundleManager.LookupCatalogById (catalog.Id) != null) {
+ catalog.Clear ();
BundleManager.Remove (catalog);
+ }
}
private Progress Refresh (bool mounting) {
Binary files old/zmd-7.1.1.0/po/de_DE.gmo and new/zmd-7.1.1.0/po/de_DE.gmo differ
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/zmd-7.1.1.0/po/de_DE.po new/zmd-7.1.1.0/po/de_DE.po
--- old/zmd-7.1.1.0/po/de_DE.po 2006-06-12 18:13:18.000000000 +0200
+++ new/zmd-7.1.1.0/po/de_DE.po 2006-06-14 17:12:04.000000000 +0200
@@ -9,7 +9,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-06-12 12:13-0400\n"
+"POT-Creation-Date: 2006-06-14 11:12-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
Binary files old/zmd-7.1.1.0/po/en_US.gmo and new/zmd-7.1.1.0/po/en_US.gmo differ
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/zmd-7.1.1.0/po/en_US.po new/zmd-7.1.1.0/po/en_US.po
--- old/zmd-7.1.1.0/po/en_US.po 2006-06-12 18:13:18.000000000 +0200
+++ new/zmd-7.1.1.0/po/en_US.po 2006-06-14 17:12:05.000000000 +0200
@@ -9,7 +9,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-06-12 12:13-0400\n"
+"POT-Creation-Date: 2006-06-14 11:12-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
Binary files old/zmd-7.1.1.0/po/es_ES.gmo and new/zmd-7.1.1.0/po/es_ES.gmo differ
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/zmd-7.1.1.0/po/es_ES.po new/zmd-7.1.1.0/po/es_ES.po
--- old/zmd-7.1.1.0/po/es_ES.po 2006-06-12 18:13:19.000000000 +0200
+++ new/zmd-7.1.1.0/po/es_ES.po 2006-06-14 17:12:05.000000000 +0200
@@ -9,7 +9,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-06-12 12:13-0400\n"
+"POT-Creation-Date: 2006-06-14 11:12-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
Binary files old/zmd-7.1.1.0/po/fr_FR.gmo and new/zmd-7.1.1.0/po/fr_FR.gmo differ
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/zmd-7.1.1.0/po/fr_FR.po new/zmd-7.1.1.0/po/fr_FR.po
--- old/zmd-7.1.1.0/po/fr_FR.po 2006-06-12 18:13:19.000000000 +0200
+++ new/zmd-7.1.1.0/po/fr_FR.po 2006-06-14 17:12:05.000000000 +0200
@@ -9,7 +9,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-06-12 12:13-0400\n"
+"POT-Creation-Date: 2006-06-14 11:12-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
Binary files old/zmd-7.1.1.0/po/pt_BR.gmo and new/zmd-7.1.1.0/po/pt_BR.gmo differ
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/zmd-7.1.1.0/po/pt_BR.po new/zmd-7.1.1.0/po/pt_BR.po
--- old/zmd-7.1.1.0/po/pt_BR.po 2006-06-12 18:13:19.000000000 +0200
+++ new/zmd-7.1.1.0/po/pt_BR.po 2006-06-14 17:12:05.000000000 +0200
@@ -9,7 +9,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-06-12 12:13-0400\n"
+"POT-Creation-Date: 2006-06-14 11:12-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/zmd-7.1.1.0/po/zmd.pot new/zmd-7.1.1.0/po/zmd.pot
--- old/zmd-7.1.1.0/po/zmd.pot 2006-06-12 18:13:18.000000000 +0200
+++ new/zmd-7.1.1.0/po/zmd.pot 2006-06-14 17:12:04.000000000 +0200
@@ -9,7 +9,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-06-12 12:13-0400\n"
+"POT-Creation-Date: 2006-06-14 11:12-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/zmd-7.1.1.0/src/ChangeLog new/zmd-7.1.1.0/src/ChangeLog
--- old/zmd-7.1.1.0/src/ChangeLog 2006-06-12 17:25:59.000000000 +0200
+++ new/zmd-7.1.1.0/src/ChangeLog 2006-06-14 01:09:13.000000000 +0200
@@ -1,3 +1,10 @@
+2006-06-13 Chris Rivera
+
+ * RemoteEventDispatcher.cs: Hook up a few more events and mark a few
+ methods with the view privilege.
+
+ * RemoteEventQueue.cs: Mark GetNextEvent() with the view privilege.
+
2006-06-12 Tambet Ingo
* WorkerRequest.cs: Pass empty strings for virtual path and query
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/zmd-7.1.1.0/src/RemoteEventDispatcher.cs new/zmd-7.1.1.0/src/RemoteEventDispatcher.cs
--- old/zmd-7.1.1.0/src/RemoteEventDispatcher.cs 2006-06-06 23:21:26.000000000 +0200
+++ new/zmd-7.1.1.0/src/RemoteEventDispatcher.cs 2006-06-13 01:09:08.000000000 +0200
@@ -2,6 +2,7 @@
using System.Collections;
using System.Runtime.Remoting;
using Novell.Zenworks.Zmd.Public;
+using Novell.Zenworks.Zmd.Scheduling;
namespace Novell.Zenworks.Zmd {
@@ -26,8 +27,37 @@
ServiceManager.ServiceRefreshed += delegate (Service service) {
Dispatch (new EventMessage ("service-refreshed", new RemoteService (service)));
};
+
+ ServiceManager.ServiceRemoved += delegate (Service service) {
+ Dispatch (new EventMessage ("service-removed", new RemoteService (service)));
+ };
+
+ ServiceManager.ServiceAdded += delegate (Service service) {
+ Dispatch (new EventMessage ("service-added", new RemoteService (service)));
+ };
+
+ ShutdownManager.ShuttingDown += delegate (ShutdownType st) {
+ switch (st) {
+ case ShutdownType.Sleep:
+ Dispatch (new EventMessage ("sleep", ScheduleManager.Instance.GetWakeupTime ()));
+ break;
+ case ShutdownType.Shutdown:
+ Dispatch (new EventMessage ("shutdown", null));
+ break;
+ case ShutdownType.Restart:
+ Dispatch (new EventMessage ("restart", null));
+ break;
+ case ShutdownType.DeviceRestart:
+ Dispatch (new EventMessage ("device-restart", null));
+ break;
+ case ShutdownType.DeviceShutdown:
+ Dispatch (new EventMessage ("device-shutdown", null));
+ break;
+ }
+ };
}
+ [Privilege ("view")]
public IEventQueue CreateQueue () {
RemoteEventQueue q = new RemoteEventQueue ();
@@ -45,6 +75,7 @@
}
}
+ [Privilege ("view")]
public void DestroyQueue (IEventQueue q) {
lock (queues) {
((RemoteEventQueue) q).Dispose ();
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/zmd-7.1.1.0/src/RemoteEventQueue.cs new/zmd-7.1.1.0/src/RemoteEventQueue.cs
--- old/zmd-7.1.1.0/src/RemoteEventQueue.cs 2006-06-06 23:21:26.000000000 +0200
+++ new/zmd-7.1.1.0/src/RemoteEventQueue.cs 2006-06-12 23:45:40.000000000 +0200
@@ -30,7 +30,8 @@
}
}
}
-
+
+ [Privilege ("view")]
public EventMessage GetNextEvent () {
lock (queue) {
EventMessage msg;
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit-unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit-help@opensuse.org