Skip to contentSkip to conversation

Fix inappropriate default protocal in distrodata.bbclass

PATCH Applied Mei Lei 2 participants 4 messages Dec 6, 2011 – Dec 8, 2011

lore
Share & tools
lore

Mei Lei

author
#0 lore raw

cover Fix inappropriate default protocal in distrodata.bbclass

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(-)
author
#1 lore raw

PATCH 1/1 distrodata.bbclass:Fix some recipes upstream version check issue.

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.

---
 meta/classes/distrodata.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/distrodata.bbclass +1 -1
index 0c0b549..ff5b836 100644
@@ -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()
Signature · 1 line
1.7.0.4
#2 lore raw
In reply to Mei Lei
Quoted 11 lines · Mei Lei

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

Quoted 7 lines

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

author
#3 lore raw
Quoted 32 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] 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

Quoted 2 lines · Mei Lei

Hi all,
Some git repo recipes use rsync protocal as their default protocal, this will

lead errors when checking upstreawm version.

Quoted 6 lines

Change default protocal from rsync to git for those git recipes.

Thanks,
Lei

The following changes since commit

0a7a8597be05c8def8af58eecab49d963dc9d757:

Quoted 10 lines

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

Quoted 8 lines
Quoted 2 lines

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

Quoted 10 lines

Cheers,

Richard

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core