From: "John Klug" <john.klug@multitech.com>
To: Alexander Kanavin <alex.kanavin@gmail.com>,
OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] git do_unpack
Date: Tue, 30 Jun 2020 17:24:36 +0000 [thread overview]
Message-ID: <67ef24cd6a614dafb4245c9454854247@multitech.com> (raw)
In-Reply-To: <CANNYZj_L2fE=j2o7pZ+_i_UH8GgVEZQR3kmg=obJi5vxjWnKqA@mail.gmail.com>
We typically use tags to match PV and name our recipes NAME_TAG.bb
Recipe name:
dhq-client_0.39.bb
from bitbake -e dhq-client output:
# pre-expansion value:
# "${PN}-${PV}"
P="dhq-client-0.39"
In recipe:
SRCREV = "${PV}"
SRC_URI = "git://git@gitlab.multitech.net/devicehq/mAPI-dhq-client.git;protocol=ssh;nobranch=1 \ file://config.json.sample \ file://dhqclient.init \ file://dhqclient \ file://dhq-rootCA.pem \ "
Sanity check:
jklug@trustytahrdm1:~$ git clone git@gitlab.multitech.net:devicehq/mAPI-dhq-client
Cloning into 'mAPI-dhq-client'...
remote: Counting objects: 485, done.
remote: Compressing objects: 100% (199/199), done.
remote: Total 485 (delta 285), reused 450 (delta 265)
Receiving objects: 100% (485/485), 84.73 KiB | 14.12 MiB/s, done.
Resolving deltas: 100% (285/285), done.
jklug@trustytahrdm1:~$ cd mAPI-dhq-client/
jklug@trustytahrdm1:~/mAPI-dhq-client$ git log -1 --format=%ai 0.39 | head
2020-05-05 09:47:03 -0500
jklug@trustytahrdm1:~/mAPI-dhq-client$ git checkout 0.39
Note: checking out '0.39'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at d21aab3 Merge branch 'vp/fix_logs' into 'master'
next prev parent reply other threads:[~2020-06-30 17:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-28 17:27 git do_unpack John Klug
2020-06-28 19:30 ` [OE-core] " Alexander Kanavin
2020-06-30 4:45 ` John Klug
2020-06-30 8:23 ` Quentin Schulz
2020-06-30 8:24 ` Alexander Kanavin
2020-06-30 17:24 ` John Klug [this message]
2020-06-30 17:31 ` Alexander Kanavin
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=67ef24cd6a614dafb4245c9454854247@multitech.com \
--to=john.klug@multitech.com \
--cc=alex.kanavin@gmail.com \
--cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox