[ https://issues.apache.org/jira/browse/SCM-869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17963467#comment-17963467 ]
ASF GitHub Bot commented on SCM-869: ------------------------------------ jira-importer commented on issue #1105: URL: https://github.com/apache/maven-scm/issues/1105#issuecomment-2964646144 **[Chris Graham](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=chrisgwarp)** commented I just checked the Jazz provider I wrote (and I looked at most of the others to see what they were actually doing). The Jazz provider does a remote file list, which is what the docs wanted. https://www.ibm.com/support/knowledgecenter/SSYMRC_4.0.0/com.ibm.team.scm.doc/topics/list_remotefiles.html > gitexe list() implemented incorrectly > ------------------------------------- > > Key: SCM-869 > URL: https://issues.apache.org/jira/browse/SCM-869 > Project: Maven SCM (Moved to GitHub Issues) > Issue Type: Bug > Components: maven-scm-provider-gitexe > Affects Versions: 1.9.5, 1.10.0 > Reporter: Ilya Basin > Assignee: Michael Osipov > Priority: Major > Fix For: 1.10.0 > > > 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. -- This message was sent by Atlassian Jira (v8.20.10#820010)