On 13 February 2012 21:31, Michael Goffioul <michael.goffi...@gmail.com> wrote: > On Mon, Feb 13, 2012 at 1:17 PM, Alois Schloegl > <alois.schlo...@ist.ac.at> wrote: >> There is not a strict dependency between these, most parts of these >> toolboxes can be used independently. There is only a very small overlap, >> namely >> inst/sumskipnan.m >> inst/covm.m >> src/sumskipnan_mex.mex >> src/covm_mex.mex > > This is probably the same for any other dependency: when a package > depends on another, it doesn't mean it's using the full set of > functions provided by that package, just a few of them. > >> One could make another small package (e.g. SkipNaN) out of this subset, and >> define the dependency against this newly introduced package. However, I'm >> hesitant to do this because users would need to download two instead of one >> package, and the SkipNaN-functions are only useful in combination with TSA- >> or NaN-tb. >> >> >> What's happening if both packages are loaded? >> >> These functions are exactly the same in both packages, so it does not matter >> which is installed first. > > Besides the fact that it can be confusing for the user, that's only > true as long as the 2 versions are kept in sync. This also means that > whenever you make a change to one of those 2 MEX files, you'll have to > release both packages at the same time and make sure to tell those > users who happen to have both packages installed that they need to > upgrade both of them (otherwise you don't know which version the user > will end up using).
I agree with Michael. As an example, the image package has the signal package as dependency because of one single function. If you are to do this, and since the NaN package actually shadows many of octave-core functions, I would suggest to have those functions in the tsa package so that one can use it without changing the "normal" behaviour of octave. Carnë ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev