Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63539

Git tool chooser does not recognize all existing caches

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: git-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.235.5
      Git plugin 4.4.0
    • Similar Issues:
    • Released As:
      git plugin 4.4.3

      Description

      The git tool chooser will use locally cached copies of git repositories to estimate repository size. However, the cache lookup uses the repository URL as the cache lookup key. Git repositories on all major providers can be accessed from multiple URLs where the different URLs represent the same repository.

      For example, https://github.com/jenkinsci/git-plugin and https://github.com/jenkinsci/git-plugin.git are the same repository but cache lookup by the repository URL will find at most one of those two.

      Should extend the repository cache lookup process to better use the cached copies.

        Attachments

          Activity

          markewaite Mark Waite created issue -
          markewaite Mark Waite made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          markewaite Mark Waite made changes -
          Remote Link This issue links to "PR 947 - widen search for a cache (Web Link)" [ 25716 ]
          markewaite Mark Waite made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          markewaite Mark Waite made changes -
          Assignee Mark Waite [ markewaite ] Rishabh Budhouliya [ rishabhbudhouliya ]
          markewaite Mark Waite made changes -
          Status In Review [ 10005 ] In Progress [ 3 ]
          markewaite Mark Waite made changes -
          Remote Link This issue links to "PR 947 - widen search for a cache (Web Link)" [ 25716 ]
          markewaite Mark Waite made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          markewaite Mark Waite made changes -
          Remote Link This issue links to "PR 958 - recognize more caches and remember their sizes in memory (Web Link)" [ 25908 ]
          markewaite Mark Waite made changes -
          Resolution Fixed [ 1 ]
          Status In Review [ 10005 ] Fixed but Unreleased [ 10203 ]
          markewaite Mark Waite made changes -
          Released As git plugin 4.4.3
          Status Fixed but Unreleased [ 10203 ] Closed [ 6 ]

            People

            Assignee:
            rishabhbudhouliya Rishabh Budhouliya
            Reporter:
            markewaite Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: