Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/repositories-xml-format:master commit in: layman/dbtools/
Date: Sun, 29 Mar 2015 17:46:39
Message-Id: 1427644618.3daba500ec79d3cce99da63f245e4352298dc1cf.sping@gentoo
1 commit: 3daba500ec79d3cce99da63f245e4352298dc1cf
2 Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
3 AuthorDate: Sun Mar 29 15:56:58 2015 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 29 15:56:58 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/repositories-xml-format.git/commit/?id=3daba500
7
8 Support "#gl2#" marker in repo description lines
9
10 layman/dbtools/gitoliteparser.py | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/layman/dbtools/gitoliteparser.py b/layman/dbtools/gitoliteparser.py
14 index 4bb6bb7..d0d268e 100644
15 --- a/layman/dbtools/gitoliteparser.py
16 +++ b/layman/dbtools/gitoliteparser.py
17 @@ -11,7 +11,7 @@ import re
18 _repo_line = re.compile('^repo ([^ ]+)')
19 _terms_status_line = re.compile('^# gentoo-terms-status = (.+)$')
20 _overlay_marker_line = re.compile('^# gentoo-is-overlay = (True|False)')
21 -_desc_line = re.compile('^([^# ][^ ]+) "(.+ <[^@]+@[^>]+>)" = "(.+)"')
22 +_desc_line = re.compile('^(?:#gl2# )?([^# ][^ ]+) "(.+ <[^@]+@[^>]+>)" = "(.+)"')
23 _dont_add_line = re.compile('^# gentoo-dont-add-to-layman = (.+)')