hjuutilainen / munkiadmin

macOS app for managing Munki repositories
MIT License
371 stars 33 forks source link

Ability to Import Bundle Packages in MunkiAdmin #21

Open cashxx opened 10 years ago

cashxx commented 10 years ago

All of my packages are Bundles and it seems I can import them through cli, but MunkiAdmin errors saying Bundle packages are not supported. Possible to see this supported?

Error: File type not supported Bundle file packages are not supported. MunkiAdmin only supports regular files.

hjuutilainen commented 10 years ago

Thanks for opening an issue. MunkiAdmin does not (yet) have the ability to wrap unsupported items in disk images like munkiimport does. When you import these bundle packages with munkiimport through cli, you'll probably end up with .dmg files in your repo which contain the actual package. This is a feature of munkiimport and MunkiAdmin uses the plain old makepkginfo tool behind the scenes.

I've marked this as a "feature-request" to keep it on my todo list.

mobtekl commented 6 years ago

Been any movement on this one? I'd like to see this as well for custom Adobe CC packages. I'll use munkiimport for now :)

distantsoil commented 2 months ago

Is there any progress on this? The milestone for import rewrite seems to be deleted and we're now seeing a lot more 'universal' apps show up

arubdesu commented 2 months ago

This is understandably dropped as a milestone along with Apple dropping support for bundle packages as of Sequoia, with deprecation warnings live in the shipping stable OS, so I wouldn't hold your breath.

Also please note that MunkiAdmin can have features distinct from Munki, but you are often best served by engaging the community (for example in the #munki channel of the macadmins.org slack or munki-discuss mailing list) rather than asking for solutions via this tool.

(Universal apps/packages that are written for both architectures are not 'bundle' packages, they are the flat format introduced ~10 years ago, I think you may be mistaken about this feature request.)

arubdesu commented 2 months ago

You can discover bundle-style packages that exist in your repo via this script so you can either repackage them or work with the vendor on replacements: https://github.com/munki/macadmin-scripts/blob/main/munki_bundle_pkg_finder.py