From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by mx.groups.io with SMTP id smtpd.web11.3002.1654545237346601726 for ; Mon, 06 Jun 2022 12:53:57 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=AoOzoSF7; spf=pass (domain: gmail.com, ip: 209.85.215.174, mailfrom: kuqin12@gmail.com) Received: by mail-pg1-f174.google.com with SMTP id 7so12988733pga.12 for ; Mon, 06 Jun 2022 12:53:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jPkg957MZzPYFuPd1UbHRUZkQHSqcF+nk8HyPuvRgXs=; b=AoOzoSF7VcRwbCeSSQsmoEW/XWtal+ZHvmDR3Bb1gu6ftKnJrCsCrFgt1ByWRIcMuM oHrDic9qrTV5XDdzUJaw3k+WRKNYubAbUMSQvtOFOgSuXiwt8gc3VSsFynbw9VAPSNTM 314cbgu63/gkqRJKtbCYVU1xtrpxaeb0M9c0aK9kuf2mwi6A+xsYTIYjwt3DOWI2xcoi e539q5ZJGjU3W2fRNLDoeFWloRWxe33VnJrvpJ2jTliinTGGEPeWetSYiliXEUx1dlF5 vQsAsm7zrrAK8s0MHxKZD5yC6QkpK0mQhbY+p5OX0k00n4f79edlOJ3ZffZDBCLugmTO U1lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jPkg957MZzPYFuPd1UbHRUZkQHSqcF+nk8HyPuvRgXs=; b=vbizOcOAYs7BgPx8erDUlfaI+YFKko7Tkf1p3JdhvvAm7dDHRvxJGDNiC7mDQC3EQj cIcy8vQN4ZVFSy5h0+oyncNzoWPb9kzwliSPYsOsvbCTbKs8xLfkrjiIErbzuibkE76V dt/nGYtTHN652IofnnxCWRUBRkk3O1D22/Nk/p74TiopBta7Iu7izzcEh+T9MqSO/2Sn KeRXUa4K7BPNZZsnBlKI0glaZjbO5r9LxkSNsZSEEQUpcvPgAutDt886Pzxxt+gCl9aK PhTm6w5hL990Q5g29ppxe84laO2r+aX/nS8Ua3eHsdbS9cq7jk7o+o9HfeC0qfvb+Gal F//A== X-Gm-Message-State: AOAM532dVwpUwrazRQIbTIJoRWyDXm77OCjTI0zjheg8UYojqBLX4G2J f8Ls/zK6ObAr24hkcjJIEpUOF+NGz9vrvw== X-Google-Smtp-Source: ABdhPJweroQ7+rH2wyfSyXfC6bMadgmZV6vw4Y0mbTfo6ifs50fB6rPR91U7TdnQ2aX8UZn9UuKKfg== X-Received: by 2002:a65:6045:0:b0:399:3a5e:e25a with SMTP id a5-20020a656045000000b003993a5ee25amr21962765pgp.139.1654545236726; Mon, 06 Jun 2022 12:53:56 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([50.35.66.9]) by smtp.gmail.com with ESMTPSA id p2-20020a170902c70200b001617541c94fsm10911707plp.60.2022.06.06.12.53.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jun 2022 12:53:56 -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] UncrustifyCheck ignore file list paths reduction Date: Mon, 6 Jun 2022 12:52:53 -0700 Message-Id: <20220606195254.348-1-kuqin12@gmail.com> X-Mailer: git-send-email 2.35.1.windows.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3942 When UncrustifyCheck plugin checks against "IgnoreFiles" tag, the script references the files relative to the workspace. This will require all files listed under such category to specify the package name in the corresponding package CI YAML file. To resolve this issue, the ignore files' paths are changed to be based on the applicable package path. Patch v1 branch: https://github.com/kuqin12/edk2/pull/new/uncrustify_ignore_pkg Cc: Sean Brogan Cc: Bret Barkelew Cc: Michael D Kinney Cc: Liming Gao Kun Qin (1): .pytool: UncrustifyCheck: Set IgnoreFiles path relative to package path .pytool/Plugin/UncrustifyCheck/UncrustifyCheck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.35.1.windows.2