octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #60054] feature request: package install with


From: Ernst Reissner
Subject: [Octave-bug-tracker] [bug #60054] feature request: package install with dependency on java.
Date: Mon, 1 Mar 2021 07:48:18 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36

Follow-up Comment #6, bug #60054 (project octave):

@Marcus, I dont have a question, 
I dont be unable to check version of sth myself. 

This is not figured out, it is a feature request. 
Java is not just 3rd party software as you write. 
Matlab offers a java interface and octave does so as well 
because it is a clone. 
It is documented in the manual. 

The package manager shall manage dependencies where possible. 
Thus it is the package manager and not the package 
which manages depencencies between packages. 
This helps to prevent invalid install and uninstalls 
not relying on the work of the package developer. 

Similarly, it is possible to specify the version of octave 
a package relies on. 
It is of high value to provide all that in a single 
Description file. 
If you have a look at that, you can see that besides the Depends, 
also BuildRequirements and SystemRequirements are mentioned, 
although not checked. 
This is to give an overview of the requires and provides. 

For java it is by no means different: 
javachk('jvm') checks whether available. 
version('-version') is not the right way to determine 
what we would call the java version. 
>From java 9 on it is given by Runtime.version(). 
It is has the form x.y.z, 
although, trailing 0's are frequently not displayed. 
Please have a look at the api docs. 

This is the version to be compared. 
Not System.getProperty('java.runtime.version') or sth else. 

The comments show, it needs knowledge to check version. 
Please dont tell me the package provider shall do that work. 


I am sorry that i did not file a feature request. 
Your comment #2 is the point where we shall go on talking about. 


@philip:
I admit it is confusing, but in java trailing 0's 
are not shown in versions. 
>From java 9 on the version is at least 3 numbers. 
And those we shall take into account. 

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60054>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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