octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: general package, inputParser, 4.0.0 release


From: Philip Nienhuis
Subject: Re: general package, inputParser, 4.0.0 release
Date: Fri, 22 May 2015 12:11:36 -0700 (PDT)

Carnë Draug wrote
> On 22 May 2015 at 18:14, Philip Nienhuis <

> address@hidden

> > wrote:
>> Carnë Draug wrote
> <snip>
>>> This said, I see two possible resolutions:
>>>
>>>   1. make a new release of the general package without @inputParser and
>>>   dependent on (octave >= 4.0.0).
>>>
>>>   2. make a new release of the general package, exactly the same as the
>>>   last release, and dependent on (octave < 4.0.0).
>>>
>>> Any of the two would prevent @inputParser and classdef's inputParser to
>>> co-exist.  I prefer the second option for the following reasons:
>>>
>>>   * users that wrote code for the old version had his code dependent
>>>     on general.  If it is used on the Octave 4.0.0 it will fail to load
>>>     the general package forcing them to become aware of this difference.
>>>
>>>   * users of old versions of Octave can still use the "latest" version
>>>     of the package without having to dig on the old releases.
>>>
>>>   * since we are "deprecating" the general package, we should make it
>>> easier
>>>     for the people that will stay on the old versions of Octave, the
>>> ones
>>>     released when it was "supported".
>>
>> Wasn't there a discussion about the OF general package a while ago in
>> which
>> I suggested to make a release /wo inputParser?  here in the maintainers
>> ML
>> or in the bug tracker (can't find it now). IIRC that discussion was
>> related
>> to the linear-algebra package.
> 
> Yes, that is one of the alternatives.  When I found this problem the first
> time I started by removing @inputParser from the package.  There is even
> one
> in the release packages forum.  But because of the points above (and
> considering the other thread where I suggest dropping the general
> package),
> I think we would be better off reinstating the @inputParser and releasing
> it
> with depends (octave < 4.0.0).

I.e., merely the current general package with the only change being a new
depends = Octave < 4.0.0.
Looks easy, simple and effective.

What about other packages depending on it? 
linear-algebra seems OK (depends Octave >= 4.0.0, although on octave.sf.net
it still says Octave >= 3.8.0 & general > 1.3.0)
Any other packages depending on inputParser?

I sometimes wish something similar (= simply a new release with just
adapting the depend on a max octave version) had happened to the old Java
package. Its repo disappeared from sight the moment it was absorbed in core
Octave, but til today there are still users installing it in Octave-3.8.x
and higher.
I suppose another lesson learned.

Philip




--
View this message in context: 
http://octave.1599824.n4.nabble.com/general-package-inputParser-4-0-0-release-tp4670476p4670480.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]