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

Compile: add a way to list which recipes are available, from the commandline #26

Open
ghost opened this issue Oct 3, 2017 · 1 comment
Labels

Comments

@ghost
Copy link

ghost commented Oct 3, 2017

Hello lucas, hisham and everyone else,

How about giving Compile the ability to show which recipes are available at the gobo store?

Here is a syntax proposal BUT keep in mind, this is just a proposal, there can be other ways; I am more interested in the functionality and less in the syntax (though syntax of course also matters):

Compile htop --versions?

The above currently fails with a message such as:

Compile: Unknown option: --versions?

I propose that Compile may instead output this:

"The following recipes are available for htop (showing not more than the 5 latest)"

Htop 2.0.2-r1
Htop 2.0.1-r1
Htop 2.0.0-r1
Htop 1.0.3-r1
Htop 1.0.2-r1

I mention "5 latest" or "five latest" because it should not spam the user with like when there are 20 recipes.

Reasoning for this feature:

  • Well, I think this is again mostly out of convenience. Perhaps you may want to or have to install an older version, such as python 2 versus 3, or different glib versions and so forth. This would also work offline :D - admittedly when one can browse the web, this feature is not so useful, but it may be mostly a small convenience feature I'd think.
@lucasvr
Copy link
Member

lucasvr commented Oct 7, 2017

It is possible to achieve the same functionality with FindPackage, as in FindPackage -l -t recipe htop. I don't think that feature should belong to Compile itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants