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] Improve errors handling while downloading p2 artifacts from repository #4278

Merged
merged 1 commit into from
Sep 15, 2024

Commits on Sep 15, 2024

  1. Improve errors handling while downloading p2 artifacts from repository

    In case an artifact couldn't be downloaded due to e.g. a bad mirror,
    p2 returns an RETRY error code. This code is currently ignored and
    Tycho simply fails with an I/O exception.
    Instead, Tycho attempts to download the artifact up to three times
    (assuming that this error code was returned), before failing. This value
    can be configured using the 'eclipse.p2.maxDownloadAttempts' system
    property.
    
    (cherry picked from commit 8462a37)
    ptziegler committed Sep 15, 2024
    Configuration menu
    Copy the full SHA
    a1222a0 View commit details
    Browse the repository at this point in the history