'devtool upgrade' updates SRCREV to match the version tag that you specify:

devtool upgrade -V <tag>

If you omit -V, it will upgrade to the latest tag. It updates PV as well.
Why is it unsuitable for you?

Alex

On Mon, 16 Mar 2020 at 09:35, Matthias Schöpfer <
[email protected]> wrote:

> Hi Alexander,
>
> does it solve the Problem of a SRCREV, that has been fetched (for
> example for a _git testbuild) and now gets a tag applied and build with
> the _<version> build. The problem is *not* that the yocto PV package is
> wrong *nor* that the wrong version of the software gets build! The
> problem is, that the tag does not get fetched and our software gets its
> version from the git tags. Since this is very convenient to have the
> version information in one place only, we will not change this.
>
> Thanks and Regards,
>
>    Matthias
>
> On 3/15/20 5:02 PM, Alexander Kanavin wrote:
> > On Sun, 15 Mar 2020 at 15:04, Matthias Schoepfer via
> > Lists.Yoctoproject.Org <http://Lists.Yoctoproject.Org>
> > <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> >     2) It allows for very convenient bump of versions. We develop a
> >     product,
> >     so, version bumps are on daily or weekly basis. All that is needed
> >     is to
> >     rename the .bb file. No need to edit SRCREV.
> >
> >
> > You can trivially script SRCREV updates ('devtool upgrade'/'devtool
> > finish'). The disadvantage of using tags is that you lose
> > reproducibility, as tags can be moved or deleted, and so I wouldn't
> > encourage this practice.
> >
> > Alex
>
>
> --
>
> Dr.-Ing. Matthias Schoepfer
> Mobile: +49 175 2062739
> email: [email protected]
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#48765): https://lists.yoctoproject.org/g/yocto/message/48765
Mute This Topic: https://lists.yoctoproject.org/mt/71902370/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to