[
https://issues.apache.org/jira/browse/MESOS-3020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14619502#comment-14619502
]
Paul Brett commented on MESOS-3020:
-----------------------------------
The need I have at the moment is in processing kernel versions. Redhat use
kernel versions 2.6.40 upwards as an alias for 3.0 series, so I want to write
something like this:
Try<Version> v = os::release;
if((v >= Version(2, 6, 40)) && (v < Version(3, 0, 0)))
v = Version(3, v.minor-40, v.patch);
> Expose major, minor and patch components from stout Version
> -------------------------------------------------------------
>
> Key: MESOS-3020
> URL: https://issues.apache.org/jira/browse/MESOS-3020
> Project: Mesos
> Issue Type: Improvement
> Reporter: Paul Brett
> Assignee: Paul Brett
> Labels: twitter
>
> Stout version class does not expose version components, preventing
> computations manipulation of version information. Solution is to make major,
> minor and patch public.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)