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

Can we support list or search package from private conan-server #230

Open
daiybh opened this issue May 13, 2024 · 3 comments
Open

Can we support list or search package from private conan-server #230

daiybh opened this issue May 13, 2024 · 3 comments
Labels

Comments

@daiybh
Copy link

daiybh commented May 13, 2024

Can we support list or search package from private conan-server

today ,I found it only support from conan-center.

@icegull
Copy link

icegull commented May 13, 2024

Agree. We need that features.

@czoido
Copy link
Contributor

czoido commented May 20, 2024

Hi @daiybh, @icegull,

Thanks a lot for the question.
We have no plans to implement this for the moment as it would add an extra complexity for the plugin.
Right now, the list of Conan packages comes from a hardcoded json that's updated daily to reflect the updates in Conan Center (if you click the 🔄 button it will be updated) but there's no option to show the contents of a custom repo.
You can edit the conandata.yml that the extension generates (dont forget to remove the comments, otherwise the extension overwrites the contents) and there you can specify your own packages, that will be fetched by order of preference that you have configured in the same way that any regular conan install works.
I think the easiest way of making sure that you fetch the requirements from your custom repository putting your remote first in the list of remotes (you can do that with conan remote update if you already have the remote configured) or even removing or disabling all remotes but the one you want.

Hope this helps.

@czoido
Copy link
Contributor

czoido commented May 20, 2024

Related to #224

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

3 participants