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

[tycho-4.0.x] Find reactor projects by location even if their file location changed #4659

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

eclipse-tycho-bot
Copy link

Backport

This will backport the following commits from main to tycho-4.0.x:

Questions ?

Please refer to the Backport tool documentation

Copy link

Test Results

  603 files  ±0    603 suites  ±0   4h 27m 25s ⏱️ + 16m 50s
  423 tests ±0    416 ✅ ±0   6 💤 ±0  1 ❌ ±0 
1 269 runs  ±0  1 249 ✅ ±0  19 💤 ±0  1 ❌ ±0 

For more details on these failures, see this check.

Results for commit eaa6224. ± Comparison against base commit 33e6e92.

Currently we cache the "known location" for an artifact, but for a
reactor project this location can change (e.g. when it is finally packed
to a jar). This leads to the unfortunate situation that we probably no
longer find it in the map.

This now first lookup the project with the map key, but if it is not
found performs a deeper analysis of the artifacts and check if the
location actually maps to the artifact location of the reactor project.
If that is the case we use that instead of return nothing.

Fix #4653

(cherry picked from commit 4d75930)
@laeubi laeubi force-pushed the backport/tycho-4.0.x/pr-4658 branch from eaa6224 to f9a6b30 Compare January 31, 2025 16:06
@eclipse-tycho-bot eclipse-tycho-bot merged commit e98e409 into tycho-4.0.x Jan 31, 2025
14 checks passed
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

Successfully merging this pull request may close these issues.

2 participants