-
Notifications
You must be signed in to change notification settings - Fork 27
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
[question] Use art:build-info for consumer of conan packages #100
Comments
Hi @fschoenm, Thanks for your report. We can take a look if the install JSON output is suitable to generate a build info. However, I am not sure about the use case, as the build info is normally generated from packages that you are actually building. In your example, you are just installing the packages, so I am not sure how the build info would be useful in that case. Maybe I need some more context. Also, regarding the Thanks a lot for the feedback, it helps us to improve the extension commands for Artifactory 😄 |
@danimtb Thanks for the answer. The context is this:
Seems like a common use case to me but maybe you have other ideas how we could handle that? |
This is pretty much exactly my usecase, I think. We have an internal artifactory server that has all the dependencies required for some of our tools (which themselves are not conan packages). Uploading and downloading dependencies works, but the artifactory WebUI shows nothing in the build tab, so I can't easily see when a binary build was uploaded, for which architectures it is available, etc. |
To be clear, the only thing that I need, is the following: Do I need artifactory tooling for that? Isn't that information available already? |
I'm currently looking at the same thing. We have a C++ app that depends on conan packages in Artifactory and we want to be able to get an xray report for each build reporting any vulnerabilities in the dependencies. |
Thanks a lot for the comment and for the tentative PR to solve the issue. I have tested it and can confirm that it produces the XRay report you asked for 😄 Also @fschoenm, I think the PR proposed covers your use case as well 😃 |
I'm not sure if this is even possible with the Artifactory extension. I have project that is acting just as a consumer of conan packages but does not create a conan package itself. I'm only using
conan install .
for getting the dependencies.I tried to follow the steps in https://github.com/conan-io/conan-extensions/blob/main/extensions/commands/art/README.md, however I only got to step 2a in the description. After
conan install
I have a JSON file that looks fine but I cannotconan upload
because my consumer is not a conan package itself.conan art:build-info create
then doesn't generate anything useful, just an almost empty JSON struct:Nevertheless, I'd like to store the dependencies in the build info. My conan packages are stored on the same Artifactory (if that's a requirement) but just having the names for now would also be fine.
Is what I want even possible?
The text was updated successfully, but these errors were encountered: