Added cplintm
authorAndrew DeFaria <A.DeFaria@cpanel.net>
Wed, 2 Nov 2022 21:24:57 +0000 (21:24 +0000)
committerAndrew DeFaria <A.DeFaria@cpanel.net>
Wed, 2 Nov 2022 21:24:57 +0000 (21:24 +0000)
rc/client_scripts/cPanel

index 5892c1b..6c9ed68 100644 (file)
@@ -43,7 +43,7 @@ export ulc=/usr/local/cpanel
 export ulp=/usr/local/cp-monitoring-cpanel-plugin
 export ulw=/usr/local/cp-monitoring-whm-plugin
 export ulb=/usr/local/cp-banners-plugin
-export CPANEL_TEAM='scrum'
+export CPANEL_TEAM='release'
 
 # EA Tools
 export EATOOLS_BUILD_DIR=~/git/ea-tools/SOURCES/
@@ -59,6 +59,9 @@ alias stencilwatche2e='npx stencil test --spec --e2e --watchAll'
 unset PERLTIDY
 unset PERLCRITIC
 
+# This is a closer call to how cplint is called by merge_request
+alias cplintm="cplint --branched-from=upstream/$(cat /usr/local/cpanel/.branched_from)"
+
 # This is the completer function for ulc. This completes any path that comes
 # after the ulc as a path completion relative to $ulc
 function _ulc {