rikho / munki

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

Munki 2: Pull category and developer information for MAS apps automatically #309

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Not sure if this is even possible, but it would be handy if munkiimport could 
pull the category and developer information for Mac App Store items when 
processing them.

Original issue reported on code.google.com by david.iw...@gmail.com on 31 Mar 2014 at 2:53

GoogleCodeExporter commented 9 years ago
Looking at the Info.plist for some App Store apps I see this:

Full Deck Solitaire:
    <key>LSApplicationCategoryType</key>
    <string>public.app-category.card-games</string>

Install OS X Mavericks:
    <key>LSApplicationCategoryType</key>
    <string>public.app-category.utilities</string>

Kindle:
    <key>LSApplicationCategoryType</key>
    <string>public.app-category.reference</string>

Textual:
    <key>LSApplicationCategoryType</key>
    <string>public.app-category.social-networking</string>

Which we could use to derive a category, but nothing for developer.

We'd have to convert something like "public.app-category.social-networking" to 
"Social Networking", which isn't a big deal, but only useful for 
English-speakers. Munki admins in other countries would still need to manually 
assign categories. Additionally, I doubt I would use all of these categories 
as-is.

It might be worth using this data, when it exists, to provide a suggested 
category on interactive import, but not for automatic import.

Same goes for developer -- we could use the CFBundleIdentifier string:
    com.grlgames.fulldecksolitaire
    com.apple.InstallAssistant.Mavericks
    com.amazon.Kindle
    com.codeux.irc.textual

To suggest developers like:
    Grlgames
    Apple
    Amazon
    Codeux

(As you can see, we can't always derive "correct" developer names from bundle 
ids.)

I don't consider this very high priority. If someone wants to take a pass at 
implementation, feel free.

Original comment by gregnea...@mac.com on 31 Mar 2014 at 3:23

GoogleCodeExporter commented 9 years ago

Original comment by gregnea...@mac.com on 18 Jun 2014 at 10:29