Bug 7488

Summary: AUH: Use new upstream version detection
Product: [Yocto Project Subprojects] Automated Update Handler Reporter: Aníbal Limón <anibal.limon>
Component: Automatic Update HandlerAssignee: Aníbal Limón <anibal.limon>
Status: VERIFIED FIXED QA Contact: Costin <costin.c.constantin>
Severity: enhancement    
Priority: Medium+ CC: richard.purdie, sgw
Version: unspecified   
Target Milestone: 2.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Bug Depends on: 7947    
Bug Blocks: 7494    
Attachments:
Description Flags
AUH failures on Ubuntu 15.04 none

Description Aníbal Limón 2015-03-19 20:55:31 UTC
Now we have an upstream version detection mechanishm integrated into Bitbake fetcher (bb.fetch.latest_versionstring).

AUH need to use it.
Comment 1 Aníbal Limón 2015-06-10 16:43:54 UTC
In review at,

https://lists.yoctoproject.org/pipermail/yocto/2015-June/025205.html
Comment 3 Costin 2015-09-08 08:22:54 UTC
Hello,

Tested this feature and it didn't work to upgrade packages, but i guess it did read upstream package list to be upgraded.

The way i tested is:

1) clone auto-upgrade-helper
2) source poky environment
3) ./upgradehelper.py all

I attached the error message, as it is too big to load here.

Please, since this feature is only for the online version detection, let me know if considering failed upgrades is not part of the feature itself and a new bug should be opened. If so how can I check if indeed those recipes were read from online in order to mark the feature as verified.
Comment 4 Costin 2015-09-08 08:27:43 UTC
Created attachment 2711 [details]
AUH failures on Ubuntu 15.04

AUH failures on Ubuntu 15.04
Comment 5 Aníbal Limón 2015-09-08 15:22:22 UTC
(In reply to comment #4)
> Created attachment 2711 [details]
> AUH failures on Ubuntu 15.04
> 
> AUH failures on Ubuntu 15.04

I didn't test with Ubuntu 15.04, i used debian 8 and ubuntu 14.04.
Comment 6 Aníbal Limón 2015-09-24 17:08:34 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Created attachment 2711 [details]
> > AUH failures on Ubuntu 15.04
> > 
> > AUH failures on Ubuntu 15.04
> 
> I didn't test with Ubuntu 15.04, i used debian 8 and ubuntu 14.04.

(In reply to comment #4)
> Created attachment 2711 [details]
> AUH failures on Ubuntu 15.04
> 
> AUH failures on Ubuntu 15.04

Hi Costin,

I confirmed that is git setup problem, i loaded a ticket for it #8390.

You can continue with your tests configuring git.

Cheers,
    alimon
Comment 7 Costin 2015-10-23 08:30:36 UTC
Hello,

I tested this feature on latest master of poky: 661734759e73abd86d8184ae1dc4e91ba9cac83d
and AUH: 34ae735ed811049f3f4a6a7a82a14de81f097f37
on an Ubuntu machine.

Steps performed as on comment #3. Aside from this before anything i also added in local.conf the followings:

INHERIT += "buildhistory" 
BUILDHISTORY_COMMIT = "1"

INHERIT =+ "distrodata"


Marking as verified