You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by sh...@apache.org on 2024/05/18 00:37:21 UTC

(bookkeeper) branch typo-check created (now 924336d5e4)

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

shoothzj pushed a change to branch typo-check
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


      at 924336d5e4 test typo

This branch includes the following new commits:

     new 68d46cbe5b see what happend
     new 6c3d92367e try typo check
     new 924336d5e4 test typo

The 3 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.



(bookkeeper) 03/03: test typo

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

shoothzj pushed a commit to branch typo-check
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git

commit 924336d5e4d2d6e4122a8c7ef39c0a591f6dbbac
Author: ZhangJian He <sh...@gmail.com>
AuthorDate: Sat May 18 08:37:05 2024 +0800

    test typo
    
    Signed-off-by: ZhangJian He <sh...@gmail.com>
---
 .github/workflows/bk-ci.yml                                          | 2 ++
 .github/workflows/owasp-daily-build.yml                              | 5 +++++
 .../org/apache/bookkeeper/common/util/TestSharedResourceManager.java | 2 +-
 src/typos.toml                                                       | 2 ++
 4 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/bk-ci.yml b/.github/workflows/bk-ci.yml
index 179ced9b52..3f79b23d70 100644
--- a/.github/workflows/bk-ci.yml
+++ b/.github/workflows/bk-ci.yml
@@ -486,6 +486,8 @@ jobs:
       - uses: actions/checkout@v4
       - name: Check typos
         uses: crate-ci/typos@master
+        with:
+          config: src/typos.toml
 
   owasp-dependency-check:
     name: OWASP Dependency Check
diff --git a/.github/workflows/owasp-daily-build.yml b/.github/workflows/owasp-daily-build.yml
index 88dea1712c..73989375d5 100644
--- a/.github/workflows/owasp-daily-build.yml
+++ b/.github/workflows/owasp-daily-build.yml
@@ -32,6 +32,11 @@ jobs:
       - name: Tune Runner VM
         uses: ./.github/actions/tune-runner-vm
 
+      - name: Check typos
+        uses: crate-ci/typos@master
+        with:
+          config: src/typos.toml
+
       - name: Set up JDK 21
         uses: actions/setup-java@v4
         with:
diff --git a/bookkeeper-common/src/test/java/org/apache/bookkeeper/common/util/TestSharedResourceManager.java b/bookkeeper-common/src/test/java/org/apache/bookkeeper/common/util/TestSharedResourceManager.java
index fab622f0c7..be09259aed 100644
--- a/bookkeeper-common/src/test/java/org/apache/bookkeeper/common/util/TestSharedResourceManager.java
+++ b/bookkeeper-common/src/test/java/org/apache/bookkeeper/common/util/TestSharedResourceManager.java
@@ -98,7 +98,7 @@ public class TestSharedResourceManager {
         assertEquals(SharedResourceManager.DESTROY_DELAY_SECONDS,
             scheduledDestroyTask.getDelay(TimeUnit.SECONDS));
 
-        // Simluate that the destroyer executes the foo destroying task
+        // Simulate that the destroyer executes the foo destroying task
         scheduledDestroyTask.runTask();
         assertTrue(sharedFoo.closed);
 
diff --git a/src/typos.toml b/src/typos.toml
new file mode 100644
index 0000000000..48bacf033e
--- /dev/null
+++ b/src/typos.toml
@@ -0,0 +1,2 @@
+[default.extend-words]
+"vertx" = "vertx"


(bookkeeper) 01/03: see what happend

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

shoothzj pushed a commit to branch typo-check
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git

commit 68d46cbe5bdbfa40abe1cb73bf741f4d5470e692
Author: ZhangJian He <sh...@gmail.com>
AuthorDate: Fri May 17 16:32:18 2024 +0800

    see what happend
    
    Signed-off-by: ZhangJian He <sh...@gmail.com>
---
 .github/dependabot.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000000..123014908b
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,6 @@
+version: 2
+updates:
+  - package-ecosystem: "github-actions"
+    directory: "/"
+    schedule:
+      interval: "daily"


(bookkeeper) 02/03: try typo check

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

shoothzj pushed a commit to branch typo-check
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git

commit 6c3d92367efbdf56b4f980369d7fb9e4f049e101
Author: ZhangJian He <sh...@gmail.com>
AuthorDate: Sat May 18 07:53:34 2024 +0800

    try typo check
    
    Signed-off-by: ZhangJian He <sh...@gmail.com>
---
 .github/workflows/bk-ci.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.github/workflows/bk-ci.yml b/.github/workflows/bk-ci.yml
index 22cde4ec10..179ced9b52 100644
--- a/.github/workflows/bk-ci.yml
+++ b/.github/workflows/bk-ci.yml
@@ -479,6 +479,14 @@ jobs:
         if: cancelled()
         run: ./dev/ci-tool print_thread_dumps
 
+  typo-check:
+    name: Typo Check
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v4
+      - name: Check typos
+        uses: crate-ci/typos@master
+
   owasp-dependency-check:
     name: OWASP Dependency Check
     runs-on: ubuntu-latest