Add WinGet install support
API Dash is currently not available on WinGet. Contributors can help us in the following ways:
- Provide Step by step details on how to create a build and release it.
- CI/CD pipeline which prepares and publishes the build on WinGet whenever
pubspec.yamlversion is bumped.
Developers are requested to add (1) in https://github.com/foss42/apidash/blob/main/doc/dev_guide/packaging.md
Once (1) is completed (2) can be taken up.
Related issues & discussions - https://github.com/foss42/apidash/discussions/240
My Step-by-Step Plan:
-
Familiarize Myself with WinGet and FlatHub:
-
Prepare the Build for WinGet:
-
Submit to WinGet:
- I will test the installer to ensure it works correctly on Windows.
- I will follow the steps to submit the manifest and installer to the WinGet repository by creating a pull request in the WinGet-Pkgs GitHub repository.
-
Set Up CI/CD for FlatHub:
- I will learn the basics of CI/CD (Continuous Integration/Continuous Deployment) to automate the build and release process.
- I will set up a CI/CD pipeline that prepares and publishes the build on FlatHub whenever the
pubspec.yamlversion is bumped. This might involve using tools like GitHub Actions or GitLab CI.
-
Automate the Release Process:
- I will configure the CI/CD pipeline to automatically detect changes in the
pubspec.yamlversion. - I will ensure the pipeline builds the Flatpak package and submits it to FlatHub.
- I will configure the CI/CD pipeline to automatically detect changes in the
-
Testing and Verification:
- I will test the entire process to ensure that the builds are correctly prepared and published on both WinGet and FlatHub.
- I will verify that the application installs and runs correctly from both package managers.
By following these steps, I will be able to make API Dash available on WinGet and automate its release on FlatHub, ensuring a smooth and efficient distribution process.
@abhinavs1920 Why are you mixing WinGet with FlatHub .. these are two different issues.
@abhinavs1920 Why are you mixing WinGet with FlatHub .. these are two different issues.
@ashitaprasad Second point of the issue says Flathub, it should be winget.
@abhinavs1920 Why are you mixing WinGet with FlatHub .. these are two different issues.
@ashitaprasad Second point of the issue says Flathub, it should be winget.
Thanks for pointing out @AnimeshAgarwal28