[dpdk-ci] script to determine target repo (was DPDK Lab)

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Apr 13 08:46:06 CEST 2017


2017-04-13 05:25, Xu, Qian Q:
> To do the per patchset performance test, we need to know that the patchset's target repo. Any thoughts here? 

The first task is to extract modified files from lines starting with +++.
Then we must apply some basic rules.
Example: if every paths start with 
	drivers/crypto/
	or lib/librte_cryptodev/
	or doc/guides/cryptodevs/
	then it goes to dpdk-next-crypto

Later it would be a good idea to store the rules in the dpdk repo near
the file MAINTAINERS, so patchwork could parse them and display the
maintainers and the tree for the patches.


> > -----Original Message-----
> > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> > Sent: Thursday, April 6, 2017 7:46 PM
> > 
> > 2017-04-06 09:57, Xu, Qian Q:
> > > As to the per patchset performance test, as you know, there are many repos
> > for DPDK now, so when a new patchset coming, which repo should it go to?
> > Maybe it doesn't go to dpdk master, but go to dpdk-next-virtio, or others, but
> > automation tool doesn't know that.
> > > As to per patch build, we are trying the patch on different repo to find the one
> > that can pass build, but as to performance test for per patchset, we must apply
> > the patchset into correct repo/branch or else the code didn't work.
> > > Any comments here?
> > 
> > For most of the patches it should be obvious to determine the targetted repo.
> > We should add a script in dpdk-ci to get the repo name from a patchset.
> > Anyway, this technical discussion should be on ci at dpdk.org.




More information about the ci mailing list