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

feature(CI): Chocolatey/Winget based Package distribution #7

Closed
dipankardas011 opened this issue Oct 25, 2023 · 6 comments
Closed

feature(CI): Chocolatey/Winget based Package distribution #7

dipankardas011 opened this issue Oct 25, 2023 · 6 comments

Comments

@dipankardas011
Copy link
Member

Why do we need it?

The purpose of this enhancement is to create a Chocolatey package for the ksctl CLI tool. Currently, there is no Chocolatey package available for easy installation and management of ksctl. By creating a Chocolatey package, we can provide a convenient way for users to install and update ksctl on Windows systems using the Chocolatey package manager.

What it will bring?

Creating a Chocolatey package for ksctl will bring the following benefits:

  1. Simplified installation: Users will be able to install ksctl with a single command using Chocolatey, eliminating the need for manual downloads and configurations.
  2. Easy updates: With the Chocolatey package, users can easily update ksctl to the latest version by running a simple command, ensuring they have access to the latest features and bug fixes.
  3. Consistency: A Chocolatey package will provide a standardized installation method across Windows systems, ensuring that users have a consistent experience when installing ksctl.
  4. Integration with existing workflows: Many users already utilize Chocolatey for managing software packages on their Windows machines. By offering a Chocolatey package, ksctl can integrate seamlessly into their existing workflows and package management systems.

Current Progress:

  1. Created pkg folder.
  2. Inside the pkg folder, created the choco folder.
  3. Inside the choco folder, created the chocolateyinstall.ps1 script.
  4. Created the ksctl.nuspec file.

Challenges Faced:
At this stage, I encountered the following challenge:

I need to provide the URL for the build release of the ksctl .exe file to include in the Chocolatey package.
Currently, I don't have the .exe file, as it needs to be downloaded during the package installation from the internet.

Required Guidance:
I am seeking guidance on the following steps to proceed:

  1. Building the ksctl CLI binary and generating the .exe file.
  2. Publishing the ksctl CLI binary as a release and obtaining the download URL.
  3. Updating the chocolateyinstall.ps1 script with the correct URL for the ksctl binary.
  4. Any additional steps required to successfully create the Chocolatey package.

chocolateyinstall.ps1

image

ksctl.nuspec

image
Copy link

Stale issue message

Copy link

Stale issue message

@dipankardas011
Copy link
Member Author

Keep it open

Copy link

Stale issue message

@dipankardas011
Copy link
Member Author

GoReleaser + Wget ❤️

https://goreleaser.com/customization/homebrew/

@dipankardas011 dipankardas011 changed the title feature(CI): Chocolatey based Package distribution feature(CI): Chocolatey/Wget based Package distribution Jun 2, 2024
@dipankardas011 dipankardas011 changed the title feature(CI): Chocolatey/Wget based Package distribution feature(CI): Chocolatey/Winget based Package distribution Jun 2, 2024
@dipankardas011
Copy link
Member Author

Removed the support for windows

@dipankardas011 dipankardas011 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant