From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:repoman commit in: pym/repoman/checks/ebuilds/
Date: Wed, 20 Jan 2016 23:53:35 +0000 (UTC) [thread overview]
Message-ID: <1453333979.e9b210e53b7117d4b8c5cc6827790ea50cb2df13.zmedico@gentoo> (raw)
commit: e9b210e53b7117d4b8c5cc6827790ea50cb2df13
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 19 07:13:31 2016 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed Jan 20 23:52:59 2016 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=e9b210e5
repoman: fix _here_doc_re to handle file redirection
This suppresses "Unquoted Variable" warnings for sys-apps/portage ebuilds
where a here-doc is used to generate repos.conf:
ebuild.minorsyn 6
sys-apps/portage/portage-2.2.8-r2.ebuild: Unquoted Variable on line: 496
sys-apps/portage/portage-2.2.20.1.ebuild: Unquoted Variable on line: 290
sys-apps/portage/portage-2.2.23.ebuild: Unquoted Variable on line: 290
sys-apps/portage/portage-2.2.24.ebuild: Unquoted Variable on line: 290
sys-apps/portage/portage-2.2.25.ebuild: Unquoted Variable on line: 290
sys-apps/portage/portage-2.2.26.ebuild: Unquoted Variable on line: 294
Acked-by: Brian Dolbec <dolsen <AT> gentoo.org>
pym/repoman/checks/ebuilds/checks.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pym/repoman/checks/ebuilds/checks.py b/pym/repoman/checks/ebuilds/checks.py
index 7bab8e4..5420e51 100644
--- a/pym/repoman/checks/ebuilds/checks.py
+++ b/pym/repoman/checks/ebuilds/checks.py
@@ -920,7 +920,7 @@ def checks_init(experimental_inherit=False):
for k, kwargs in _eclass_info.items())))
-_here_doc_re = re.compile(r'.*\s<<[-]?(\w+)$')
+_here_doc_re = re.compile(r'.*<<[-]?(\w+)\s*(>\s*\S+\s*)?$')
_ignore_comment_re = re.compile(r'^\s*#')
next reply other threads:[~2016-01-20 23:53 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-20 23:53 Zac Medico [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-09-17 4:51 [gentoo-commits] proj/portage:repoman commit in: pym/repoman/checks/ebuilds/ Brian Dolbec
2015-09-17 3:08 Brian Dolbec
2015-09-05 21:48 Brian Dolbec
2015-09-05 21:48 Brian Dolbec
2015-09-05 21:27 Brian Dolbec
2015-09-05 21:27 Brian Dolbec
2015-08-11 23:54 Brian Dolbec
2015-08-11 23:54 Brian Dolbec
2015-08-10 14:45 Michał Górny
2015-08-10 14:45 Michał Górny
2015-08-10 13:44 Brian Dolbec
2015-08-10 13:44 Brian Dolbec
2014-11-17 0:55 Brian Dolbec
2014-11-17 0:55 Brian Dolbec
2014-10-01 23:46 Brian Dolbec
2014-10-01 23:46 Brian Dolbec
2014-10-01 23:02 Brian Dolbec
2014-10-01 23:02 Brian Dolbec
2014-06-03 19:40 Brian Dolbec
2014-06-02 16:24 Tom Wijsman
2014-06-02 15:44 Brian Dolbec
2014-06-02 14:24 Brian Dolbec
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=1453333979.e9b210e53b7117d4b8c5cc6827790ea50cb2df13.zmedico@gentoo \
--to=zmedico@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox