From: yin.thong.choong@intel.com
To: openembedded-core@lists.openembedded.org
Subject: [PATCH v2 1/8] selftest/recipetool: replace fedorahosted.org SRC_URI with github.com source
Date: Tue, 4 Apr 2017 02:29:07 -0700 [thread overview]
Message-ID: <1491298154-68270-2-git-send-email-yin.thong.choong@intel.com> (raw)
In-Reply-To: <1491298154-68270-1-git-send-email-yin.thong.choong@intel.com>
From: Choong YinThong <yin.thong.choong@intel.com>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to github.com.
[YOCTO #11226]
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
---
meta/lib/oeqa/selftest/recipetool.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta/lib/oeqa/selftest/recipetool.py b/meta/lib/oeqa/selftest/recipetool.py
index d62c8bb..d47b9dd 100644
--- a/meta/lib/oeqa/selftest/recipetool.py
+++ b/meta/lib/oeqa/selftest/recipetool.py
@@ -369,15 +369,15 @@ class RecipetoolTests(RecipetoolBase):
tempsrc = os.path.join(self.tempdir, 'srctree')
os.makedirs(tempsrc)
recipefile = os.path.join(self.tempdir, 'logrotate_3.8.7.bb')
- srcuri = 'https://fedorahosted.org/releases/l/o/logrotate/logrotate-3.8.7.tar.gz'
+ srcuri = 'https://github.com/logrotate/logrotate/archive/r3-8-7.tar.gz'
result = runCmd('recipetool create -o %s %s -x %s' % (recipefile, srcuri, tempsrc))
self.assertTrue(os.path.isfile(recipefile))
checkvars = {}
checkvars['LICENSE'] = 'GPLv2'
checkvars['LIC_FILES_CHKSUM'] = 'file://COPYING;md5=18810669f13b87348459e611d31ab760'
- checkvars['SRC_URI'] = 'https://fedorahosted.org/releases/l/o/logrotate/logrotate-${PV}.tar.gz'
- checkvars['SRC_URI[md5sum]'] = '99e08503ef24c3e2e3ff74cc5f3be213'
- checkvars['SRC_URI[sha256sum]'] = 'f6ba691f40e30e640efa2752c1f9499a3f9738257660994de70a45fe00d12b64'
+ checkvars['SRC_URI'] = 'https://github.com/logrotate/logrotate/archive/r3-8-7.tar.gz'
+ checkvars['SRC_URI[md5sum]'] = '6b1aa0e0d07eda3c9a2526520850397a'
+ checkvars['SRC_URI[sha256sum]'] = 'dece4bfeb9d8374a0ecafa34be139b5a697db5c926dcc69a9b8715431a22e733'
self._test_recipe_contents(recipefile, checkvars, [])
@testcase(1194)
--
2.7.4
next prev parent reply other threads:[~2017-04-04 9:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-04 9:29 [PATCH v2 0/8] Remove all use of fedorahosted SRC_URI [yocto #11226] yin.thong.choong
2017-04-04 9:29 ` yin.thong.choong [this message]
2017-04-04 9:29 ` [PATCH v2 2/8] xmlto: replace fedorahosted.org SRC_URI with pagure.io source yin.thong.choong
2017-04-04 9:29 ` [PATCH v2 3/8] libuser: " yin.thong.choong
2017-04-04 9:29 ` [PATCH v2 4/8] logrotate: replace fedorahosted.org SRC_URI with github.com source yin.thong.choong
2017-04-04 10:40 ` Alexander Kanavin
2017-04-05 7:55 ` Choong, Yin Thong
2017-04-04 9:29 ` [PATCH v2 5/8] libnewt: replace fedorahosted.org SRC_URI with pagure.io source yin.thong.choong
2017-04-04 9:29 ` [PATCH v2 6/8] liberation-fonts: " yin.thong.choong
2017-04-04 9:29 ` [PATCH v2 7/8] chkconfig: replace fedorahosted.org SRC_URI with github.com source yin.thong.choong
2017-04-04 9:29 ` [PATCH v2 8/8] cronie: " yin.thong.choong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1491298154-68270-2-git-send-email-yin.thong.choong@intel.com \
--to=yin.thong.choong@intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.