From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) by mx.groups.io with SMTP id smtpd.web10.2653.1623474282597007034 for ; Fri, 11 Jun 2021 22:04:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vPAP17+r; spf=pass (domain: gmail.com, ip: 209.85.216.49, mailfrom: kuqin12@gmail.com) Received: by mail-pj1-f49.google.com with SMTP id o10-20020a17090aac0ab029016e92770073so1186711pjq.5 for ; Fri, 11 Jun 2021 22:04:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tvo3ej9phtaMeqnyjiDC9vZ8uZPi5Q1YDihyrfSVN+0=; b=vPAP17+rlOZE8hq/9VI7HsQLOlNtan6wIRH4si3zrLjJ5Gj7h7y5avj/3vlsu5u8UX alPwAoaVVRxUnhFrARVhgI4b1EJscbLSaAFdDqiY3W5+hAsWwzNv3jd+OcSiZ83ruwVx 8G00FmdNsJ8NftczVftKIM5chxOrRtmHXUnoPoKWyH3pwPX2nOOOOlz+5O2smS7PU8UL 9J4xK4rcx21b90rkhaZnN5p//mBCCtHRGCaOtw3c0+s9dRAbbfSCvwXOKcWIqpJIEEIx ftISYcjA6w9VlVURn/dcuCCOnTvLGI7ogIJ4a/N++xhZA8SLmIWQr8H5m+v0XL/mzl1f aLiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tvo3ej9phtaMeqnyjiDC9vZ8uZPi5Q1YDihyrfSVN+0=; b=rmgJreqjt1IVVqRG6K883GYgPi0TKZAPy9tTuIvdeBYNqpi/iU7QXq/N9Ea8gy3VKO PuDqzUiGXJBv8yideYrphwIG79FZKP81T0ntaq8jMbrsc+SpE6Hq4byMGLEmtTRWio2X 5z4bv+i4bo74Cbub+0d/YvtPR7lCyLlObMaBzmBofvNaqBvnFDWzc6jMb4EIQO64zunN 8s8WQRar8e510FjLhsUkRXqGrSPzRyPGzf/BMG5MvFVnO21C1ShloA7OXj9Opn3ZNEvc 9DmnDAJsK7Qa+nBT6/YOIF7l49582BHIijOsf8p7yq6JZx/9ExMzHAR+NBlXTY8QympM Bq7A== X-Gm-Message-State: AOAM530A1VsKwuaLafecqGKEqsY092y6rZSS84dxIRWIr2H2nBwsZHPZ QkQv2Oei6ProjqMrhNdQZEt9Ym8ne7F8cA== X-Google-Smtp-Source: ABdhPJyPpCHGwfKknc9YvQ5I2G1Oo8RtcoM/4rWo/+MfVR+I2CQ+t2a5+gYtsLCTslXuVIk7EBwB+w== X-Received: by 2002:a17:90a:6d82:: with SMTP id a2mr7813481pjk.150.1623474281900; Fri, 11 Jun 2021 22:04:41 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([50.35.88.161]) by smtp.gmail.com with ESMTPSA id n37sm6363485pfv.47.2021.06.11.22.04.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Jun 2021 22:04:41 -0700 (PDT) From: "Kun Qin" To: devel@edk2.groups.io Cc: Sean Brogan , Bret Barkelew , Michael D Kinney , Liming Gao Subject: [PATCH v1 0/1] SpellCheck plugin inspects fewer files when run on Linux Date: Fri, 11 Jun 2021 22:04:30 -0700 Message-Id: <20210612050431.660-1-kuqin12@gmail.com> X-Mailer: git-send-email 2.31.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3454 When spellcheck plugin invokes cspell to check files, it uses wildcard path patterns, i.e. /**/*.h. On Linux system, this will be expanded by the shell therefore fewer files will be picked up than speficied through original command line. To resolve this issue, the path needs double quoting. So that the shell does not expand and the input parameter is passed to cspell to expand. Patch v1 branch: https://github.com/kuqin12/edk2/tree/exp_shell_v1 Cc: Sean Brogan Cc: Bret Barkelew Cc: Michael D Kinney Cc: Liming Gao Sean Brogan (1): Pytool: SpellCheck: Defer path expansion in cspell parameters .pytool/Plugin/SpellCheck/SpellCheck.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.31.1.windows.1