AndresVargas

Hi!, my nickName is zodman, im a Computer science Engineering. love the FLOSS and FreeSoftware. Python ninja and php coder. On left my love Aisha and me.

Interest links
seen more



Powered by Django.

packaging software from git repo on conary

im read on irc channel:

[jessezh] a quick question: what should i put in 'version' for a pkg built from git snapshot?
[gxti] i like to base it on the output of 'git describe'
[gxti] for example, my current kernel tree is 'v2.6.29-rc3-56-g913d952', so for a recipe i would use 'v2.6.29_rc3_56_g913d952'
[gxti] since you can't use hyphens in version numbers
[gxti] r.macros.gitrev = r.version.replace('_', '-')
[gxti] r.addGitSnapshot('git://foo', tag='%(gitrev)s')

Good tip!

Planet foresight Foresight Tip
BACK