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

Move DependencyArtifacts computation into project types #3182

Conversation

laeubi
Copy link
Member

@laeubi laeubi commented Dec 8, 2023

Currently DefaultTychoResolver computes the DependencyArtifacts on behalf of the TychoProject and then set these into the project using a context value, this has several drawbacks, e.g as it introduce ordering problem and we need to handle some things special for custom types.

Instead the TychoProject itself should compute the dependencies on demand as its concrete implementation knows best how to compute these items and can simply do so on first request.

@laeubi laeubi added the backport-to-tycho-4.0.x Can be added to a PR to trigger an automatic backport of the change label Dec 8, 2023
@laeubi laeubi force-pushed the move_dependency_artifacts_into_project_types branch from 25d6bf6 to a75c5b8 Compare December 8, 2023 08:19
Copy link

github-actions bot commented Dec 8, 2023

Test Results

382 files  ±0  382 suites  ±0   2h 41m 30s ⏱️ + 17m 59s
376 tests ±0  369 ✔️  - 1    6 💤 ±0  0 ±0  1 🔥 +1 
752 runs  ±0  738 ✔️  - 1  13 💤 ±0  0 ±0  1 🔥 +1 

For more details on these errors, see this check.

Results for commit 9367cc8. ± Comparison against base commit 2408842.

♻️ This comment has been updated with latest results.

@laeubi laeubi force-pushed the move_dependency_artifacts_into_project_types branch 4 times, most recently from ba1fb2c to 144d75e Compare December 8, 2023 09:50
Currently DefaultTychoResolver computes the DependencyArtifacts on
behalf of the TychoProject and then set these into the project using a
context value, this has several drawbacks, e.g as it introduce ordering
problem and we need to handle some things special for custom types.

Instead the TychoProject itself should compute the dependencies on
demand as its concrete implementation knows best how to compute these
items and can simply do so on first request.
@laeubi laeubi force-pushed the move_dependency_artifacts_into_project_types branch from 144d75e to 9367cc8 Compare December 8, 2023 11:29
@laeubi laeubi merged commit 05bdf27 into eclipse-tycho:master Dec 8, 2023
7 of 10 checks passed
Copy link

github-actions bot commented Dec 8, 2023

💚 All backports created successfully

Status Branch Result
tycho-4.0.x

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-tycho-4.0.x Can be added to a PR to trigger an automatic backport of the change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant