[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch for a pkg update command
From: |
Lukas Reichlin |
Subject: |
Re: Patch for a pkg update command |
Date: |
Wed, 13 Jul 2011 11:57:00 +0200 |
On 13.07.2011, at 02:45, Rik wrote:
>
>> Date: Thu, 7 Jul 2011 17:06:05 +0200
>> From: Lukas Reichlin <address@hidden>
>> To: octave maintainers mailing list <address@hidden>
>> Subject: Patch for a pkg update command
>>
>> Dear Octave community
>>
>> I've just extended the "pkg" command by an "update" option. It checks
>> against OctaveForge whether any installed packages are outdated and updates
>> them if necessary. If this feature is of any interest, I could work on a
>> more elaborated version (print a version table similar to "pkg list", "pkg
>> list -outdated", ...)
>>
>> Best regards
>> Lukas
>
> 7/12/11
>
> Lukas,
>
> Could you also make a small patch for the Texinfo help documentation? This
> seems like a reasonable feature and I see that you have committed it to the
> Mercurial repository, but no one besides a few people watching the
> maintainers list know about it. If no one knows about it, it won't get used.
>
> Cheers,
> Rik
Hi Rik
I've created a small patch:
--- pkg_v1.m 2011-07-07 16:45:34.000000000 +0200
+++ pkg_v2.m 2011-07-13 11:53:08.000000000 +0200
@@ -237,6 +237,14 @@
## installation will be produced and the binary packages will be found.
## The options @option{-verbose} and @option{-nodeps} are respected, while
## the other options are ignored.
+##
+## @item update
+## Check against Octave-Forge repository whether any installed packages
+## are outdated and update them if necessary. Usage:
+##
+## @example
+## pkg update
+## @end example
## @end table
## @end deftypefn
Best regards
Lukas
pkg_update_texinfo_patch
Description: Binary data