Skip to content
This repository was archived by the owner on Nov 10, 2017. It is now read-only.
This repository was archived by the owner on Nov 10, 2017. It is now read-only.

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

@natewalck

Description

@natewalck

Issue by natewalck
Friday Sep 19, 2014 at 07:12 GMT
Originally opened as munki/munki#319


From dwurs...@gmail.com on April 23, 2014 11:08:40

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: http://code.google.com/p/munki/issues/detail?id=319

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions