Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-996

Remove excessive HEAD requests for URL repository

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0-RC2
    • 2.1.0-RC1
    • Core
    • None

    Description

      Fixing useless extra HEAD requests

      When searching for an artifact named "project" version "2.2.+" for organization "org", Ivy attempts HEAD requests for completely not possible versions.

      IE: /org/project/0.9.2/ivy-0.9.2.xml

      This is not terribly painful unless you have thousands of builds and are not on the same network as your ivy server.

      Are HEAD requests even necessary?

      Simply getting a directory listing should be good enough to determine if there is an artifact (for choosing latest-release). Now, after one is chosen, if no ivy.xml file exists, I could understand trying the next one, but trying all of them, just to select the latest one anyways seems like a complete waste.

      Attachments

        Activity

          People

            xavier Xavier Hanin
            ericanderson Eric Anderson
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: