SCM fetched recipes without a SRCREV - e.g. libgee-native
Hi,
Lately some people have started adding recipes that fetch from an SCM without adding a srcrev either to the recipe or to sane-srcrevs.inc. That is bad. Unacceptable even.
Previously it only affected recipes I don't care about, but the libgee-native one breaks my build. I seem to recall we declared taboo on recipes that have a floating srcrev by default, but I guess people think that "no srcrev at all" doesn't fit that category. It does.
So please add a srcrev or revert the cset.
Koen
Quoted 5 lines · On Wednesday 21 October 2009 12:47:41 Koen Kooi wrote:
Hi,
Lately some people have started adding recipes that fetch from an SCM without adding a srcrev either to the recipe or to sane-srcrevs.inc. That is bad. Unacceptable even.
I agree, It must be possible to do
1.) bitbake -cfetchall task
then remove network and
2.) bitbake task...
if that is not the case we suck.
z.
Quoted 7 lines
1.) bitbake -cfetchall task
then remove network and
2.) bitbake task...
if that is not the case we suck.
Agreed. Perhaps it's really time to add some git commit checks as things like the presence of a SRCREV_pn entry in sane-srcrev.inc can easily be checked.
:M:
Quoted 9 lines · Holger Hans Peter Freyther
Quoted 5 lines · On Wednesday 21 October 2009 12:47:41 Koen Kooi wrote:
Hi,
Lately some people have started adding recipes that fetch from an SCM without adding a srcrev either to the recipe or to sane-srcrevs.inc. That is bad. Unacceptable even.
I agree, It must be possible to do
Quoted 7 lines
1.) bitbake -cfetchall task
then remove network and
2.) bitbake task...
if that is not the case we suck.
*yes*, that's what i'd forgotten. i'd tried just
$ bitbake -c fetch ...
but after i started a bitbake, there was still some downloading. so how much extra work does "fetchall" do as a command as opposed to just "fetch"? thanks.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Annoying Kernel Pedantry.
Web page: http://crashcourse.ca Twitter: http://twitter.com/rpjday
========================================================================
Quoted 11 lines · Michael 'Mickey' Lauer
Quoted 7 lines
1.) bitbake -cfetchall task
then remove network and
2.) bitbake task...
if that is not the case we suck.
Agreed. Perhaps it's really time to add some git commit checks as things like the presence of a
SRCREV_pnentry in sane-srcrev.inc can easily be checked.
If we continue down the sane-srcrevs.inc route we should consider moving PV_pn into there as well. Having SRCREV and PN in 2 different places only adds confusion and leads to misversions. Speaking of misversioning, I should really go through all scm fetched packages I use and verify PV is correct for those.
regards,
Koen
Am Mittwoch, den 21.10.2009, 13:21 +0200 schrieb Koen Kooi:
Quoted 9 lines · Michael 'Mickey' Lauer
Quoted 8 lines
Quoted 7 lines
1.) bitbake -cfetchall task
then remove network and
2.) bitbake task...
if that is not the case we suck.
Quoted 7 lines
Quoted 3 lines
Agreed. Perhaps it's really time to add some git commit checks as things like the presence of a
SRCREV_pnentry in sane-srcrev.inc can easily be checked.If we continue down the sane-srcrevs.inc route we should consider moving
PV_pninto there as well. Having SRCREV and PN in 2 different places only adds confusion and leads to misversions.
Correct.
Quoted 2 lines
Speaking of misversioning, I should really go through all scm fetched packages I use and verify PV is correct for those.
Agreed, will have to do the same here.
Regards,
:M:
Quoted 11 lines · Michael 'Mickey' Lauer
Am Mittwoch, den 21.10.2009, 13:21 +0200 schrieb Koen Kooi:
Quoted 3 lines
If we continue down the sane-srcrevs.inc route we should consider moving
PV_pninto there as well. Having SRCREV and PN in 2 different places only adds confusion and leads to misversions.Correct.
Quoted 2 lines
Speaking of misversioning, I should really go through all scm fetched packages I use and verify PV is correct for those.
Agreed, will have to do the same here.
Can I also suggest we start using SRCPV in PV, not SRCREV? This removed the need to play a lot of games with PV...
(Poky has switched to this now)
Cheers,
Richard
Quoted 11 lines · Richard Purdie
Quoted 10 lines · Michael 'Mickey' Lauer
Am Mittwoch, den 21.10.2009, 13:21 +0200 schrieb Koen Kooi:
Quoted 3 lines
If we continue down the sane-srcrevs.inc route we should consider moving
PV_pninto there as well. Having SRCREV and PN in 2 different places only adds confusion and leads to misversions.Correct.
Quoted 2 lines
Speaking of misversioning, I should really go through all scm fetched packages I use and verify PV is correct for those.
Quoted 6 lines
Quoted 1 line
Agreed, will have to do the same here.
Can I also suggest we start using SRCPV in PV, not SRCREV? This removed the need to play a lot of games with PV...
(Poky has switched to this now)
AFAIK, it's not merged in OE yet. I would definitely like to see it in OE. Last time we discussed it, the agreement was to introduce SRCPV in bitbake.conf first and then gradually switch existing recipes over from SRCREV, instead of mass-updating all of them at once...
Signature · 1 line
Denys
Quoted 17 lines · Denys Dmytriyenko
Quoted 16 lines · Richard Purdie
Quoted 11 lines · Michael 'Mickey' Lauer
Am Mittwoch, den 21.10.2009, 13:21 +0200 schrieb Koen Kooi:
Quoted 3 lines
If we continue down the sane-srcrevs.inc route we should consider moving
PV_pninto there as well. Having SRCREV and PN in 2 different places only adds confusion and leads to misversions.Correct.
Quoted 2 lines
Speaking of misversioning, I should really go through all scm fetched packages I use and verify PV is correct for those.
Agreed, will have to do the same here.
Can I also suggest we start using SRCPV in PV, not SRCREV? This removed the need to play a lot of games with PV...
Quoted 6 lines
Quoted 1 line
(Poky has switched to this now)
AFAIK, it's not merged in OE yet. I would definitely like to see it in OE. Last time we discussed it, the agreement was to introduce SRCPV in bitbake.conf first and then gradually switch existing recipes over from SRCREV, instead of mass-updating all of them at once...
Either way is fine but this looks like a good time to think about it if we're already assessing the variables!
Cheers,
Richard