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

rift package install ... #1

Open
Mesabloo opened this issue Aug 28, 2022 · 0 comments
Open

rift package install ... #1

Mesabloo opened this issue Aug 28, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Mesabloo
Copy link
Member

This is a command missing in the current implementation.
Typing rift package install X would:

  1. fetch X in the global LTS (or unstable if unspecified)
  2. check whether the X package is a library or an executable
    2.1. if X is a library, build and generate all .zci/.zco files needed for later
    2.2. if X is an executable, build it and install it in the local bin path (to be specified, defaults to the XDG bin path⁽¹⁾)

If X is unspecified on the command-line, the local package is taken.


⁽¹⁾: from the XDG spec at https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

User-specific executable files may be stored in $HOME/.local/bin. Distributions should ensure this directory shows up in the UNIX $PATH environment variable, at an appropriate place.

Not sure where we'd put that on Windows and MacOS though.

@Mesabloo Mesabloo added the enhancement New feature or request label Aug 28, 2022
@Mesabloo Mesabloo moved this to Todo in Issue tracker Aug 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant