eclipse-equinox / p2

Eclipse Public License 2.0
15 stars 41 forks source link

Add a filter to requirements corresponding to a feature's imports #426

Closed merks closed 9 months ago

merks commented 9 months ago

Provide new FeatureEntry.createRequires methods that specify isImport, deprecating the older ones, and provide a field as well as accessors for isImport. Use that attribute in FeaturesAction.getFilter(FeatureEntry) to add a filter (!(org.eclipse.equinox.p2.exclude.import=true)) to the synthesized requirement.

Update StringBuffer to StringBuilder in the otherwise-modified files.

https://github.com/eclipse-equinox/p2/issues/138

github-actions[bot] commented 9 months ago

Test Results

    9 files  ±0      9 suites  ±0   31m 34s :stopwatch: -10s 2 183 tests ±0  2 179 :white_check_mark: ±0   4 :zzz: ±0  0 :x: ±0  6 639 runs  ±0  6 628 :white_check_mark: ±0  11 :zzz: ±0  0 :x: ±0 

Results for commit 80383414. ± Comparison against base commit dba8c544.