Bug 10722

Summary: devtool: be able to specify src_uri in upgrade
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Aníbal Limón <anibal.limon>
Component: devtools / tool chainAssignee: Unassigned <unassigned>
Status: IN PROGRESS IMPLEMENTATION --- QA Contact:
Severity: enhancement    
Priority: Medium CC: bluelightning, edwin.plauchu.camacho, leonardo.sandoval.gonzalez, libertad.gonzalez.de.la.cruz, meta.mr.watcher, meta.watcher, randy.macleod, randynyambi, richard.purdie, sgw, soumyag213, TicoTimo
Version: unspecified   
Target Milestone: 6.99   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Aníbal Limón 2016-11-24 21:33:47 UTC
Currently devtool tries to figure out what is the new URL some recipes don't follow any convention so will be good if we could specify SRC_URI in certain cases.
Comment 1 Aníbal Limón 2016-11-24 21:34:07 UTC
For example:

$ devtool RECIPE --version --src_uri
Comment 2 Aníbal Limón 2016-11-24 21:34:44 UTC
(In reply to comment #1)
> For example:
> 
> $ devtool RECIPE --version --src_uri

I missed the upgrade subcommand then,

$ devtool upgrade RECIPE --version --src_uri
Comment 3 Paul Eggleton 2016-11-24 22:10:16 UTC
By coincidence I believe Tim wanted to implement this very thing :)
Comment 4 Tim Orling 2020-12-03 15:44:57 UTC
STill interested in this, but adding this comment to bump it as far as bug-triage meeting goes...
Comment 5 Tim Orling 2022-08-23 16:20:42 UTC
Still valid. Hopefully I still have the branch with the implementation.
Comment 6 Tim Orling 2023-02-02 16:04:48 UTC
Still valid.
Comment 7 Tim Orling 2023-06-22 14:58:27 UTC
Still valid.
Comment 8 Saul Wold 2024-01-05 00:20:15 UTC
This looks pretty straight forward to add --srcuri and --srcuri_protocol options. Likely this will requires some additional tests to ensure the srcuri is valid, like missing a branch for git or other parameter specific to the given fetcher module that is being invoked.