Hello community, here is the log from the commit of package rug checked in at Wed Mar 29 10:21:03 CEST 2006. -------- --- /work/SRC/all/rug/rug.changes 2006-03-27 06:08:18.000000000 +0200 +++ /work/src/done/STABLE/rug/rug.changes 2006-03-29 04:01:30.000000000 +0200 @@ -1,0 +2,7 @@ +Wed Mar 29 04:00:53 CEST 2006 - maw@suse.de + +- New source drop (r26368) which: +- Adds a cache-clean command +- Prints the mono version when running the ping command + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rug.spec ++++++ --- /var/tmp/diff_new_pack.iqfUyT/_old 2006-03-29 10:20:48.000000000 +0200 +++ /var/tmp/diff_new_pack.iqfUyT/_new 2006-03-29 10:20:48.000000000 +0200 @@ -14,7 +14,7 @@ BuildRequires: gtkdoc mono-basic mono-data-sqlite mono-devel zmd-devel URL: http://www.novell.com Version: 7.1.1 -Release: 18 +Release: 19 License: GPL BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Command Line Client for zmd @@ -78,6 +78,10 @@ %_mandir/*/*/*.gz %changelog -n rug +* Wed Mar 29 2006 - maw@suse.de +- New source drop (r26368) which: +- Adds a cache-clean command +- Prints the mono version when running the ping command * Mon Mar 27 2006 - maw@suse.de - New source drop (r26225) which: - Fixes "rug db" to work without a catalog specified (#160564) ++++++ rug-7.1.1.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/rug-7.1.1/src/ChangeLog new/rug-7.1.1/src/ChangeLog --- old/rug-7.1.1/src/ChangeLog 2006-03-27 04:27:00.000000000 +0200 +++ new/rug-7.1.1/src/ChangeLog 2006-03-29 02:29:10.000000000 +0200 @@ -1,3 +1,8 @@ +2006-03-28 James Willcox <james@ximian.com> + + * ServerCommands.cs: add 'cache-clean' command, and print the mono + version info in 'ping'. + 2006-03-26 Chris Rivera <cmr@ximian.com> * PackageCommands.cs: show the description for patterns and products too. diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/rug-7.1.1/src/ServerCommand.cs new/rug-7.1.1/src/ServerCommand.cs --- old/rug-7.1.1/src/ServerCommand.cs 2006-03-15 01:05:49.000000000 +0100 +++ new/rug-7.1.1/src/ServerCommand.cs 2006-03-29 02:29:10.000000000 +0200 @@ -57,7 +57,8 @@ Console.WriteLine (GetString ("RSS size: {0}"), info.RssSize); Console.WriteLine (GetString ("Network Connected: {0}"), info.IsNetworkConnected ? GetString ("Yes") : GetString ("No")); - + Console.WriteLine (GetString ("Running on {0}"), info.MonoVersion); + Console.WriteLine (""); Console.WriteLine (GetString ("OS Target: {0} {1} ({2})"), info.Target.ProductName, info.Target.Version, @@ -300,6 +301,31 @@ } } + class CacheCleanCmd: Command { + + public override string Name { + get { return "clean-cache"; } + } + + public override string[] Aliases { + get { return new string[] { "cc" }; } + } + + public override string Description { + get { return GetString ("Clean the HTTP cache"); } + } + + public override string Category { + get { return GetString ("System"); } + } + + public override void Execute () { + IDaemonHealth health = (IDaemonHealth) Activate ("IDaemonHealth", typeof (IDaemonHealth)); + health.CleanCache (); + Console.WriteLine (GetString ("Cache cleanup successful")); + } + } + /* class ScriptCmd: Command { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...
participants (1)
-
root@suse.de