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

[conan.io/center] Capture/Show git commit corresponding to recipe revision #186

Open
rconde01 opened this issue Apr 21, 2023 · 2 comments
Open
Assignees

Comments

@rconde01
Copy link

What is your problem/feature request?

I needed to do a maintenance release of an older product build. The fix required a change to a 3rd party library that was pulled from conan center. This required me to vendor the recipe. Because I wanted to change as little as possible, I wanted to get the exact recipe used for the recipe revision I was locked to. I was able to recreate this from the cache of my previous package version, but it is missing some stuff (e.g. testing). It would have been useful if I could have looked up the git commit corresponding to that recipe revision so I could browse the repository at that commit. Seems like you could capture that at the time the recipe is published.

@AbrilRBS AbrilRBS self-assigned this Apr 25, 2023
@AbrilRBS
Copy link
Member

Hi @rconde01 thanks for your suggestion. I can't guarantee that anything will come out of it, but I plan to take a look at this next week to understand the feasibility of having a feature such as the one you describe :)

@prince-chrismc
Copy link

https://cpplang.slack.com/archives/C41CWV9HA/p1682097512972079

Given that each version get's a different revision and does not match the source code because of the hooks reduction of the conandata.yml so it only "kinda" matches.

I am pretty sure this is not possible without other backend changes... since we do not build a commit that ever exists on GItHub that SHA would be meaning less but it could add to the importance of the other changes

:)

@AbrilRBS AbrilRBS transferred this issue from conan-io/conan-center-index Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants