-
Notifications
You must be signed in to change notification settings - Fork 132
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
spago registry search
gives false positive result
#1008
Comments
Are you able to point out if there's any bit of documentation that's confusing about this? We should make it clearer in the docs. |
I think something that could help with this would be to enrich the results of |
My confusion was probably stemmed from the help message of I agree this is a documentation issue. Spelling out what registry and package set are in the document would be great! My current understanding is:
|
There already exists a section of the docs called "what's a package set?" |
The document exists so I will close the ticket. I'd argue that |
I'll reopen this - it sounds like we have quite a few areas that are ripe for improvement:
|
There is currently no other way of searching the totality of packages that are included in the Registry. In practice most of the folks will use package sets, but e.g. library authors are more likely to not do that, so it is useful to have some way of browsing the Registry |
I agree that it's still valuable to indicate the package exists in the registry but not in your local package set, because — as you noted, @f-f — there are many reasons a package could be missing from the set you're using and it doesn't mean that the package is inaccessible to you. You could very well install it by adding it to your extra_packages. It would be nice to remind users that they aren't restricted only to packages / versions in their chosen package set. |
The package in question is
iterable
. Thespago registry search iterable
reports its existence in the package set, but actually adding the said package to thespago.yaml
and building the project result in an error:The
spago
version is the latest0.93.9
and thespago.yaml
is the minimum one afterspago init
. It also contradicts the result of its ownspago ls packages
command, which reports no such package.The text was updated successfully, but these errors were encountered: