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://g...@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 
g...@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'
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#140140): 
https://lists.openembedded.org/g/openembedded-core/message/140140
Mute This Topic: https://lists.openembedded.org/mt/75175212/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to