Bug 13660

Summary: master] insane SRC_URI uses unstable GitHub archives needs fixing
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Armin Kuster <akuster>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: meta.mr.watcher, meta.watcher, poky.bs.watcher, poky.watcher, ross.burton
Version: 3.1   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Armin Kuster 2019-11-26 21:09:08 UTC
if the word 'archive' is in the SRC_URI and not related to a github repo, it flags a warning.

ie : https://releases.linaro.org/archive/13.11/components/toolchain/binaries/gcc-linaro-aarch64-none-elf-4.8-2013.11_linux.tar.xz

plus git://github.com/hardkernel/u-boot.git

all in the same SRC_URI.

WARNING: u-boot-hardkernel-2015.01-2015.01+gitAUTOINC+a374ff3513 do_package_qa: QA Issue:     git://github.com/hardkernel/u-boot.git;branch=odroidn2-v2015.01     https://releases.linaro.org/archive/13.11/components/toolchain/binaries/gcc-linaro-aarch64-none-elf-4.8-2013.11_linux.tar.xz;name=aarch64linaro;subdir=git     https://releases.linaro.org/archive/14.04/components/toolchain/binaries/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz;name=aarch64linaroelf;subdir=git     : SRC_URI uses unstable GitHub archives [src-uri-bad]
Comment 1 Armin Kuster 2019-11-26 21:21:26 UTC
no its not other layers.

it is the sanity checker.
Comment 2 Ross Burton 2019-11-26 23:04:20 UTC
Right yes, sorry didn't read.

Need to split the URL into items before looking for matches.
Comment 4 Armin Kuster 2019-11-27 00:36:13 UTC
(In reply to comment #3)
> Can you test this please:
> 
> https://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=ross/
> mut&id=1d5d3907b9607b2228891f39c69bcfe4af262dd1

That works fine.

thanks.
Comment 6 Ross Burton 2019-12-04 17:53:15 UTC
Closing