Skip to content

feature request - bundle as a .pkg #39

@joeblew99

Description

@joeblew99

i noticed the recent work on the bundling at https://github.com/alexflint/gallium/blob/master/cmd/gallium-bundle/bundle.go

looking awesome !

At the moment the bundling produces a ".app", however its possible with golang to produce a ".pkg" so that the end user gets a decent install experience, and we are developers get control about where things are places and file ACLS assigned etc.
It will also help with getting projects into a CI and CB pipeline, and prepare for continuous updates if we want to integrate that later.

This is the way the golang team does it and its quite simple.
https://github.com/golang/build/blob/master/cmd/release/releaselet.go#L149

It will only build on OSX.
it calls out to pkgbuild & then productbuild for final signing for users.
Its described well here:
http://thegreyblog.blogspot.de/2014/06/os-x-creating-packages-from-command_2.html
I think its very complete.

Please let me know what you think....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions