Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

more complete version info #1351

Closed
JeffBezanson opened this Issue · 5 comments

5 participants

@JeffBezanson
Owner

As @vtjnash suggests:

Something like ver(), that provides more complete information, would probably be nice to add. I currently can think of the following to include:

  • Base.libblas_name
  • Base.VERSION
  • uname -mprsv
  • uv_cpu()
@staticfloat
Owner

Is there any use in providing not only Base.libblas_name but also a version string for the blas library?

@ViralBShah
Owner

What would be great is if every library or module can register a version number, so that versions can be managed in a uniform way.

@StefanKarpinski

This seems like it should be integrated into require functionality, since that keeps track of what has and hasn't been loaded it should also keep track of what version was loaded.

@vtjnash vtjnash was assigned
@staticfloat
Owner

Now that packages have taken the Julia ecosystem by storm, let's revisit this and possibly scope it down a little.

I suggest setting this pull request to track the creation of a ver() or version() call that returns information about Julia herself, and any libraries included. Packages can be handled with separately, this should specifically address @timholy's comment for a way to identify a particular Julia "release".

To that end, the list that Jeff started with seems pretty good, with Julia's commit hash, BLAS name/version, cpu and platform identifies. I can't think of anything else that might be interesting, can anyone else?

@vtjnash
Collaborator

also potentially useful (in verbose mode):

@vtjnash vtjnash referenced this issue from a commit
@vtjnash vtjnash ver() function. closes #1351 39f44cd
@vtjnash vtjnash referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@vtjnash vtjnash closed this in 72bcf44
@StefanKarpinski StefanKarpinski referenced this issue from a commit
@StefanKarpinski StefanKarpinski Revert "versioninfo() function. closes #1351"
This partially reverts commit bca3206.

This cherry-pick accidentally brought along versioninfo, which is a new
feature that shouldn't be introduced in a patch version.

Conflicts:
	base/pkg.jl
5876dbc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.