* [PATCH 0/1]Fix inappropriate default protocal in distrodata.bbclass
@ 2011-12-06 9:09 Mei Lei
2011-12-06 9:09 ` [PATCH 1/1] distrodata.bbclass:Fix some recipes upstream version check issue Mei Lei
2011-12-06 14:27 ` [PATCH 0/1]Fix inappropriate default protocal in distrodata.bbclass Richard Purdie
0 siblings, 2 replies; 4+ messages in thread
From: Mei Lei @ 2011-12-06 9:09 UTC (permalink / raw)
To: openembedded-core
Hi all,
Some git repo recipes use rsync protocal as their default protocal, this will lead errors when checking upstreawm version.
Change default protocal from rsync to git for those git recipes.
Thanks,
Lei
The following changes since commit 0a7a8597be05c8def8af58eecab49d963dc9d757:
Richard Purdie (1):
libsdl: Disable pulseaudio explicitly
are available in the git repository at:
git://git.pokylinux.org/poky-contrib lmei3/fix-protocal
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=lmei3/fix-protocal
Mei Lei (1):
distrodata.bbclass:Fix some recipes upstream version check issue.
meta/classes/distrodata.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH 1/1] distrodata.bbclass:Fix some recipes upstream version check issue.
2011-12-06 9:09 [PATCH 0/1]Fix inappropriate default protocal in distrodata.bbclass Mei Lei
@ 2011-12-06 9:09 ` Mei Lei
2011-12-06 14:27 ` [PATCH 0/1]Fix inappropriate default protocal in distrodata.bbclass Richard Purdie
1 sibling, 0 replies; 4+ messages in thread
From: Mei Lei @ 2011-12-06 9:09 UTC (permalink / raw)
To: openembedded-core
Some recipes,like rt-tests,clutter-box2d,iproute2,didn't declare upstream protocal, but in distrodata.bbclass, we use rsync as the default protocal,
this will lead an error when checking upstream version.
Change default protocal from rsync to git in distrodata.bbclass.
Signed-off-by: Mei Lei <lei.mei@intel.com>
---
meta/classes/distrodata.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/classes/distrodata.bbclass b/meta/classes/distrodata.bbclass
index 0c0b549..ff5b836 100644
--- a/meta/classes/distrodata.bbclass
+++ b/meta/classes/distrodata.bbclass
@@ -562,7 +562,7 @@ python do_checkpkg() {
if 'protocol' in parm:
gitproto = parm['protocol']
else:
- gitproto = "rsync"
+ gitproto = "git"
gitcmd = "git ls-remote %s://%s%s%s *tag* 2>&1" % (gitproto, gituser, host, path)
gitcmd2 = "git ls-remote %s://%s%s%s HEAD 2>&1" % (gitproto, gituser, host, path)
tmp = os.popen(gitcmd).read()
--
1.7.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH 0/1]Fix inappropriate default protocal in distrodata.bbclass
2011-12-06 9:09 [PATCH 0/1]Fix inappropriate default protocal in distrodata.bbclass Mei Lei
2011-12-06 9:09 ` [PATCH 1/1] distrodata.bbclass:Fix some recipes upstream version check issue Mei Lei
@ 2011-12-06 14:27 ` Richard Purdie
2011-12-08 10:05 ` Mei, Lei
1 sibling, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2011-12-06 14:27 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Tue, 2011-12-06 at 17:09 +0800, Mei Lei wrote:
> Hi all,
> Some git repo recipes use rsync protocal as their default protocal, this will lead errors when checking upstreawm version.
> Change default protocal from rsync to git for those git recipes.
>
> Thanks,
> Lei
>
> The following changes since commit 0a7a8597be05c8def8af58eecab49d963dc9d757:
> Richard Purdie (1):
> libsdl: Disable pulseaudio explicitly
>
> are available in the git repository at:
>
> git://git.pokylinux.org/poky-contrib lmei3/fix-protocal
> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=lmei3/fix-protocal
>
> Mei Lei (1):
> distrodata.bbclass:Fix some recipes upstream version check issue.
Merged to master, thanks.
I believe I have previously asked we look at getting fetcher like
functionality merged into the fetchers and I'd like to mention this
again and ensure its not forgotten. Perhaps we need to file an
enhancement bug in the bugzilla for this?
Cheers,
Richard
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/1]Fix inappropriate default protocal in distrodata.bbclass
2011-12-06 14:27 ` [PATCH 0/1]Fix inappropriate default protocal in distrodata.bbclass Richard Purdie
@ 2011-12-08 10:05 ` Mei, Lei
0 siblings, 0 replies; 4+ messages in thread
From: Mei, Lei @ 2011-12-08 10:05 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
>-----Original Message-----
>From: openembedded-core-bounces@lists.openembedded.org
>[mailto:openembedded-core-bounces@lists.openembedded.org] On Behalf Of
>Richard Purdie
>Sent: Tuesday, December 06, 2011 10:27 PM
>To: Patches and discussions about the oe-core layer
>Subject: Re: [OE-core] [PATCH 0/1]Fix inappropriate default protocal in
>distrodata.bbclass
>
>On Tue, 2011-12-06 at 17:09 +0800, Mei Lei wrote:
>> Hi all,
>> Some git repo recipes use rsync protocal as their default protocal, this will
>lead errors when checking upstreawm version.
>> Change default protocal from rsync to git for those git recipes.
>>
>> Thanks,
>> Lei
>>
>> The following changes since commit
>0a7a8597be05c8def8af58eecab49d963dc9d757:
>> Richard Purdie (1):
>> libsdl: Disable pulseaudio explicitly
>>
>> are available in the git repository at:
>>
>> git://git.pokylinux.org/poky-contrib lmei3/fix-protocal
>>
>> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=lmei3/fix-protoc
>> al
>>
>> Mei Lei (1):
>> distrodata.bbclass:Fix some recipes upstream version check issue.
>
>Merged to master, thanks.
>
>I believe I have previously asked we look at getting fetcher like functionality
>merged into the fetchers and I'd like to mention this again and ensure its not
>forgotten. Perhaps we need to file an enhancement bug in the bugzilla for this?
Yes, I also think so, I filed a new bug for this enhancement:
http://bugzilla.pokylinux.org/show_bug.cgi?id=1813
Thanks,
Lei
>
>Cheers,
>
>Richard
>
>
>_______________________________________________
>Openembedded-core mailing list
>Openembedded-core@lists.openembedded.org
>http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-12-08 10:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-06 9:09 [PATCH 0/1]Fix inappropriate default protocal in distrodata.bbclass Mei Lei
2011-12-06 9:09 ` [PATCH 1/1] distrodata.bbclass:Fix some recipes upstream version check issue Mei Lei
2011-12-06 14:27 ` [PATCH 0/1]Fix inappropriate default protocal in distrodata.bbclass Richard Purdie
2011-12-08 10:05 ` Mei, Lei
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox