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

Allow installation of a specific version #99

Open
kreatoo opened this issue Mar 9, 2024 · 1 comment
Open

Allow installation of a specific version #99

kreatoo opened this issue Mar 9, 2024 · 1 comment
Labels
enhancement New feature or request kpkg Issues related to Kreato Linux's package manager. v7 Issues/Enhancements that are scheduled for v7

Comments

@kreatoo
Copy link
Member

kreatoo commented Mar 9, 2024

Example;

kpkg install kpkg#v7.0.0-alpha2 or kpkg build main/kpkg#v7.0.0-alpha2

Requires #98 to work (atleast for the install part)

For installing binaries, we need to check for the dependency versions stored in the pkgInfo.ini file (so we don't end up with a broken system).

For this, we have two approaches;

  • Download the .kpkg file first, extract it, check the pkgInfo.ini inside, decide what to do from there
  • Have an API inside the binary repository (like https://example.com/api/v1/getPkgInfo/kpkg/latest) that would allow us to check the pkgInfo.ini without the need to download

I will probably do the first one at first, as it is easier to handle.
Second one will be much faster though, so I might switch to that overtime.

@kreatoo kreatoo added kpkg Issues related to Kreato Linux's package manager. v7 Issues/Enhancements that are scheduled for v7 enhancement New feature or request labels Mar 9, 2024
@kreatoo
Copy link
Member Author

kreatoo commented May 25, 2024

kpkg install part is done, kpkg build part is not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request kpkg Issues related to Kreato Linux's package manager. v7 Issues/Enhancements that are scheduled for v7
Projects
None yet
Development

No branches or pull requests

1 participant