Bug 2920

Summary: fetch2/__init__.py: add an "auto" policy for BB_SRCREV_POLICY
Product: [Build System, Metadata & Runtime] BitBake Reporter: Robert Yang <liezhi.yang>
Component: bitbakeAssignee: Robert Yang <liezhi.yang>
Status: VERIFIED INVALID QA Contact:
Severity: enhancement    
Priority: Medium CC: jason.wessel, jessica.zhang, poky.bs.watcher, poky.watcher, richard.purdie, sgw, song.liu, sstncr, zhenfeng.zhao
Version: 1.3   
Target Milestone: 1.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Robert Yang 2012-08-09 02:57:49 UTC
The "auto" policy is used for the "AUTOREV" recipe, the current BB_SRCREV_POLICY are: "clear" (default) and "cache":

* When "clear", the "AUTOREV" recipe would not be cached

* When "cache", the "AUTOREV" would be cached, but it didn't get the lastest revision.

The "auto" policy is much like the "cache" except that it will try to get the latest revision.
Comment 1 Robert Yang 2012-08-24 03:13:09 UTC
Drop it since it may break things.
Comment 2 Stefan Stanacar 2012-11-02 12:30:50 UTC
Marking as verified.