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

Add a Conan datasource #11474

Closed
jjcaballero opened this issue Aug 30, 2021 · 5 comments · Fixed by #11602
Closed

Add a Conan datasource #11474

jjcaballero opened this issue Aug 30, 2021 · 5 comments · Fixed by #11602
Assignees
Labels
new datasource New datasource support priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others type:feature Feature (new functionality)

Comments

@jjcaballero
Copy link
Contributor

jjcaballero commented Aug 30, 2021

What would you like Renovate to be able to do?

I want to be able to use Renovate to keep Conan dependencies updated. With the help of the regex package manager and the big variety of versioning schemes, the only missing piece is a datasource compatible with a Conan registry. Somehow also mentioned in #5933 which targets to cover Conan package manager.

If you have any ideas on how this should be implemented, please tell us here.

A simple datasource that would return the content of a specific path in the registry can work.

<registryUrl>/<lookUpName>
     |--- 1.0.0
     |--- 1.0.1

Considering a tree directory as above and assuming that the version of the specific package can be extracted from its folder name, then the minimal functionality of a datasource can be implemented. In the above scenario, the getReleases method of the datasource should return 1.0.0 and 1.0.1.
In my company, we use Artifactory to store the conan packages and with the above approach, we have been using for a while a Renovate fork to monitor projects with conan packages.

Is this a feature you are interested in implementing yourself?

Yes

@jjcaballero jjcaballero added priority-5-triage status:requirements Full requirements are not yet known, so implementation should not be started type:feature Feature (new functionality) labels Aug 30, 2021
@HonkingGoose

This comment has been minimized.

@HonkingGoose HonkingGoose added the new datasource New datasource support label Aug 30, 2021
@rarkins rarkins added status:ready priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others and removed status:requirements Full requirements are not yet known, so implementation should not be started priority-5-triage labels Aug 30, 2021
@M0r13n
Copy link

M0r13n commented Sep 30, 2021

@jjcaballero This would be a great improvement for renovate. Do you expect your changes to be publicly available soon?

@jjcaballero
Copy link
Contributor Author

@M0r13n, The PR (#11602) adds Artifactory registry as datasource. This should be enough to work with conan packages. The PR is ready, I addressed all comments in the PR more than 10 days ago. Unfortunately, it still needs approval from one reviewer.

@M0r13n
Copy link

M0r13n commented Sep 30, 2021

@jjcaballero That's really great news. Looking forward for this to be merged.

Thanks for your great work!

@renovate-release
Copy link
Collaborator

🎉 This issue has been resolved in version 27.25.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new datasource New datasource support priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others type:feature Feature (new functionality)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants