On Fri, 15 Mar 2024 15:14:42 +0100 Robin Jarry <rja...@redhat.com> 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 <rja...@redhat.com> 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 <step...@networkplumber.org>