From a574b2c357aa495e47ac485348076e1a6844eb6a Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sun, 11 Apr 2010 20:43:04 +0200 Subject: No longer declare user overlays "official" --- diff-gitosis-conf-against-repositories-xml.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/diff-gitosis-conf-against-repositories-xml.py b/diff-gitosis-conf-against-repositories-xml.py index 638e161..a303533 100755 --- a/diff-gitosis-conf-against-repositories-xml.py +++ b/diff-gitosis-conf-against-repositories-xml.py @@ -143,7 +143,10 @@ for section_name in gitosis_conf.sections(): log = ChangeLog(gitosis_repo_name, is_new) if 'status' not in repo.attrib: - repo.attrib['status'] = 'official' + if owner_part == 'user': + repo.attrib['status'] = 'unofficial' + else: + repo.attrib['status'] = 'official' log.log('attribute', 'status') if 'quality' not in repo.attrib: -- cgit v1.2.3-65-gdbad