From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 082BC45AAF; Fri, 4 Oct 2024 18:31:32 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E5E1140649; Fri, 4 Oct 2024 18:31:31 +0200 (CEST) Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mails.dpdk.org (Postfix) with ESMTP id D88764025F for ; Fri, 4 Oct 2024 18:31:30 +0200 (CEST) Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-207115e3056so21976775ad.2 for ; Fri, 04 Oct 2024 09:31:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1728059490; x=1728664290; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=M5vTG0LvbH3Nz+yRH7fAedDtNM/QZRqhLrXnL5qvn8I=; b=xW707mcjIM3D3M88FpE211trSuC8Ax+ab0z2GZxT/IQ6D8vb59eGqmGCvbN2EXT0Dp JeCAgc3KYyzSAR4gxVDr4/vL+cYzV0ZFS+dTa3910EpD4gGaFJafQyJkDVS2ENPjkT7o pNtQkjg20dB28/+HSV6tenf4YDzrn73kzOFysrrLBLJcpwbUhODlXQccX0Jvx0q7At0i uDL8mesKXLlGBhje+IcTBWwGbFzICIusTm+WlLrSlHuqRC9gYwfD0HdUF9vp7f/QhhtC 1dVm9gRXikX86wO9SptrOtlbyEZzTmDg6P8FbOX+YTzqO1mTY7A+JcBxzg0YBDpbs7w8 Cv0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728059490; x=1728664290; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=M5vTG0LvbH3Nz+yRH7fAedDtNM/QZRqhLrXnL5qvn8I=; b=u4jj7zLLvimHCIloeXXI7Ow2QQ1/qCuxD0Jw3WPUyrNtIq8Rs4+ZI6vrwOFj5Qic/M nfAaTY4MUR6na4inMNn26DctMplzpwnwcUnAN8c5k/FbU4Z6osgl0rr6E2OsspuyMfNG 0IGZHc8dkcUaPLHI0NUDcyrCJoaBi9ldC2W/0jCY1StblpHSKLze21YAh2tTDej5uf1P npxlZwn7kMd37krudE5AXCFAVo8gY0iQEWQl/Lm/0Uvxmo7980xtWUCI9Xal46uaRF+4 qXDU/+q1OcJ3Q5mWsJlqaMccBNO0GWgp1GRrXz0jwt1i9HfJa/HYQjdZ57jkjoYr3aau UdZw== X-Gm-Message-State: AOJu0YzBVN8AFwj6U7Wol2ARl+8BHJ+MYVW/slPSuDvCjFjG+NFJdcNd G9o8DUXfYsmf9Wot8qJuIUoqHdHL2StlYV1ASsVZX6ZNgdOPasH/qfvKmDAS/Y4= X-Google-Smtp-Source: AGHT+IE3oo2zKnUBsqhIRmZ5L0DWn+WNfL2ddT5jsUChKJS0ik4EhPs+2vwM6ONApEqzE6GxZgNhVg== X-Received: by 2002:a17:902:d511:b0:20b:9f77:e8ba with SMTP id d9443c01a7336-20bff1c5b45mr42816855ad.56.1728059489867; Fri, 04 Oct 2024 09:31:29 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20c138af7c5sm513555ad.15.2024.10.04.09.31.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Oct 2024 09:31:29 -0700 (PDT) Date: Fri, 4 Oct 2024 09:31:28 -0700 From: Stephen Hemminger To: Robin Jarry Cc: dev@dpdk.org Subject: Re: [PATCH] devtools: download scripts from linux if not found Message-ID: <20241004093128.5932a84e@hermes.local> In-Reply-To: <20240315141441.259594-2-rjarry@redhat.com> References: <20240315141441.259594-2-rjarry@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Fri, 15 Mar 2024 15:14:42 +0100 Robin Jarry wrote: > Both checkpatches.sh and get-maintainer.sh require scripts that come > from the linux sources. And they require DPDK_*_PATH variables to be set > to point at these scripts locally. For new contributors this can be > tedious since they will have to clone the whole linux sources just to > have simple perl scripts. > > Update checkpatches.sh and get-maintainer.sh to have them download the > upstream scripts if they are not found locally. Store the downloaded > scripts in the .git/ folder so that they are found for future runs. > > If either DPDK_CHECKPATCH_PATH or DPDK_GETMAINTAINER_PATH are set, they > will be used in priority. > > Signed-off-by: Robin Jarry This makes live easier for new contributors. Not sure if is the best way to autodownload, or where to put the scripts but something is better than the current way. Acked-by: Stephen Hemminger