Bug 10598

Summary: AUH: make use of devtool upgrade (or at least share code)
Product: [Yocto Project Subprojects] Automated Update Handler Reporter: Paul Eggleton <bluelightning>
Component: Automatic Update HandlerAssignee: Alexander Kanavin <alex.kanavin>
Status: RESOLVED FIXED QA Contact: yeoh ee peng <ee.peng.yeoh>
Severity: enhancement    
Priority: Medium CC: alejandro.hernandez, alex.kanavin, daniela.plascencia, juan.m.cruz.alcaraz, leonardo.sandoval.gonzalez, richard.purdie
Version: unspecified   
Target Milestone: 2.5 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Bug Depends on:    
Bug Blocks: 12360    

Description Paul Eggleton 2016-11-03 20:23:18 UTC
When we were looking at adding the upgrade subcommand to devtool, we initially intended to share code with the AUH, but that didn't happen for practical reasons at the time. However it doesn't really make sense to have two pieces of code doing basically the same thing, so if we can bring the two together that would be ideal.

devtool upgrade doesn't do some things that the AUH does (e.g. fully handling LIC_FILES_CHKSUM changing, or actually running builds and collecting the output), and some of that doesn't make sense to have in devtool upgrade, but the mechanics of generating the new recipe should all be taken care of there - though it's likely that that code will need modifying to fit into how the AUH operates.
Comment 1 Leonardo Sandoval Gonzalez 2017-03-13 21:27:32 UTC
Anibal, you may need to split this bug into several ones due to the max 5 days person-day policy.
Comment 2 Aníbal Limón 2017-03-28 17:54:12 UTC
(In reply to comment #1)
> Anibal, you may need to split this bug into several ones due to the max 5
> days person-day policy.

This don't need split if the policy only allows a 5 days max, I can reduce the time :) (just joking). I think this can be stay with 6 days.
Comment 3 Alexander Kanavin 2017-11-07 15:18:10 UTC
So where does the AUH source code actually live? :)
Comment 5 Alexander Kanavin 2017-11-29 06:35:23 UTC
Right, so where does a running instance of the AUH live? (the one that was sending emails to maintainers and yocto list) Or was someone running it from his desktop machine manually?
Comment 6 Daniela Plascencia 2017-11-30 17:07:43 UTC
(In reply to comment #5)
> Right, so where does a running instance of the AUH live? (the one that was
> sending emails to maintainers and yocto list) Or was someone running it from
> his desktop machine manually?

As far as I know, AUH was run by Anibal from a server (auh@yoctoproject.org). I've got access to it, but I'm sure Michael Halstead can help you a little bit more with this.
Comment 7 Alexander Kanavin 2017-12-15 14:04:07 UTC
Patches posted to yocto@ list and available here:
http://git.yoctoproject.org/cgit/cgit.cgi/auto-upgrade-helper/log/?h=devel