Skip to content

Allow installation of a specific version #99

@kreatoo

Description

@kreatoo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestkpkgIssues related to Kreato Linux's package manager.v7Issues/Enhancements that are scheduled for v7

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions