Closed nmittler closed 9 years ago
@trustin @normanmaurer @ejona86 PTAL.
@ejona86 I've addressed your comments.
@trustin @normanmaurer want to take a look?
@nmittler LGTM
@nmittler just some small comments.. looks good!
@normanmaurer addressed your comments. Anything else or shall I squash?
@normanmaurer anything else?
Looks good... @trustin please review as well
Am 24.07.2015 um 22:47 schrieb Nathan Mittler notifications@github.com:
@normanmaurer anything else?
— Reply to this email directly or view it on GitHub.
@trustin could you take a look? This should be pretty straight-forward.
I'll be going on vacation starting on Wed ... it would be nice to get this in before I leave. Thanks!
FYI, I've squashed and rebased to simplify merging.
My Linux distribution (Arch) does not have ID_LIKE
and this PR doesn't seem to handle such a case. Perhaps we should consider both ID
and ID_LIKE
? e.g. when ID_LIKE
does not exist, use ID
.
Also, a user might just wanna get the ID
field of os-release
file, so I'd suggest adding that property, too.
@trustin, ah another Arch user! If you look at how prefixLength
is calculated, it does end up looking for "ID=" in addition to "ID_LIKE=". So os.detected.like. will contain things from both ID_LIKE and ID.
@ejona86 Ah, missed that part! Arch rocks btw :-)
@trustin PTAL
@trustin gentle ping :) ... Are we ready to cherry-pick this or is there something else you'd like to see?
Also, once this is in could we create a new release to Maven central?
@nmittler trustin is on vacation. Should be back tomorrow
Thank you so much for your patience, @nmittler. Here are a few requests:
os.detected.release
which ensures getting the ID
property?os.detected.like.*
to os.detected.release.like.*
?os.detected.release.version
which contains the value of VERSION_ID
?@trustin I think I've addressed everything .. PTAL
Cherry-picked: 4e9b38b9baf460bb050bf70ce34859662bef4ebe
@trustin can you release a new version of the plugin ?
@normanmaurer Released. Waiting for the sync to the central.
@trustin thanks buddy!
@trustin @normanmaurer Woot!!! Thanks guys!!! :)
Adding additional properties for every variant that an OS is "like". On linux, populates these properties using /etc/os-release, /usr/lib/os-release, and /etc/redhat-release.