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

dahn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/main by this push:
     new 5d61ba35383 [CI] Create `.codespellrc`; upgrade codespell hook; fix 
typos (#12824)
5d61ba35383 is described below

commit 5d61ba353839efdf74ec71352a4c0ec833d9daf9
Author: John Bampton <[email protected]>
AuthorDate: Tue Mar 31 23:04:05 2026 +1000

    [CI] Create `.codespellrc`; upgrade codespell hook; fix typos (#12824)
---
 .codespellrc                                         | 20 ++++++++++++++++++++
 .pre-commit-config.yaml                              |  4 +---
 .../java/com/cloud/utils/db/SequenceFetcher.java     |  2 +-
 test/integration/component/test_blocker_bugs.py      |  2 +-
 ui/docs/development.md                               |  2 +-
 utils/src/main/java/com/cloud/utils/nio/Link.java    |  2 +-
 .../cloud/hypervisor/vmware/util/VmwareHelper.java   |  2 +-
 7 files changed, 26 insertions(+), 8 deletions(-)

diff --git a/.codespellrc b/.codespellrc
new file mode 100644
index 00000000000..3c632f8ba53
--- /dev/null
+++ b/.codespellrc
@@ -0,0 +1,20 @@
+# 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.
+
+[codespell]
+ignore-words = .github/linters/codespell.txt
+skip = 
systemvm/agent/noVNC/*,ui/package.json,ui/package-lock.json,ui/public/js/less.min.js,ui/public/locales/*.json,server/src/test/java/org/apache/cloudstack/network/ssl/CertServiceTest.java,test/integration/smoke/test_ssl_offloading.py
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index adc043f7917..755ae125edf 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -166,13 +166,11 @@ repos:
         args: [--markdown-linebreak-ext=md]
         exclude: 
^services/console-proxy/rdpconsole/src/test/doc/freerdp-debug-log\.txt$
   - repo: https://github.com/codespell-project/codespell
-    rev: v2.4.1
+    rev: v2.4.2
     hooks:
       - id: codespell
         name: run codespell
         description: Check spelling with codespell
-        args: [--ignore-words=.github/linters/codespell.txt]
-        exclude: 
^systemvm/agent/noVNC/|^ui/package\.json$|^ui/package-lock\.json$|^ui/public/js/less\.min\.js$|^ui/public/locales/.*[^n].*\.json$|^server/src/test/java/org/apache/cloudstack/network/ssl/CertServiceTest.java$|^test/integration/smoke/test_ssl_offloading.py$
   - repo: https://github.com/pycqa/flake8
     rev: 7.0.0
     hooks:
diff --git a/framework/db/src/main/java/com/cloud/utils/db/SequenceFetcher.java 
b/framework/db/src/main/java/com/cloud/utils/db/SequenceFetcher.java
index f902fda3bf1..a59b73e5cee 100644
--- a/framework/db/src/main/java/com/cloud/utils/db/SequenceFetcher.java
+++ b/framework/db/src/main/java/com/cloud/utils/db/SequenceFetcher.java
@@ -64,7 +64,7 @@ public class SequenceFetcher {
         try {
             return future.get();
         } catch (Exception e) {
-            logger.warn("Unable to get sequeunce for " + tg.table() + ":" + 
tg.pkColumnValue(), e);
+            logger.warn("Unable to get sequence for " + tg.table() + ":" + 
tg.pkColumnValue(), e);
             return null;
         }
     }
diff --git a/test/integration/component/test_blocker_bugs.py 
b/test/integration/component/test_blocker_bugs.py
index 7b497cfe294..e393c7bed02 100644
--- a/test/integration/component/test_blocker_bugs.py
+++ b/test/integration/component/test_blocker_bugs.py
@@ -542,7 +542,7 @@ class TestRouters(cloudstackTestCase):
 
 
         # Validate the following
-        # 1. PreReq: have rounters that are owned by other account
+        # 1. PreReq: have routers that are owned by other account
         # 2. Create domain and create accounts in that domain
         # 3. Create one VM for each account
         # 4. Using Admin , run listRouters. It should return all the routers
diff --git a/ui/docs/development.md b/ui/docs/development.md
index 363c6a3795b..43b346fad8f 100644
--- a/ui/docs/development.md
+++ b/ui/docs/development.md
@@ -32,7 +32,7 @@ The following tree shows the basic UI codebase filesystem:
 
 ```bash
     src
-    ├── assests       # sprites, icons, images
+    ├── assets        # sprites, icons, images
     ├── components    # Shared vue files used to render various generic / 
widely used components
     ├── config        # Contains the layout details of the various routes / 
sections available in the UI
     ├── locales       # Custom translation keys for the various supported 
languages
diff --git a/utils/src/main/java/com/cloud/utils/nio/Link.java 
b/utils/src/main/java/com/cloud/utils/nio/Link.java
index 4e68554eb49..18bbb0533ee 100644
--- a/utils/src/main/java/com/cloud/utils/nio/Link.java
+++ b/utils/src/main/java/com/cloud/utils/nio/Link.java
@@ -380,7 +380,7 @@ public class Link {
         if (caService != null) {
             return caService.createSSLEngine(sslContext, clientAddress);
         }
-        LOGGER.error("CA service is not configured, by-passing CA manager to 
create SSL engine");
+        LOGGER.error("CA service is not configured, bypassing CA manager to 
create SSL engine");
         char[] passphrase = KeyStoreUtils.DEFAULT_KS_PASSPHRASE;
         final KeyStore ks = 
loadKeyStore(NioConnection.class.getResourceAsStream("/cloud.keystore"), 
passphrase);
         final KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509");
diff --git 
a/vmware-base/src/main/java/com/cloud/hypervisor/vmware/util/VmwareHelper.java 
b/vmware-base/src/main/java/com/cloud/hypervisor/vmware/util/VmwareHelper.java
index 036d1f29cfb..89f6d7abd7d 100644
--- 
a/vmware-base/src/main/java/com/cloud/hypervisor/vmware/util/VmwareHelper.java
+++ 
b/vmware-base/src/main/java/com/cloud/hypervisor/vmware/util/VmwareHelper.java
@@ -753,7 +753,7 @@ public class VmwareHelper {
 
         recommendedController = 
guestOsDescriptor.getRecommendedDiskController();
 
-        // By-pass auto detected PVSCSI controller to use LsiLogic Parallel 
instead
+        // Bypass auto detected PVSCSI controller to use LsiLogic Parallel 
instead
         if (DiskControllerType.getType(recommendedController) == 
DiskControllerType.pvscsi) {
             recommendedController = DiskControllerType.lsilogic.toString();
         }

Reply via email to