[bitbake-devel] [PATCH]] bitbake: update masters version to some farout version

Martin Jansa martin.jansa at gmail.com
Fri Apr 12 07:36:14 UTC 2019


> but so how is it Master is 1.40

It isn't, master is currently identical with 1.42 branch, so both are 1.42.

Setting it farout, will cause issues once new incompatible change is
introduced in the metadata and the sanity check needs to be updated to
require even more farout version.

On Fri, Apr 12, 2019 at 8:04 AM akuster <akuster at mvista.com> wrote:

>
>
> On 4/12/19 8:23 AM, Christopher Larson wrote:
>
> My concern here is a user of an old clone of bitbake master won't trigger
> the oe-core bitbake version checks, it could just silently behave badly, or
> explode instead :)
>
> ok. but so how is it Master is 1.40 and Warrior is 1.42 isn't causing a
> version trigger?
>
> Is the version in the __init__.py needed ?  Warriors does not match and I
> have not seen any version check issues.
>
> as always, thanks for the feedback,
> Dazed and confused
>
>
> On Thu, Apr 11, 2019 at 6:20 PM Armin Kuster <akuster808 at gmail.com> wrote:
>
>> This is to avoid having master being updated when we branch
>> for a new release.
>>
>> Also, master should not be at the same version as the last
>> stable release.
>>
>> Signed-off-by: Armin Kuster <akuster808 at gmail.com>
>> ---
>>  bin/bitbake        | 2 +-
>>  lib/bb/__init__.py | 2 +-
>>  2 files changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/bin/bitbake b/bin/bitbake
>> index 57dec2a..952c47e 100755
>> --- a/bin/bitbake
>> +++ b/bin/bitbake
>> @@ -38,7 +38,7 @@ from bb.main import bitbake_main,
>> BitBakeConfigParameters, BBMainException
>>  if sys.getfilesystemencoding() != "utf-8":
>>      sys.exit("Please use a locale setting which supports UTF-8 (such as
>> LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading
>> so we need a UTF-8 when Python starts or things won't work.")
>>
>> -__version__ = "1.40.0"
>> +__version__ = "1.99.0"
>>
>>  if __name__ == "__main__":
>>      if __version__ != bb.__version__:
>> diff --git a/lib/bb/__init__.py b/lib/bb/__init__.py
>> index 4bc47c8..a86197a 100644
>> --- a/lib/bb/__init__.py
>> +++ b/lib/bb/__init__.py
>> @@ -21,7 +21,7 @@
>>  # with this program; if not, write to the Free Software Foundation, Inc.,
>>  # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
>>
>> -__version__ = "1.40.0"
>> +__version__ = "1.99.0"
>>
>>  import sys
>>  if sys.version_info < (3, 4, 0):
>> --
>> 2.7.4
>>
>> --
>> _______________________________________________
>> bitbake-devel mailing list
>> bitbake-devel at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/bitbake-devel
>>
>
>
> --
> Christopher Larson
> kergoth at gmail dot com
> Founder - BitBake, OpenEmbedded, OpenZaurus
> Senior Software Engineer, Mentor Graphics
>
>
> --
> _______________________________________________
> bitbake-devel mailing list
> bitbake-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/bitbake-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20190412/ed12ee0f/attachment.html>


More information about the bitbake-devel mailing list