* [RFC] Make some big but only formal change before next stable - SRCPV
@ 2010-03-09 7:53 Martin Jansa
2010-03-09 10:36 ` Phil Blundell
2010-03-09 14:00 ` Koen Kooi
0 siblings, 2 replies; 8+ messages in thread
From: Martin Jansa @ 2010-03-09 7:53 UTC (permalink / raw)
To: openembedded-devel
Hi,
what it missing in bitbake master to call it 1.9.0 and switch all to
this version with sanity check? I'm using master on my builder and SHR
builder and it works good. (Only issue I still have is oestats-client -
reported yesterday to bitbake-dev list).
In this version is support for LOCALCOUNT override, which makes SRCPV
usable with multiple builders with shared feeds. Which was only big
complaint against using SRCPV for git recipes.
http://git.openembedded.org/cgit.cgi/bitbake/commit/?id=2f32735463159e9e42e03819d6b505dba49c7f17
My SRCPV migration branch is quickly rotting.. but I'm willing to
check/do it again, because resolving conflicts with every small change
in git recipe takes me more time than merging SRCPV to oe.dev would
take.
SRCPV migration thread:
http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg01325.html
or really long and boring description
http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg01607.html
Thanks and cheers,
--
uin:136542059 jid:Martin.Jansa@gmail.com
Jansa Martin sip:jamasip@voip.wengo.fr
JaMa
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [RFC] Make some big but only formal change before next stable - SRCPV
2010-03-09 7:53 [RFC] Make some big but only formal change before next stable - SRCPV Martin Jansa
@ 2010-03-09 10:36 ` Phil Blundell
2010-03-09 11:59 ` Martin Jansa
2010-03-09 14:00 ` Koen Kooi
1 sibling, 1 reply; 8+ messages in thread
From: Phil Blundell @ 2010-03-09 10:36 UTC (permalink / raw)
To: openembedded-devel
On Tue, 2010-03-09 at 08:53 +0100, Martin Jansa wrote:
> My SRCPV migration branch is quickly rotting.. but I'm willing to
> check/do it again, because resolving conflicts with every small change
> in git recipe takes me more time than merging SRCPV to oe.dev would
> take.
At the risk of sounding like a terrible dimwit, I am still not entirely
clear on why you can't just do something like
PKGV = "0.0+git${@bb.fetch.get_srcrev(d)}.${PV}"
which seems like it would make this whole problem go away without
needing any further changes to bitbake.
p.
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [RFC] Make some big but only formal change before next stable - SRCPV
2010-03-09 10:36 ` Phil Blundell
@ 2010-03-09 11:59 ` Martin Jansa
2010-03-09 16:33 ` Phil Blundell
0 siblings, 1 reply; 8+ messages in thread
From: Martin Jansa @ 2010-03-09 11:59 UTC (permalink / raw)
To: openembedded-devel
On Tue, Mar 09, 2010 at 10:36:28AM +0000, Phil Blundell wrote:
> On Tue, 2010-03-09 at 08:53 +0100, Martin Jansa wrote:
> > My SRCPV migration branch is quickly rotting.. but I'm willing to
> > check/do it again, because resolving conflicts with every small change
> > in git recipe takes me more time than merging SRCPV to oe.dev would
> > take.
>
> At the risk of sounding like a terrible dimwit, I am still not entirely
> clear on why you can't just do something like
Feeling the same here now..
> PKGV = "0.0+git${@bb.fetch.get_srcrev(d)}.${PV}"
How this should work?
is PV at the end typo from PR or do you really mean that srcrev has higher
priority than PV?
> which seems like it would make this whole problem go away without
> needing any further changes to bitbake.
All changes are already there. What's new in master is optional support
for forcing that incrementing part to same value across builders, without
local cache synchronization.
And also caching for revs returned when using BB_GIT_CLONE_FOR_SRCREV,
which can improve performance instead of running "git rev-list | wc -l"
with every get_srcrev(d).
Regards,
--
uin:136542059 jid:Martin.Jansa@gmail.com
Jansa Martin sip:jamasip@voip.wengo.fr
JaMa
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [RFC] Make some big but only formal change before next stable - SRCPV
2010-03-09 11:59 ` Martin Jansa
@ 2010-03-09 16:33 ` Phil Blundell
0 siblings, 0 replies; 8+ messages in thread
From: Phil Blundell @ 2010-03-09 16:33 UTC (permalink / raw)
To: openembedded-devel
On Tue, 2010-03-09 at 12:59 +0100, Martin Jansa wrote:
> On Tue, Mar 09, 2010 at 10:36:28AM +0000, Phil Blundell wrote:
> > On Tue, 2010-03-09 at 08:53 +0100, Martin Jansa wrote:
> > > My SRCPV migration branch is quickly rotting.. but I'm willing to
> > > check/do it again, because resolving conflicts with every small change
> > > in git recipe takes me more time than merging SRCPV to oe.dev would
> > > take.
> >
> > At the risk of sounding like a terrible dimwit, I am still not entirely
> > clear on why you can't just do something like
>
> Feeling the same here now..
>
> > PKGV = "0.0+git${@bb.fetch.get_srcrev(d)}.${PV}"
>
> How this should work?
>
> is PV at the end typo from PR or do you really mean that srcrev has higher
> priority than PV?
Yes, I would have thought you would want the srcrev to have higher
priority than PV. In fact, you probably don't even want to have PV in
there at all. You certainly wouldn't want PR in there since that goes
in ${PKGR}.
p.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [RFC] Make some big but only formal change before next stable - SRCPV
2010-03-09 7:53 [RFC] Make some big but only formal change before next stable - SRCPV Martin Jansa
2010-03-09 10:36 ` Phil Blundell
@ 2010-03-09 14:00 ` Koen Kooi
2010-03-09 20:41 ` Phil Blundell
1 sibling, 1 reply; 8+ messages in thread
From: Koen Kooi @ 2010-03-09 14:00 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 09-03-10 08:53, Martin Jansa wrote:
> Hi,
>
> what it missing in bitbake master to call it 1.9.0 and switch all to
> this version with sanity check? I'm using master on my builder and SHR
> builder and it works good. (Only issue I still have is oestats-client -
> reported yesterday to bitbake-dev list).
>
> In this version is support for LOCALCOUNT override, which makes SRCPV
> usable with multiple builders with shared feeds. Which was only big
> complaint against using SRCPV for git recipes.
> http://git.openembedded.org/cgit.cgi/bitbake/commit/?id=2f32735463159e9e42e03819d6b505dba49c7f17
What I had plan to RFC, but forgot to, is to move the count vars out of
TMPDIR. My PV suddenly went backwards for a git recipe I'm using,
because I removed TMPDIR.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFLllR4MkyGM64RGpERAlgWAJ4l4Ntky6O7MT62bvsOCHWWy+0+iQCfUrpI
X9Yw40O4OnhSuZfi6K40oTY=
=BSSV
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [RFC] Make some big but only formal change before next stable - SRCPV
2010-03-09 14:00 ` Koen Kooi
@ 2010-03-09 20:41 ` Phil Blundell
2010-03-10 9:48 ` Sebastian Spaeth
0 siblings, 1 reply; 8+ messages in thread
From: Phil Blundell @ 2010-03-09 20:41 UTC (permalink / raw)
To: openembedded-devel
On Tue, 2010-03-09 at 15:00 +0100, Koen Kooi wrote:
> What I had plan to RFC, but forgot to, is to move the count vars out of
> TMPDIR. My PV suddenly went backwards for a git recipe I'm using,
> because I removed TMPDIR.
That does rather sound like a further argument for just not using the
local count variables at all and just figuring out a monotonic count
from the SCM (using git-rev-list or whatever) at packaging time.
p.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [RFC] Make some big but only formal change before next stable - SRCPV
2010-03-09 20:41 ` Phil Blundell
@ 2010-03-10 9:48 ` Sebastian Spaeth
2010-03-10 14:56 ` Koen Kooi
0 siblings, 1 reply; 8+ messages in thread
From: Sebastian Spaeth @ 2010-03-10 9:48 UTC (permalink / raw)
To: openembedded-devel
On Tue, 09 Mar 2010 20:41:59 +0000, Phil Blundell <philb@gnu.org> wrote:
> That does rather sound like a further argument for just not using the
> local count variables at all and just figuring out a monotonic count
> from the SCM (using git-rev-list or whatever) at packaging time.
That sounds rather nice, however I am not sure if git easily gives you
such a number. I know that mercurial does.
spaetz
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [RFC] Make some big but only formal change before next stable - SRCPV
2010-03-10 9:48 ` Sebastian Spaeth
@ 2010-03-10 14:56 ` Koen Kooi
0 siblings, 0 replies; 8+ messages in thread
From: Koen Kooi @ 2010-03-10 14:56 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10-03-10 10:48, Sebastian Spaeth wrote:
> On Tue, 09 Mar 2010 20:41:59 +0000, Phil Blundell <philb@gnu.org> wrote:
>> That does rather sound like a further argument for just not using the
>> local count variables at all and just figuring out a monotonic count
>> from the SCM (using git-rev-list or whatever) at packaging time.
>
> That sounds rather nice, however I am not sure if git easily gives you
> such a number. I know that mercurial does.
Both are local and don't handle rebasing well.
regards,
koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFLl7MqMkyGM64RGpERAriNAJ9fixaWg0G7NHkEKv/UOuGXbJYwIQCeNmxU
Oh51RpHDi6I3D4q+IzbPbYo=
=lB78
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-03-10 14:59 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-09 7:53 [RFC] Make some big but only formal change before next stable - SRCPV Martin Jansa
2010-03-09 10:36 ` Phil Blundell
2010-03-09 11:59 ` Martin Jansa
2010-03-09 16:33 ` Phil Blundell
2010-03-09 14:00 ` Koen Kooi
2010-03-09 20:41 ` Phil Blundell
2010-03-10 9:48 ` Sebastian Spaeth
2010-03-10 14:56 ` Koen Kooi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.