rikho / munki

Automatically exported from code.google.com/p/munki
Other
0 stars 0 forks source link

Improved sorting for hardware-breakdown, Treat hardware IDs as composite ints, not strings. #319

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Would love to see improved sorting for hardware whose identifiers have hit 
double-digits.

What steps will reproduce the problem?

1. Have iMacs with hardware identifiers that start with a single digit, and 
others that start with multiple digits.
2. Visit the MWA report dashboard.
3. Look at the listing for hardware-breakdown

What is the expected output? What do you see instead?

Found:

iMac10,1
iMac12,1
iMac13,1
iMac8,1 
iMac9,1

Would like to see:

iMac8,1
iMac9,1
iMac10,1
iMac12,1
iMac13,1

What version of the Munki tools/InstallOSpkg tools are you using? On what 
version of OS X?

Munki tools: 1.0.0.1864
OS: 10.9.2 Server

Original issue reported on code.google.com by dwurs...@gmail.com on 23 Apr 2014 at 6:08

GoogleCodeExporter commented 9 years ago
I have no intention (or time) to work on this any time soon, but if someone 
else wants to take a crack...

Original comment by gregnea...@mac.com on 23 Apr 2014 at 6:21