apjanke / octave-packajoozle

A just-for-fun reworking of GNU Octave's `pkg` tool
GNU General Public License v3.0
4 stars 1 forks source link

`pkj describe` #28

Closed apjanke closed 5 years ago

apjanke commented 5 years ago

There's this:

>> pkg describe stk
error: some packages are not installed:  stk
error: called from
    describe at line 68 column 7
    pkg at line 569 column 9
>> pkg describe -forge stk
error: pkg: '-forge' can only be used with install or list
error: called from
    pkg at line 369 column 5
>> pkg install -forge stk
For information about changes from previous versions of the stk package, run 'news stk'.
>> pkg describe stk
---
Package name:
        stk
Version:
        2.5.1
Short description:
        The STK is a (not so) Small Toolbox for Kriging. Its primary  focus is on the interpolation/regression technique known as kriging, which  is very closely related to Splines and Radial Basis Functions, and can be  interpreted as a non-parametric Bayesian method using a Gaussian Process  (GP) prior. The STK also provides tools for the sequential and  non-sequential design of experiments. Even though it is, currently, mostly  geared towards the Design and Analysis of Computer Experiments (DACE), the  STK can be useful for other applications areas (such as Geostatistics,  Machine Learning, Non-parametric Regression, etc.).
Status:
        Not loaded
>>

Add a pkj describe option. And throw in a pkj describe -forge <pkg> option for remote descriptions, including package version selectors.

apjanke commented 5 years ago

Done in https://github.com/apjanke/octave-packajoozle/commit/69d14a604ae5a15f4dcfbc1ae62d0079efea7253.

Jeez, I like how having a decent object model makes coding up new features easy.

apjanke commented 5 years ago

Added pkj describe -forge support in https://github.com/apjanke/octave-packajoozle/commit/7d528e268ec3115fef9b1ed5d07c1d3b39da85d8.