Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish to WPM (Windows Package Manager) #707

Open
1 task done
dfreilich opened this issue Jun 23, 2020 · 4 comments
Open
1 task done

Publish to WPM (Windows Package Manager) #707

dfreilich opened this issue Jun 23, 2020 · 4 comments
Labels
help wanted Need some extra hands to get this done. os/windows status/ready Issue ready to be worked on. type/chore Issue that requests non-user facing changes.

Comments

@dfreilich
Copy link
Member

Description

As a windows user, I'd like to use winget to install pack.

Proposed solution

Add pack to Windows Package Manager (https://github.com/microsoft/winget-pkgs)

Additional context

@dfreilich dfreilich added type/enhancement Issue that requests a new feature or improvement. status/triage Issue or PR that requires contributor attention. labels Jun 23, 2020
@dfreilich dfreilich changed the title Publish to WPM (Windows Package ManageR) Publish to WPM (Windows Package Manager) Jun 23, 2020
@micahyoung
Copy link
Member

There seems to be a couple rough edges on with winget right now: package update and dependency support is TBD. Neither of those feel like blockers.

@dfreilich dfreilich added status/blocked Issue or PR that is blocked. See comments. and removed status/triage Issue or PR that requires contributor attention. labels Jul 6, 2020
@dfreilich
Copy link
Member Author

Waiting on internal VMware CLA approval for the winget repo

@jromero jromero added status/ready Issue ready to be worked on. and removed status/blocked Issue or PR that is blocked. See comments. labels Jul 21, 2020
@dfreilich dfreilich added this to the 0.14.0 milestone Aug 12, 2020
@dfreilich
Copy link
Member Author

I just checked into this, and it should be fine. The only issue is, we release our Windows release as a zip with the binary inside, and winget currently doesn't support that (see microsoft/winget-cli#140, microsoft/winget-cli#182, microsoft/winget-pkgs#580, and microsoft/winget-pkgs#174, which are all virtually the same issue, that Winget doesn't support zips at the moment).

Is it worth it for us to release pack in a different format, like an .msi, or another format (discussion on SO over the merits of various formats)? Or do we not want to pollute our releases with too many artifacts?

@dfreilich
Copy link
Member Author

For future work, a manifest that I validated works (outside of the installation, because zip...), is:

Id: Buildpacks.Pack # publisher.package format
Publisher: Cloud Native Buildpacks # the name of the publisher
Name: Pack # the name of the application
AppMoniker: pack
Version: 0.13.1 # version numbering format
License: Apache License 2.0 # the open source license or copyright
LicenseUrl: https://raw.githubusercontent.com/buildpacks/pack/main/LICENSE
Homepage: https://buildpacks.io/
Description: Pack is a CLI for consuming Cloud Native Buildpacks.
InstallerType: zip # enumeration of supported installer types (exe, msi, msix, inno, wix, nullsoft, appx)
Installers:
  - Arch: x64 # enumeration of supported architectures
    Url: https://github.com/buildpacks/pack/releases/download/v0.13.1/pack-v0.13.1-windows.zip # path to download installation file of the specified version
    Sha256: 3db9ca2a64ab26761a0e746c15d0f2585467ab197866ddc90bfdb237a0797174 # SHA256 calculated from installer
# ManifestVersion: 0.1.0

@jromero jromero modified the milestones: 0.14.0, 0.15.0 Sep 21, 2020
@jromero jromero added type/chore Issue that requests non-user facing changes. and removed type/enhancement Issue that requests a new feature or improvement. labels Oct 19, 2020
@jromero jromero removed this from the 0.15.0 milestone Oct 20, 2020
@natalieparellano natalieparellano added the help wanted Need some extra hands to get this done. label Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Need some extra hands to get this done. os/windows status/ready Issue ready to be worked on. type/chore Issue that requests non-user facing changes.
Projects
None yet
Development

No branches or pull requests

5 participants