Skip to content

fix/conan-project-key-build-dir-issue#3370

Merged
reshmifrog merged 4 commits intojfrog:masterfrom
reshmifrog:fix/conan-project-key-build-dir
Mar 3, 2026
Merged

fix/conan-project-key-build-dir-issue#3370
reshmifrog merged 4 commits intojfrog:masterfrom
reshmifrog:fix/conan-project-key-build-dir

Conversation

@reshmifrog
Copy link
Contributor

@reshmifrog reshmifrog commented Feb 25, 2026

  • All tests have passed. If this feature is not already covered by the tests, new tests have been added.
  • The pull request is targeting the master branch.
  • The code has been validated to compile successfully by running go vet ./....
  • The code has been formatted properly using go fmt ./....

Problem: jf conan create/install/upload --project= ignored the --project flag when computing the local build info directory SHA256 hash, always using an empty project key (SHA256(buildName_buildNumber_) instead of SHA256(buildName_buildNumber_projectKey)).
Solution: Changed Conan's command.go and upload.go to use buildUtils.CreateBuildInfoService() and pass the actual projectKey from buildConfiguration.GetProject() to GetOrCreateBuildWithProject.

@reshmifrog reshmifrog added bug Something isn't working safe to test Approve running integration tests on a pull request and removed safe to test Approve running integration tests on a pull request labels Mar 2, 2026
@reshmifrog reshmifrog added safe to test Approve running integration tests on a pull request and removed safe to test Approve running integration tests on a pull request labels Mar 3, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2026

👍 Frogbot scanned this pull request and did not find any new security issues.


@reshmifrog reshmifrog merged commit fa9a26b into jfrog:master Mar 3, 2026
79 of 80 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working safe to test Approve running integration tests on a pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants