All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Vincent Prince <vincent.prince.fr@gmail.com>
Cc: openembedded-devel@lists.openembedded.org, Adrian Bunk <bunk@stusta.de>
Subject: Re: [meta-oe][PATCH 2/3] cppzmq: bump version 4.2.3 => 4.3.1
Date: Wed, 3 Apr 2019 14:03:14 +0200	[thread overview]
Message-ID: <20190403120314.GA2025@jama> (raw)
In-Reply-To: <CAB2nKc-nz+YhZ9voQOSo=46gLhLoip5_GT2arkmT6jOGiyEo8w@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1609 bytes --]

On Wed, Apr 03, 2019 at 01:36:24PM +0200, Vincent Prince wrote:
> Adrien,
> 
> What I'm not sure to understand is in which case we use "_git.bb" instead
> of having PV in filename.

The PV in filename is just another way for setting PV variable (instead
of setting it inside the recipe). This isn't relevant to what Adrian
requested and I would keep the filename as is.

> If we use a release version, shouldn't we point to
> https://github.com/zeromq/cppzmq/archive/v4.3.0.tar.gz?

Definitely don't use github archives, they are regenerated from time to
time with different checksums, either you can use developer uploaded
tarballs (some projects on github provides them as well) or use git
fetcher with the SRCREV pointing the the tag.

> And if we use git version, shouldn't we specify git commit hash to remove
> any ambiguity between PV and SRCREV?

With git bitbake fetcher (git:// in SRC_URI) you always need to specify
SRCREV, because that's the only thing which defines what "version" of
the source will be fetched.

PV in this case is only to give this SRCREV some human readable (and
sortable) versioning scheme. And that's what users will see when
installing/upgrading the built packages, so it's important to set it
correctly.

+git${SRCPV} in PV is usually used to signify that the SRCREV points to
commit a bit newer than the "base version" in this case 4.3.1 and in
this case this +git${SRCPV} is unnecessary if the SRCREV matches exactly
with 4.3.1 tag.

> Do you know any convention is specified somewhere?

I don't think it's spelled anywhere in wiki.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

  reply	other threads:[~2019-04-03 12:03 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-03  8:28 [meta-oe][PATCH 1/3] zeromq: bump version 4.2.5 => 4.3.1 Vincent Prince
2019-04-03  8:28 ` [meta-oe][PATCH 2/3] cppzmq: bump version 4.2.3 " Vincent Prince
2019-04-03  8:56   ` Adrian Bunk
2019-04-03 10:42     ` Vincent Prince
2019-04-03 10:43       ` Vincent Prince
2019-04-03 11:15       ` Adrian Bunk
2019-04-03 11:36         ` Vincent Prince
2019-04-03 12:03           ` Martin Jansa [this message]
2019-04-03 12:31             ` Vincent Prince
2019-04-03 12:50               ` Martin Jansa
2019-04-03 16:52   ` Khem Raj
2019-04-03 19:33     ` Vincent Prince
2019-04-04  9:12       ` Vincent Prince
2019-04-04 16:34         ` Khem Raj
2019-04-03  8:28 ` [meta-oe][PATCH 3/3] czmq: bump version 4.1.1 => 4.2.0 Vincent Prince
2019-04-03  8:34   ` Vincent Prince

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190403120314.GA2025@jama \
    --to=martin.jansa@gmail.com \
    --cc=bunk@stusta.de \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=vincent.prince.fr@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.