On Fri, 2023-01-13 at 17:46 +0000, Richard Purdie via lists.yoctoproject.org wrote: > On Fri, 2023-01-13 at 16:06 +0100, Alexis Lothoré via > lists.yoctoproject.org wrote: > > In order to generate relevant regression reports, we need to use resulttool > > against taggued releases, which can be way older than the last five previous > > commits > > > > Signed-off-by: Alexis Lothoré <alexis.loth...@bootlin.com> > > --- > > scripts/send-qa-email | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/scripts/send-qa-email b/scripts/send-qa-email > > index d2f63dc..c2c5a4b 100755 > > --- a/scripts/send-qa-email > > +++ b/scripts/send-qa-email > > @@ -78,10 +78,10 @@ if 'poky' in repos and os.path.exists(resulttool) and > > args.results_dir: > > elif basebranch: > > cloneopts = ["--branch", basebranch] > > try: > > - subprocess.check_call(["git", "clone", > > "g...@push.yoctoproject.org:yocto-testresults", tempdir, "--depth", "5"] + > > cloneopts) > > + subprocess.check_call(["git", "clone", > > "g...@push.yoctoproject.org:yocto-testresults", tempdir] + cloneopts) > > except subprocess.CalledProcessError: > > print("No comparision branch found, falling back to master") > > - subprocess.check_call(["git", "clone", > > "g...@push.yoctoproject.org:yocto-testresults", tempdir, "--depth", "5"]) > > + subprocess.check_call(["git", "clone", > > "g...@push.yoctoproject.org:yocto-testresults", tempdir]) > > > > # If the base comparision branch isn't present regression > > comparision won't work > > # at least until we can tell the tool to ignore internal branch > > information > > That is a somewhat "easy" option but it might not be practical. > > The yocto-testresults repo is large. I tried a clone here and it is > taking rather a while, it starts ok but then starts taking a long time > with a lot of data transfer (over a GB so far) :(. > > Can we check the tags with something like ls-remote and then only fetch > what we need to compare against?
For reference the clone took 49 minutes and 12.45GiB so we will need to find a different approach. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58984): https://lists.yoctoproject.org/g/yocto/message/58984 Mute This Topic: https://lists.yoctoproject.org/mt/96247369/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-