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

Add dependency check mojo #4595

Merged
merged 2 commits into from
Jan 17, 2025
Merged

Conversation

laeubi
Copy link
Member

@laeubi laeubi commented Jan 12, 2025

If version ranges on packages or bundles are used it is currently quite
hard to ensure these are actually work for the provided ranges
especially if they evolve over a long time.

This now adds a new tycho-baseline:check-dependencies mojo that can help
in this task by inspecting the byte-code of the project and the
dependencies if there is any inconsistency in any of the dependencies
matching the version range.

This is currently work in progress

Copy link

github-actions bot commented Jan 12, 2025

Test Results

  606 files  ±0    606 suites  ±0   4h 17m 16s ⏱️ - 4m 0s
  434 tests ±0    426 ✅ +1   7 💤 ±0  1 ❌ ±0 
1 302 runs  ±0  1 279 ✅ +1  22 💤 ±0  1 ❌ ±0 

For more details on these failures, see this check.

Results for commit b8a7e8a. ± Comparison against base commit 9360485.

♻️ This comment has been updated with latest results.

@laeubi laeubi force-pushed the add_dependency_check_mojo branch 2 times, most recently from 2fc17e8 to 79ec7f7 Compare January 13, 2025 05:41
@laeubi laeubi force-pushed the add_dependency_check_mojo branch 5 times, most recently from b8a7e8a to 2090196 Compare January 17, 2025 14:05
@laeubi laeubi marked this pull request as ready for review January 17, 2025 14:05
@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 Jan 17, 2025
If version ranges on packages or bundles are used it is currently quite
hard to ensure these are actually work for the provided ranges
especially if they evolve over a long time.

This now adds a new tycho-baseline:check-dependencies mojo that can help
in this task by inspecting the byte-code of the project and the
dependencies if there is any inconsistency in any of the dependencies
matching the version range.
@laeubi laeubi force-pushed the add_dependency_check_mojo branch from 2090196 to 77b5250 Compare January 17, 2025 14:08
@laeubi laeubi enabled auto-merge (rebase) January 17, 2025 14:09
@laeubi laeubi merged commit 46d5762 into eclipse-tycho:main Jan 17, 2025
14 checks passed
@eclipse-tycho-bot
Copy link

💔 All backports failed

Status Branch Result
tycho-4.0.x Backport failed because of merge conflicts

You might need to backport the following PRs to tycho-4.0.x:
- Add support for TargetDefinition#implicitDependencies
- Add support for bumping maven-target locations
- Add p2-aware model converter for CycloneDX SBOM generation
- Skip CHECK_TRUST phase and allow parallel execution of product assembly
- Add support to specify target locations in the pom configuration
- Support javac as a compiler for Tycho
- Add support for API Tools Annotations to Tycho
- Support repository references

Manual backport

To create the backport manually run:

backport --pr 4595

Questions ?

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

1 similar comment
@eclipse-tycho-bot
Copy link

💔 All backports failed

Status Branch Result
tycho-4.0.x Backport failed because of merge conflicts

You might need to backport the following PRs to tycho-4.0.x:
- Add support for TargetDefinition#implicitDependencies
- Add support for bumping maven-target locations
- Add p2-aware model converter for CycloneDX SBOM generation
- Skip CHECK_TRUST phase and allow parallel execution of product assembly
- Add support to specify target locations in the pom configuration
- Support javac as a compiler for Tycho
- Add support for API Tools Annotations to Tycho
- Support repository references

Manual backport

To create the backport manually run:

backport --pr 4595

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.

2 participants