All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: GUEYTAT Julien <j.gueytat@cdssoft.studiel.fr>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: : git tag and PV variable
Date: Wed, 24 Feb 2016 10:35:49 -0500	[thread overview]
Message-ID: <CAMKF1srvkpRBAQHfuPPTLdFtZEaRHNDeL39kWP-RqEWqJFcHbg@mail.gmail.com> (raw)
In-Reply-To: <EC7BC1CD2E085743BB2AE634252C39C171A8EE@server.exchange.local>


[-- Attachment #1.1: Type: text/plain, Size: 1284 bytes --]

On Wed, Feb 24, 2016 at 10:29 AM, GUEYTAT Julien <
j.gueytat@cdssoft.studiel.fr> wrote:

> Hi,
>
>
>
> I have this command in my qmake pro files:
>
> VERSION = $$system(git describe --abbrev=0 --tags)
>
>
>
> I would like to have the package manager follow the tag versioning.
>
>
>
> Which means I would like to have something like:
>
> PV = "git describe --abbrev=0 --tags"
>
> SRC_URI = "${STUDIEL_GIT}/core.git;protocol=file;tag=${PV}"
>
>
>
> It does not work for sure. What is the correct way to do this ?
>

​SRC_URI is required by fetcher and there is nothing to git describe before
it is fetched.​
so thats your problem.



>
>
> Thanks for sharing!
>
>
>
> *Julien GUEYTAT*
>
> *Ingénieur Informatique*
>
> [image: Logo CDS SOFT]
>
> 1027, avenue du Docteur Julien Lefebre BP27
>
> 06271 Villeneuve-Loubet Cedex
>
> *Fixe* :  +33 (0) 492 024 545
> *Mob* :  +33(0) 617 980 383
> *Fax* :    +33(0) 492 024 546
> *Email* : j.gueytat@cdssoft.studiel.fr
>
> *www* : www.studiel.fr
>
> *P* *Pensez Environnement, imprimez seulement si nécessaire*
>
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>

[-- Attachment #1.2: Type: text/html, Size: 4613 bytes --]

[-- Attachment #2: image001.png --]
[-- Type: image/png, Size: 7552 bytes --]

  reply	other threads:[~2016-02-24 15:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-24 15:29 : git tag and PV variable GUEYTAT Julien
2016-02-24 15:35 ` Khem Raj [this message]
2016-02-24 16:02   ` Alexander Kanavin
2016-02-24 16:39     ` Martin Jansa
2016-02-24 18:09     ` Maciej Borzecki
2016-02-25 13:19       ` GUEYTAT Julien

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=CAMKF1srvkpRBAQHfuPPTLdFtZEaRHNDeL39kWP-RqEWqJFcHbg@mail.gmail.com \
    --to=raj.khem@gmail.com \
    --cc=j.gueytat@cdssoft.studiel.fr \
    --cc=yocto@yoctoproject.org \
    /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.