13/03/2019 02:59, Ferruh Yigit: > Add target git sub-tree information for libraries, this is mainly to > reduce apply failures of the patches by automating target sub-tree > selection for a patch for automation. > > Also can be useful for developers to define which tree to base their > patches for specific library. > > Plan for DPDK Community lab is always try the main repo first, if patch > fails to apply, detect and try on that detected sub-tree. This is to > cover the case where sub-tree and main repo diverged and patch is based > on sub-tree. > Both because of above usage and to not create noise in file, git tree > information is not added for libraries which target main repo, which is > taken as default git repo.
I think adding tree info for PMDs is redundant. Can we improve the script to smartly retrieve PMD tree, based on the T: line at the beginning of the PMD section?