You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by lg...@apache.org on 2020/04/22 13:42:51 UTC

[mina-sshd] branch master updated (cc0d1c6 -> 62b0602)

This is an automated email from the ASF dual-hosted git repository.

lgoldstein pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/mina-sshd.git.


    from cc0d1c6  [SSHD-979] Fix issue where the buffer should not be modified after being submitted to writePacket
     new 9034a92  [SSHD-978] Updated .gitattributes settings
     new 62b0602  [SSHD-978] Re-normalized EOL settings

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .gitattributes                                     | 29 ++++++++++++++++------
 .../sshd/deprecated/ClientUserAuthServiceOld.java  |  1 +
 .../org/apache/sshd/deprecated/UserAuthAgent.java  |  1 +
 .../deprecated/UserAuthKeyboardInteractive.java    |  3 ++-
 .../apache/sshd/deprecated/UserAuthPassword.java   |  1 +
 .../apache/sshd/deprecated/UserAuthPublicKey.java  |  3 ++-
 6 files changed, 28 insertions(+), 10 deletions(-)


[mina-sshd] 02/02: [SSHD-978] Re-normalized EOL settings

Posted by lg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lgoldstein pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mina-sshd.git

commit 62b0602966a79ab1dae6ccc793055d8ab850c4ef
Author: Lyor Goldstein <lg...@apache.org>
AuthorDate: Tue Apr 21 17:10:44 2020 +0300

    [SSHD-978] Re-normalized EOL settings
---
 .../test/java/org/apache/sshd/deprecated/ClientUserAuthServiceOld.java | 1 +
 sshd-core/src/test/java/org/apache/sshd/deprecated/UserAuthAgent.java  | 1 +
 .../java/org/apache/sshd/deprecated/UserAuthKeyboardInteractive.java   | 3 ++-
 .../src/test/java/org/apache/sshd/deprecated/UserAuthPassword.java     | 1 +
 .../src/test/java/org/apache/sshd/deprecated/UserAuthPublicKey.java    | 3 ++-
 5 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/sshd-core/src/test/java/org/apache/sshd/deprecated/ClientUserAuthServiceOld.java b/sshd-core/src/test/java/org/apache/sshd/deprecated/ClientUserAuthServiceOld.java
index ed619b5..d52189b 100644
--- a/sshd-core/src/test/java/org/apache/sshd/deprecated/ClientUserAuthServiceOld.java
+++ b/sshd-core/src/test/java/org/apache/sshd/deprecated/ClientUserAuthServiceOld.java
@@ -16,6 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+
 package org.apache.sshd.deprecated;
 
 import java.io.IOException;
diff --git a/sshd-core/src/test/java/org/apache/sshd/deprecated/UserAuthAgent.java b/sshd-core/src/test/java/org/apache/sshd/deprecated/UserAuthAgent.java
index 97363b5..b529056 100644
--- a/sshd-core/src/test/java/org/apache/sshd/deprecated/UserAuthAgent.java
+++ b/sshd-core/src/test/java/org/apache/sshd/deprecated/UserAuthAgent.java
@@ -16,6 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+
 package org.apache.sshd.deprecated;
 
 import java.io.IOException;
diff --git a/sshd-core/src/test/java/org/apache/sshd/deprecated/UserAuthKeyboardInteractive.java b/sshd-core/src/test/java/org/apache/sshd/deprecated/UserAuthKeyboardInteractive.java
index 6236e05..d334846 100644
--- a/sshd-core/src/test/java/org/apache/sshd/deprecated/UserAuthKeyboardInteractive.java
+++ b/sshd-core/src/test/java/org/apache/sshd/deprecated/UserAuthKeyboardInteractive.java
@@ -16,6 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+
 package org.apache.sshd.deprecated;
 
 import java.io.IOException;
@@ -138,4 +139,4 @@ public class UserAuthKeyboardInteractive extends AbstractUserAuth {
         }
     }
 }
-// CHECKSTYLE:ON
\ No newline at end of file
+// CHECKSTYLE:ON
diff --git a/sshd-core/src/test/java/org/apache/sshd/deprecated/UserAuthPassword.java b/sshd-core/src/test/java/org/apache/sshd/deprecated/UserAuthPassword.java
index ef919ad..4a6dc1c 100644
--- a/sshd-core/src/test/java/org/apache/sshd/deprecated/UserAuthPassword.java
+++ b/sshd-core/src/test/java/org/apache/sshd/deprecated/UserAuthPassword.java
@@ -16,6 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+
 package org.apache.sshd.deprecated;
 
 import java.io.IOException;
diff --git a/sshd-core/src/test/java/org/apache/sshd/deprecated/UserAuthPublicKey.java b/sshd-core/src/test/java/org/apache/sshd/deprecated/UserAuthPublicKey.java
index 3308c63..1d6e20c 100644
--- a/sshd-core/src/test/java/org/apache/sshd/deprecated/UserAuthPublicKey.java
+++ b/sshd-core/src/test/java/org/apache/sshd/deprecated/UserAuthPublicKey.java
@@ -16,6 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+
 package org.apache.sshd.deprecated;
 
 import java.io.IOException;
@@ -122,4 +123,4 @@ public class UserAuthPublicKey extends AbstractUserAuth {
         }
     }
 }
-// CHECKSTYLE:ON
\ No newline at end of file
+// CHECKSTYLE:ON


[mina-sshd] 01/02: [SSHD-978] Updated .gitattributes settings

Posted by lg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lgoldstein pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mina-sshd.git

commit 9034a9286acec5c7cd840cd3bc4c66cb2d7e2df6
Author: Lyor Goldstein <lg...@apache.org>
AuthorDate: Tue Apr 21 16:35:39 2020 +0300

    [SSHD-978] Updated .gitattributes settings
---
 .gitattributes | 29 +++++++++++++++++++++--------
 1 file changed, 21 insertions(+), 8 deletions(-)

diff --git a/.gitattributes b/.gitattributes
index e0bf0dc..612efd8 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,22 +1,35 @@
+# NOTE: see https://help.github.com/en/github/using-git/configuring-git-to-handle-line-endings#refreshing-a-repository-after-changing-line-endings
+# regarding the need to re-normalize the files after changing this one
+
+# Handle line endings automatically for files detected as text 
+# and leave all files detected as binary untouched.
 *               text=auto
+
 *.txt           text eol=lf
 *.sh            text eol=lf
 *.properties    text eol=lf
 *.groovy        text eol=lf
 *.scala         text eol=lf
+*.java          text eol=lf
 *.pl            text eol=lf
+*.md            text eol=lf
 *.awk           text eol=lf
 *.xml           text eol=lf
+*.html          text eol=lf
 *.yaml          text eol=lf
 *.json          text eol=lf
 *.py            text eol=lf
 *.js            text eol=lf
 *.bat           text eol=crlf
-*.vbs	        text eol=crlf
-*.jpg           -text
-*.pdf           -text
-*.png           -text
-*.gif           -text
-*.jar           -text
-*.zip           -text
-*.war           -text
+*.vbs           text eol=crlf
+
+# These files are binary and should be left untouched
+# (binary is macro for -text -diff)
+*.jpg           binary
+*.gif           binary
+*.png           binary
+*.class         binary
+*.pdf           binary
+*.jar           binary
+*.zip           binary
+*.war           binary