Skip to contentSkip to conversation

is there any point covering versioning of pre-release packages?

DISCUSSION Robert P. J. Day 2 participants 3 messages Oct 30, 2025

lore
Share & tools
lore
#0 lore raw

here:

https://docs.yoctoproject.org/dev-manual/new-recipe.html#properly-versioning-pre-release-recipes

there's a discussion of using that "~rc1" approach to versioning pre-release packages, but the one example shown there:

irssi_0.8.16-rc1.bb

doesn't even use that anymore, and in all the layers i have checked out, i can see a single example in the rpi layer:

linux-firmware-rpidistro_git.bb:PV = "20240709-2~bpo12+1+rpt3"

that same irssi example is mentioned here as well:

https://docs.yoctoproject.org/dev-manual/new-recipe.html#storing-and-naming-the-recipe

but that technique seems incredibly infrequent. is it still worth covering? it just seems to break up the flow of that chapter to discuss something the average developer may never, ever see.

rday

#1 lore raw
Quoted 16 lines · Robert P. J. Day via lists.yoctoproject.org

here:

https://docs.yoctoproject.org/dev-manual/new-recipe.html#properly-versioning-pre-release-recipes

there's a discussion of using that "~rc1" approach to versioning pre-release packages, but the one example shown there:

irssi_0.8.16-rc1.bb

doesn't even use that anymore, and in all the layers i have checked out, i can see a single example in the rpi layer:

linux-firmware-rpidistro_git.bb:PV = "20240709-2~bpo12+1+rpt3"

Quoted 8 lines

that same irssi example is mentioned here as well:

https://docs.yoctoproject.org/dev-manual/new-recipe.html#storing-and-naming-the-recipe

but that technique seems incredibly infrequent. is it still worth covering? it just seems to break up the flow of that chapter to discuss something the average developer may never, ever see.

It should be good to cover since it is on the lines of semver format maybe we should recommend that more but guidelines for prereleases is good to have

It’s possible that other private layers are using it and having consistency is good for such

Quoted 17 lines

rday

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#7920):
https://lists.yoctoproject.org/g/docs/message/7920
Mute This Topic: https://lists.yoctoproject.org/mt/116031221/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw
Quoted 27 lines · Khem Raj

On Thu, Oct 30, 2025 at 7:54 AM Robert P. J. Day via lists.yoctoproject.org <[email protected]> wrote:

  here:

https://docs.yoctoproject.org/dev-manual/new-recipe.html#properly-versioning-pre-release-recipes

there's a discussion of using that "~rc1" approach to versioning pre-release packages, but the one example shown there:

  irssi_0.8.16-rc1.bb

doesn't even use that anymore, and in all the layers i have checked out, i can see a single example in the rpi layer:

  linux-firmware-rpidistro_git.bb:PV = "20240709-2~bpo12+1+rpt3"

that same irssi example is mentioned here as well:

https://docs.yoctoproject.org/dev-manual/new-recipe.html#storing-and-naming-the-recipe

but that technique seems incredibly infrequent. is it still worth covering? it just seems to break up the flow of that chapter to discuss something the average developer may never, ever see.

Quoted 6 lines

It should be good to cover since it is on the lines of semver format maybe we should recommend that more but guidelines for prereleases is good to have

It’s possible that other private layers are using it and having consistency is good for such

i *sort of * agree with you but i'm currently reviewing the entire
"Writing a New Recipe" section:

https://docs.yoctoproject.org/dev-manual/new-recipe.html#

and, IMNHSO, that whole section could use a good gutting -- there is simply too much information there (much of it addressing obscure, corner cases like this) that dramatically breaks up the flow.

first, i loathe the title -- "Writing a New Recipe" -- since almost
the entire section is explaining how recipes *work* and how they are processed. that has nothing to do with "writing" a "new" recipe. it would make more sense to have much of the same material in something called, "The Standard YP Recipe Workflow", which simply *explains* a lot of that stuff in a smooth, orderly fashion. and once all that is done, one might say, "now that you understand the fundamental concepts of how recipes work, here are the typical steps you would do to create a brand new recipe."

to me, that makes much more sense, as you have two phases:

1) explain stuff
2) now that you understand that stuff, let's put it to use

and as i said, i think that section keeps breaking up the flow by wandering off into the weeds addressing things that 90% of developers won't need to know. at least not immediately.

more pedantic whining coming shortly.

rday