Changed settings and handling of adhoc wiki paths to be more testing-friendly.
- Legacy-Id: 14390
This commit is contained in:
parent
47a0b9d3ce
commit
57c18ef3fe
|
@ -860,8 +860,8 @@ TRAC_CREATE_GROUP_TYPES = ['wg', 'rg', 'area', 'team', 'dir', 'ag', ]
|
|||
TRAC_CREATE_GROUP_STATES = ['bof', 'active', ]
|
||||
TRAC_CREATE_GROUP_ACRONYMS = ['iesg', 'iaoc', 'ietf', ]
|
||||
TRAC_CREATE_ADHOC_WIKIS = [
|
||||
# admin group, name, path
|
||||
('iesg', 'Meeting', TRAC_WIKI_DIR_PATTERN % "ietf/meeting"),
|
||||
# admin group, name, sub-path
|
||||
('iesg', 'Meeting', "ietf/meeting"),
|
||||
]
|
||||
|
||||
SVN_PACKAGES = [
|
||||
|
|
|
@ -378,6 +378,8 @@ class Command(BaseCommand):
|
|||
for acronym, name, path in settings.TRAC_CREATE_ADHOC_WIKIS:
|
||||
try:
|
||||
self.note("Processing wiki '%s'" % name)
|
||||
if not os.path.isabs(path):
|
||||
path = self.wiki_dir_pattern % path
|
||||
|
||||
if not os.path.exists(path):
|
||||
trac_env, msg = self.create_adhoc_trac(name, path)
|
||||
|
|
Loading…
Reference in a new issue