bugGNU Octave - Bugs: bug #43154, license() checks for...

 
 

bug #43154: license() checks for OCTAVE_FORGE_VERSION

Submitter:  Carnë Draug <carandraug>
Submitted:  Fri 05 Sep 2014 02:56:22 PM UTC
   
 
Category:  Octave Function Severity:  2 - Minor
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 03 Oct 2014 04:26:13 PM UTC, comment #4: 

Since no one commented on the patch, I've pushed it. See cset 6dfce51a7b40

http://hg.savannah.gnu.org/hgweb/octave/rev/6dfce51a7b40

Carnë Draug <carandraug>
Group Member
Sun 28 Sep 2014 09:32:50 PM UTC, comment #3: 

I have a patch for this, but it ignores the toogle option of the test command. I don't really make sense of it, it seems like a command to disable some installations from accessing some installed toolboxes.

My patch simply ignores that option, so that as long as a package is installed and loaded, it returns true. Should I push it?

Carnë Draug <carandraug>
Group Member
Sun 28 Sep 2014 06:24:30 PM UTC, comment #2: 

Ah! I was trying to do this but using "pkg describe -verbose" which does not return the license field.

I guess we could but the fact that no one has found this after so many years would suggest me that it's one of the least important things. On the other hand, a small simple issie for Sunday evening.

Carnë Draug <carandraug>
Group Member
Wed 24 Sep 2014 11:37:35 PM UTC, comment #1: 

We could have this function iterate over the results of pkg("list") instead. The returned struct array contains the names and licenses of each installed package. Name -> "feature" I guess? Just an idea.

Mike Miller <mtmiller>
Group Member
Fri 05 Sep 2014 02:56:22 PM UTC, original submission:  

I'm not sure what to make of this function as licensing is not really an issue in Octave.

But the functionclaims that it should list the available packages but does not. It seems that it was designed for older times and checking the license for the whole Octave Forge rather than individual packages.

Carnë Draug <carandraug>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #32195:  license.patch added by carandraug (11KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by carandraug (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-10-03 carandraug StatusNone Fixed
        Open/ClosedOpen Closed
    2014-09-28 carandraug Attached File- Added license.patch, #32195

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code