Skip to contentSkip to conversation

Class 2, Package Versioning Policy

school Holger Freyther 2 participants 2 messages Oct 13, 2008 – Oct 14, 2008

lore
Share & tools
lore
#0 lore raw

Hey,

after Koen's introduction to number theory (natural numbers and their order) let me continue with a class on Package Versioning.

Let me start with examples

# git-grep "^PV" packages/ | grep "git\\$" | grep SRCREV
packages/mesa/mesa-dri_git.bb:PV = "7.2+git${SRCREV}"
packages/u-boot/u-boot-omap3_git.bb:PV = "2008.10-rc1+${PR}+git${SRCREV}"
packages/xorg-driver/xf86-video-omapfb_git.bb:PV = "0.0.1+${PR}+git${SRCREV}"

Let me go through the errors:
- As of policy and common standards we want to put a "r" in the revision.
This means "7.2+gitr${SRCREV}". The same applies to svn, hg, monotone and any other scm system supporting a revision. If you checkout by date (SRCDATE) remove the "r" or switch the recipe to use SRCREV (this does not work for cvs).

- Okay, never ever put PR into the PV. This is an evil hack and we have
a known fix and it will land in the OpenEmbedded metadata. SRCPV will land in the OE metadata and will solve these issues rendering this hack obsolete.

thanks for listening, a bunch of fixes will come from OM.

your janitor

#1 lore raw

Hello,

Quoted 3 lines · Holger Freyther

after Koen's introduction to number theory (natural numbers and their order) let me continue with a class on Package Versioning.

I have skipped class*, sitting between a set of assimilated trolls who have entered from both .no/.fi to a country that goes by .de.

Could my co-students in the Documentation Team project make notes that I can bluntly copy for the price of a beer**?

Thanks,

Signature · 4 lines
Leon 'likewise wasn't there' Woestenberg

*Don't let Professor Zecke hear please. He has harsh punishments.
**to be paid by me at some next OE event.