Bug 7488 - AUH: Use new upstream version detection
Summary: AUH: Use new upstream version detection
Status: VERIFIED FIXED
Alias: None
Product: Automated Update Handler
Classification: Yocto Project Subprojects
Component: Automatic Update Handler (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ enhancement
Target Milestone: 2.0
Assignee: Aníbal Limón
QA Contact: Costin
URL:
Whiteboard:
Depends on: 7947
Blocks: 7494
  Show dependency tree
 
Reported: 2015-03-19 20:55 UTC by Aníbal Limón
Modified: 2016-10-26 09:24 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
AUH failures on Ubuntu 15.04 (25.38 KB, text/plain)
2015-09-08 08:27 UTC, Costin
no flags Details

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