Bug 10722 - devtool: be able to specify src_uri in upgrade
Summary: devtool: be able to specify src_uri in upgrade
Status: IN PROGRESS IMPLEMENTATION
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 6.99
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-11-24 21:33 UTC by Aníbal Limón
Modified: 2026-06-11 15:36 UTC (History)
12 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.