Re: Creating a new toolbox

Kai Torben Ohlhus <[email protected]>
Newsgroups gmane.comp.gnu.octave.maintainers
Message-ID <[email protected]>
On 9/20/20 6:50 PM, octave_aerospace via Octave-maintainers wrote:
> 
> On Saturday, 19 September 2020 17:48, Andreas Weber <[email protected]> wrote:
> 
>> Am 19.09.20 um 15:50 schrieb octave_aerospace via Octave-maintainers:
>>
>>> We have downloaded the example package,
>>
>> This one?https://github.com/gnu-octave/pkg-example
>> I think this is the most up to date example (Thanks to Kai).
>>
>> Do you plan to make it a community or external repo?
>> Is there something equivalent in MATLAB?
>>
>> -- Andy
> 
> Hello Andreas,
>
> The package you linked looks newer than the one
> from https://octave.sourceforge.io/pkg-repository/example-package/
> So we will work with this one thank you.
>
> Yes, matlab has an aerospace toolbox.
>
> Do you plan to make it a community or external repo?
> We were thinking of a community one.
>
> Hello Robert,
> Perfect this will be a great help.
> Thank you
>


Thank you for your contribution of the aerospace toolbox.

Just some clarification: The new example package [3] is part of a new
Octave package index [4], a superset of Octave Forge (OF) [2] (all OF
packages and more are contained), easier to handle for package
maintainers and less restrictive, but not yet officially published on
the Octave website (comes soon).

If you want to explicitly make the aerospace toolbox an OF community
package [2], you can of course use the new example package [3], but you
have to roughly consider three more restrictions to your development,
which will not be necessary in the new Octave package index [4]:

1. All your code must be in Octave syntax, "endif" instead of "end" for
example.

2. You must host a repository (mirror) at SourceForge.

3. You must include and use a "magic" 😇 maintainers Makefile [1] in
your package repository to create release tarballs manually.

OF is only one way of publishing a package.  The Octave package manager
does in general not depend on OF.  Since Octave 4.4 you install packages
from arbitrary locations (see end of the README file [3]).

Kai


[1]
https://sourceforge.net/p/octave/example-package/ci/default/tree/plain-package/Makefile
[2] https://octave.sourceforge.io

[3] https://github.com/gnu-octave/pkg-example
[4] https://gnu-octave.github.io/pkg-index/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.