eclipse-equinox / p2

Eclipse Public License 2.0
14 stars 39 forks source link

Improve message if artifact can not be downloaded from any repository #502

Closed laeubi closed 4 months ago

laeubi commented 4 months ago

There are rare cases where one gets a message that an artifact can not be downloaded from any repository, this has two pitfalls:

1) You don't get an idea what repositories are actually contacted 2) Its hard to find out who actually requires this artifact

This now enhances an IArtifactRequest by a method to set a "context iu" why this artifact is requested. If the information is given, it searches through the available IUs and gives additional information why it is required and what repositories are queried.

github-actions[bot] commented 4 months ago

Test Results

    6 files  ±0      6 suites  ±0   19m 41s :stopwatch: -5s 2 184 tests ±0  2 180 :white_check_mark: ±0  4 :zzz: ±0  0 :x: ±0  4 426 runs  ±0  4 419 :white_check_mark: ±0  7 :zzz: ±0  0 :x: ±0 

Results for commit 05559a34. ± Comparison against base commit e82bbdf6.

:recycle: This comment has been updated with latest results.

laeubi commented 4 months ago

@merks I made this now more "local" change.