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] Minimal reproducer test-case for #3824 | Use the updated p2 metadata once the project is packed #3928

Merged
merged 2 commits into from
Jun 8, 2024

Commits on Jun 8, 2024

  1. Minimal reproducer test-case for #3824

    Add a minimal reproducer test-case for issue
    #3824
    
    regarding the validation failure of transitive generated
    'osgi.extender=osgi.component' requirements in bundles containing DS
    components of version 1.4.
    
    (cherry picked from commit 6394de5)
    HannesWell committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    da21ce1 View commit details
    Browse the repository at this point in the history
  2. Use the updated p2 metadata once the project is packed

    Currently Tycho always uses the INITIAL dependency metadata to compute
    the preliminary target platform. As this metadata can change once the
    project is packed (e.g. headers added / removed) this can lead to
    problems in plugins that depend on the changed plugin because P2 sees
    the updated metadata afterwards and fails.
    
    This now distinguish both cases and used the SEED metadata if the
    project was already packed.
    
    Fix #3824
    
    (cherry picked from commit fc91332)
    laeubi committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    57cc397 View commit details
    Browse the repository at this point in the history