Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Erlang release version detection #514

Closed
deadok22 opened this issue Nov 24, 2014 · 0 comments
Closed

Improve Erlang release version detection #514

deadok22 opened this issue Nov 24, 2014 · 0 comments
Assignees

Comments

@deadok22
Copy link
Collaborator

Currently, Erlang 17.1 and Erlang 17.3 releases are indistinguishable from Erlang 17.

This leads to incorrect default documentation paths and to syntax compatibility issues in future.

There are two approaches to determine which Erlang release we are dealing with:

  • Scan SDK's directory structure and parse release info from RELEASES, OTP_VERSION or some other file. (this approach is used now and it's not very convenient as directory structure varies in different releases)
  • Parse release info from output of some command like erl +V or erl -version (these two allow for ERTS version detection only so some other command should be issued)
@deadok22 deadok22 self-assigned this Nov 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant