On Fri, 15 Mar 2024 15:14:42 +0100 Robin Jarry <[email protected]> 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 <[email protected]> > --- There are two many open questions on this patch. That is why it never got merged. As long as we document existing usage well enough it seems ok as is. Trying to be "helpful" by doing curl opens up more issues. Lets just keep it as is. Longer term having better local solutions would be good. Ideally checkpatch can be replaced by AI and get maintainer could be python script in DPDK.

