Bug 2920 - fetch2/__init__.py: add an "auto" policy for BB_SRCREV_POLICY
Summary: fetch2/__init__.py: add an "auto" policy for BB_SRCREV_POLICY
Status: VERIFIED INVALID
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 1.3
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 1.3 M4
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-08-09 02:57 UTC by Robert Yang
Modified: 2012-11-02 12:30 UTC (History)
9 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

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