Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-869

gitexe list() implemented incorrectly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.5, 1.10.0
    • Fix Version/s: 1.10.0
    • Labels:
      None

      Description

      Taking the Svn implementation as a model, ScmProvider.list() should be implemented as follows:

      • The command must directly query the remote repository for files
      • A local working copy is unnecessary and if it doesn't exist, the remote repository must not be checked out.
      • fileSet.getBasedir() indicates where to run the scm binary. The recommended value is ".".
      • fileSet.getFileList() indicates the files to list
      • repository indicates the repo URL

      Git (among other SCMs) does not support listing remote files, so the command should just fail.

      For listing files in a working copy, users should call the ScmProvider.status() method instead.

        Attachments

          Activity

            People

            • Assignee:
              michael-o Michael Osipov
              Reporter:
              basinilya Ilya Basin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: