You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/05/22 20:29:02 UTC

[GitHub] [maven-scm] michael-o opened a new pull request, #145: [SCM-986] SvnExe's SvnRemoteInfoCommand incorrectly implemented

michael-o opened a new pull request, #145:
URL: https://github.com/apache/maven-scm/pull/145

   Extend TCK test


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-scm] michael-o commented on a diff in pull request #145: [SCM-986] SvnExe's SvnRemoteInfoCommand incorrectly implemented

Posted by GitBox <gi...@apache.org>.
michael-o commented on code in PR #145:
URL: https://github.com/apache/maven-scm/pull/145#discussion_r881488429


##########
maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/test/java/org/apache/maven/scm/provider/svn/svnexe/command/remoteinfo/SvnExeRemoteInfoCommandTrailingSlashTckTest.java:
##########
@@ -0,0 +1,39 @@
+package org.apache.maven.scm.provider.svn.svnexe.command.remoteinfo;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import org.apache.maven.scm.provider.ScmProviderRepository;
+import org.apache.maven.scm.provider.svn.repository.SvnScmProviderRepository;
+
+/**
+ * @author Bertrand Paquet
+ */
+public class SvnExeRemoteInfoCommandTrailingSlashTckTest
+    extends AbstractSvnExeRemoteInfoCommandTckTest
+{
+
+    @Override
+    protected ScmProviderRepository getScmProviderRepository()
+        throws Exception
+    {
+        return new SvnScmProviderRepository( "http://svn.apache.org/repos/asf/maven/maven-3/trunk/" );

Review Comment:
   No, it just has to be `file:///`. It is more than sufficient for a test.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-scm] olamy commented on a diff in pull request #145: [SCM-986] SvnExe's SvnRemoteInfoCommand incorrectly implemented

Posted by GitBox <gi...@apache.org>.
olamy commented on code in PR #145:
URL: https://github.com/apache/maven-scm/pull/145#discussion_r881246928


##########
maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/test/java/org/apache/maven/scm/provider/svn/svnexe/command/remoteinfo/SvnExeRemoteInfoCommandTrailingSlashTckTest.java:
##########
@@ -0,0 +1,39 @@
+package org.apache.maven.scm.provider.svn.svnexe.command.remoteinfo;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import org.apache.maven.scm.provider.ScmProviderRepository;
+import org.apache.maven.scm.provider.svn.repository.SvnScmProviderRepository;
+
+/**
+ * @author Bertrand Paquet
+ */
+public class SvnExeRemoteInfoCommandTrailingSlashTckTest
+    extends AbstractSvnExeRemoteInfoCommandTckTest
+{
+
+    @Override
+    protected ScmProviderRepository getScmProviderRepository()
+        throws Exception
+    {
+        return new SvnScmProviderRepository( "http://svn.apache.org/repos/asf/maven/maven-3/trunk/" );

Review Comment:
   haha LOL I can even put a very expensive bet on who did that 🤣



##########
maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/test/java/org/apache/maven/scm/provider/svn/svnexe/command/remoteinfo/SvnExeRemoteInfoCommandTrailingSlashTckTest.java:
##########
@@ -0,0 +1,39 @@
+package org.apache.maven.scm.provider.svn.svnexe.command.remoteinfo;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import org.apache.maven.scm.provider.ScmProviderRepository;
+import org.apache.maven.scm.provider.svn.repository.SvnScmProviderRepository;
+
+/**
+ * @author Bertrand Paquet
+ */
+public class SvnExeRemoteInfoCommandTrailingSlashTckTest
+    extends AbstractSvnExeRemoteInfoCommandTckTest
+{
+
+    @Override
+    protected ScmProviderRepository getScmProviderRepository()
+        throws Exception
+    {
+        return new SvnScmProviderRepository( "http://svn.apache.org/repos/asf/maven/maven-3/trunk/" );

Review Comment:
   haha true LOL I can even put a very expensive bet on who did that 🤣



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-scm] asfgit closed pull request #145: [SCM-986] SvnExe's SvnRemoteInfoCommand incorrectly implemented

Posted by GitBox <gi...@apache.org>.
asfgit closed pull request #145: [SCM-986] SvnExe's SvnRemoteInfoCommand incorrectly implemented
URL: https://github.com/apache/maven-scm/pull/145


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-scm] olamy commented on a diff in pull request #145: [SCM-986] SvnExe's SvnRemoteInfoCommand incorrectly implemented

Posted by GitBox <gi...@apache.org>.
olamy commented on code in PR #145:
URL: https://github.com/apache/maven-scm/pull/145#discussion_r881134250


##########
maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/test/java/org/apache/maven/scm/provider/svn/svnexe/command/remoteinfo/SvnExeRemoteInfoCommandTrailingSlashTckTest.java:
##########
@@ -0,0 +1,39 @@
+package org.apache.maven.scm.provider.svn.svnexe.command.remoteinfo;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import org.apache.maven.scm.provider.ScmProviderRepository;
+import org.apache.maven.scm.provider.svn.repository.SvnScmProviderRepository;
+
+/**
+ * @author Bertrand Paquet
+ */
+public class SvnExeRemoteInfoCommandTrailingSlashTckTest
+    extends AbstractSvnExeRemoteInfoCommandTckTest
+{
+
+    @Override
+    protected ScmProviderRepository getScmProviderRepository()
+        throws Exception
+    {
+        return new SvnScmProviderRepository( "http://svn.apache.org/repos/asf/maven/maven-3/trunk/" );

Review Comment:
   do we really want to depends on such external resources?



##########
maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/test/java/org/apache/maven/scm/provider/svn/svnexe/command/remoteinfo/SvnExeRemoteInfoCommandTrailingSlashTckTest.java:
##########
@@ -0,0 +1,39 @@
+package org.apache.maven.scm.provider.svn.svnexe.command.remoteinfo;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import org.apache.maven.scm.provider.ScmProviderRepository;
+import org.apache.maven.scm.provider.svn.repository.SvnScmProviderRepository;
+
+/**
+ * @author Bertrand Paquet
+ */
+public class SvnExeRemoteInfoCommandTrailingSlashTckTest
+    extends AbstractSvnExeRemoteInfoCommandTckTest
+{
+
+    @Override
+    protected ScmProviderRepository getScmProviderRepository()
+        throws Exception
+    {
+        return new SvnScmProviderRepository( "http://svn.apache.org/repos/asf/maven/maven-3/trunk/" );

Review Comment:
   do we really want to depend on such external resources?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-scm] olamy commented on a diff in pull request #145: [SCM-986] SvnExe's SvnRemoteInfoCommand incorrectly implemented

Posted by GitBox <gi...@apache.org>.
olamy commented on code in PR #145:
URL: https://github.com/apache/maven-scm/pull/145#discussion_r881498188


##########
maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/test/java/org/apache/maven/scm/provider/svn/svnexe/command/remoteinfo/SvnExeRemoteInfoCommandTrailingSlashTckTest.java:
##########
@@ -0,0 +1,39 @@
+package org.apache.maven.scm.provider.svn.svnexe.command.remoteinfo;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import org.apache.maven.scm.provider.ScmProviderRepository;
+import org.apache.maven.scm.provider.svn.repository.SvnScmProviderRepository;
+
+/**
+ * @author Bertrand Paquet
+ */
+public class SvnExeRemoteInfoCommandTrailingSlashTckTest
+    extends AbstractSvnExeRemoteInfoCommandTckTest
+{
+
+    @Override
+    protected ScmProviderRepository getScmProviderRepository()
+        throws Exception
+    {
+        return new SvnScmProviderRepository( "http://svn.apache.org/repos/asf/maven/maven-3/trunk/" );

Review Comment:
   `file://` for remote info? not sure this will test remote access. except a `file://` mounted on NTFS but hey that could be worst 🤣 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-scm] michael-o commented on a diff in pull request #145: [SCM-986] SvnExe's SvnRemoteInfoCommand incorrectly implemented

Posted by GitBox <gi...@apache.org>.
michael-o commented on code in PR #145:
URL: https://github.com/apache/maven-scm/pull/145#discussion_r881500861


##########
maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/test/java/org/apache/maven/scm/provider/svn/svnexe/command/remoteinfo/SvnExeRemoteInfoCommandTrailingSlashTckTest.java:
##########
@@ -0,0 +1,39 @@
+package org.apache.maven.scm.provider.svn.svnexe.command.remoteinfo;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import org.apache.maven.scm.provider.ScmProviderRepository;
+import org.apache.maven.scm.provider.svn.repository.SvnScmProviderRepository;
+
+/**
+ * @author Bertrand Paquet
+ */
+public class SvnExeRemoteInfoCommandTrailingSlashTckTest
+    extends AbstractSvnExeRemoteInfoCommandTckTest
+{
+
+    @Override
+    protected ScmProviderRepository getScmProviderRepository()
+        throws Exception
+    {
+        return new SvnScmProviderRepository( "http://svn.apache.org/repos/asf/maven/maven-3/trunk/" );

Review Comment:
   From a Subversion perspective everything with a URL is remote because it is not a working copy.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-scm] michael-o commented on a diff in pull request #145: [SCM-986] SvnExe's SvnRemoteInfoCommand incorrectly implemented

Posted by GitBox <gi...@apache.org>.
michael-o commented on code in PR #145:
URL: https://github.com/apache/maven-scm/pull/145#discussion_r881251864


##########
maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/test/java/org/apache/maven/scm/provider/svn/svnexe/command/remoteinfo/SvnExeRemoteInfoCommandTrailingSlashTckTest.java:
##########
@@ -0,0 +1,39 @@
+package org.apache.maven.scm.provider.svn.svnexe.command.remoteinfo;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import org.apache.maven.scm.provider.ScmProviderRepository;
+import org.apache.maven.scm.provider.svn.repository.SvnScmProviderRepository;
+
+/**
+ * @author Bertrand Paquet
+ */
+public class SvnExeRemoteInfoCommandTrailingSlashTckTest
+    extends AbstractSvnExeRemoteInfoCommandTckTest
+{
+
+    @Override
+    protected ScmProviderRepository getScmProviderRepository()
+        throws Exception
+    {
+        return new SvnScmProviderRepository( "http://svn.apache.org/repos/asf/maven/maven-3/trunk/" );

Review Comment:
   That's the cheap solution 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-scm] michael-o commented on a diff in pull request #145: [SCM-986] SvnExe's SvnRemoteInfoCommand incorrectly implemented

Posted by GitBox <gi...@apache.org>.
michael-o commented on code in PR #145:
URL: https://github.com/apache/maven-scm/pull/145#discussion_r881501140


##########
maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/test/java/org/apache/maven/scm/provider/svn/svnexe/command/remoteinfo/SvnExeRemoteInfoCommandTrailingSlashTckTest.java:
##########
@@ -0,0 +1,39 @@
+package org.apache.maven.scm.provider.svn.svnexe.command.remoteinfo;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import org.apache.maven.scm.provider.ScmProviderRepository;
+import org.apache.maven.scm.provider.svn.repository.SvnScmProviderRepository;
+
+/**
+ * @author Bertrand Paquet
+ */
+public class SvnExeRemoteInfoCommandTrailingSlashTckTest
+    extends AbstractSvnExeRemoteInfoCommandTckTest
+{
+
+    @Override
+    protected ScmProviderRepository getScmProviderRepository()
+        throws Exception
+    {
+        return new SvnScmProviderRepository( "http://svn.apache.org/repos/asf/maven/maven-3/trunk/" );

Review Comment:
   http://localhost/dsssdf is local also. Makes not difference.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-scm] michael-o commented on a diff in pull request #145: [SCM-986] SvnExe's SvnRemoteInfoCommand incorrectly implemented

Posted by GitBox <gi...@apache.org>.
michael-o commented on code in PR #145:
URL: https://github.com/apache/maven-scm/pull/145#discussion_r881488429


##########
maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/test/java/org/apache/maven/scm/provider/svn/svnexe/command/remoteinfo/SvnExeRemoteInfoCommandTrailingSlashTckTest.java:
##########
@@ -0,0 +1,39 @@
+package org.apache.maven.scm.provider.svn.svnexe.command.remoteinfo;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import org.apache.maven.scm.provider.ScmProviderRepository;
+import org.apache.maven.scm.provider.svn.repository.SvnScmProviderRepository;
+
+/**
+ * @author Bertrand Paquet
+ */
+public class SvnExeRemoteInfoCommandTrailingSlashTckTest
+    extends AbstractSvnExeRemoteInfoCommandTckTest
+{
+
+    @Override
+    protected ScmProviderRepository getScmProviderRepository()
+        throws Exception
+    {
+        return new SvnScmProviderRepository( "http://svn.apache.org/repos/asf/maven/maven-3/trunk/" );

Review Comment:
   No, it jus thas to be `file:///`. It is more than sufficient for a test.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-scm] michael-o commented on a diff in pull request #145: [SCM-986] SvnExe's SvnRemoteInfoCommand incorrectly implemented

Posted by GitBox <gi...@apache.org>.
michael-o commented on code in PR #145:
URL: https://github.com/apache/maven-scm/pull/145#discussion_r881349996


##########
maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/test/java/org/apache/maven/scm/provider/svn/svnexe/command/remoteinfo/SvnExeRemoteInfoCommandTrailingSlashTckTest.java:
##########
@@ -0,0 +1,39 @@
+package org.apache.maven.scm.provider.svn.svnexe.command.remoteinfo;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import org.apache.maven.scm.provider.ScmProviderRepository;
+import org.apache.maven.scm.provider.svn.repository.SvnScmProviderRepository;
+
+/**
+ * @author Bertrand Paquet
+ */
+public class SvnExeRemoteInfoCommandTrailingSlashTckTest
+    extends AbstractSvnExeRemoteInfoCommandTckTest
+{
+
+    @Override
+    protected ScmProviderRepository getScmProviderRepository()
+        throws Exception
+    {
+        return new SvnScmProviderRepository( "http://svn.apache.org/repos/asf/maven/maven-3/trunk/" );

Review Comment:
   @olamy at work:
   ```
   -------------------------------------------------------------------------------
   Test set: org.apache.maven.scm.provider.svn.svnexe.command.remoteinfo.SvnRemoteInfoCommandTest
   -------------------------------------------------------------------------------
   Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1,218.536 s <<< FAILURE! - in org.apache.maven.scm.provider.svn.svnexe.command.remoteinfo.SvnRemoteInfoCommandTest
   testNotExist(org.apache.maven.scm.provider.svn.svnexe.command.remoteinfo.SvnRemoteInfoCommandTest)  Time elapsed: 609.31 s  <<< ERROR!
   org.apache.maven.scm.ScmException: 
   cmd.exe /X /C "svn --non-interactive ls http://svn.apache.org/repos/asf/maven/scm/trunk/foo/bar/beer@".The svn command failed:svn: E170013: Unable to connect to a repository at URL 'http://svn.apache.org/repos/asf/maven/scm/trunk/foo/bar/beer'
   svn: E175012: Connection timed out
   
   	at org.apache.maven.scm.provider.svn.svnexe.command.remoteinfo.SvnRemoteInfoCommandTest.testNotExist(SvnRemoteInfoCommandTest.java:53)
   
   testExist(org.apache.maven.scm.provider.svn.svnexe.command.remoteinfo.SvnRemoteInfoCommandTest)  Time elapsed: 609.226 s  <<< ERROR!
   org.apache.maven.scm.ScmException: 
   cmd.exe /X /C "svn --non-interactive ls http://svn.apache.org/repos/asf/maven/scm/trunk/@".The svn command failed:svn: E170013: Unable to connect to a repository at URL 'http://svn.apache.org/repos/asf/maven/scm/trunk'
   svn: E175012: Connection timed out
   
   	at org.apache.maven.scm.provider.svn.svnexe.command.remoteinfo.SvnRemoteInfoCommandTest.testExist(SvnRemoteInfoCommandTest.java:42)
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-scm] olamy commented on a diff in pull request #145: [SCM-986] SvnExe's SvnRemoteInfoCommand incorrectly implemented

Posted by GitBox <gi...@apache.org>.
olamy commented on code in PR #145:
URL: https://github.com/apache/maven-scm/pull/145#discussion_r881486866


##########
maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/test/java/org/apache/maven/scm/provider/svn/svnexe/command/remoteinfo/SvnExeRemoteInfoCommandTrailingSlashTckTest.java:
##########
@@ -0,0 +1,39 @@
+package org.apache.maven.scm.provider.svn.svnexe.command.remoteinfo;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import org.apache.maven.scm.provider.ScmProviderRepository;
+import org.apache.maven.scm.provider.svn.repository.SvnScmProviderRepository;
+
+/**
+ * @author Bertrand Paquet
+ */
+public class SvnExeRemoteInfoCommandTrailingSlashTckTest
+    extends AbstractSvnExeRemoteInfoCommandTckTest
+{
+
+    @Override
+    protected ScmProviderRepository getScmProviderRepository()
+        throws Exception
+    {
+        return new SvnScmProviderRepository( "http://svn.apache.org/repos/asf/maven/maven-3/trunk/" );

Review Comment:
   yup maybe something with testcontainers using such image https://hub.docker.com/r/elleflorio/svn-server/ 
   but frankly no much motivation to maintain more longer svn :( 
   why not if really nothing else to do :)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [maven-scm] michael-o commented on a diff in pull request #145: [SCM-986] SvnExe's SvnRemoteInfoCommand incorrectly implemented

Posted by GitBox <gi...@apache.org>.
michael-o commented on code in PR #145:
URL: https://github.com/apache/maven-scm/pull/145#discussion_r881217428


##########
maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/src/test/java/org/apache/maven/scm/provider/svn/svnexe/command/remoteinfo/SvnExeRemoteInfoCommandTrailingSlashTckTest.java:
##########
@@ -0,0 +1,39 @@
+package org.apache.maven.scm.provider.svn.svnexe.command.remoteinfo;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import org.apache.maven.scm.provider.ScmProviderRepository;
+import org.apache.maven.scm.provider.svn.repository.SvnScmProviderRepository;
+
+/**
+ * @author Bertrand Paquet
+ */
+public class SvnExeRemoteInfoCommandTrailingSlashTckTest
+    extends AbstractSvnExeRemoteInfoCommandTckTest
+{
+
+    @Override
+    protected ScmProviderRepository getScmProviderRepository()
+        throws Exception
+    {
+        return new SvnScmProviderRepository( "http://svn.apache.org/repos/asf/maven/maven-3/trunk/" );

Review Comment:
   That was in the original test. Actually we don't, but that should be addressed in a separate PR. There might be other spots as well.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org