Added wiki creation for groups in state 'bof'
- Legacy-Id: 13829
This commit is contained in:
parent
567274c156
commit
95ddc35eae
|
@ -836,6 +836,7 @@ TRAC_SVN_DIR_PATTERN = "/a/svn/group/%s"
|
|||
TRAC_SVN_URL_PATTERN = "https://svn.ietf.org/svn/group/%s/"
|
||||
|
||||
TRAC_CREATE_GROUP_TYPES = ['wg', 'rg', 'area', 'team', 'dir', 'ag', ]
|
||||
TRAC_CREATE_GROUP_STATES = ['bof', 'active', ]
|
||||
TRAC_CREATE_GROUP_ACRONYMS = ['iesg', 'iaoc', ]
|
||||
|
||||
SVN_PACKAGES = [
|
||||
|
|
|
@ -294,7 +294,7 @@ class Command(BaseCommand):
|
|||
if not os.path.exists(os.path.dirname(self.svn_dir_pattern)):
|
||||
raise CommandError('The SVN base direcory specified for the SVN directories (%s) does not exist.' % os.path.dirname(self.svn_dir_pattern))
|
||||
|
||||
gfilter = Q(type__slug__in=settings.TRAC_CREATE_GROUP_TYPES, state__slug='active')
|
||||
gfilter = Q(type__slug__in=settings.TRAC_CREATE_GROUP_TYPES, state__slug__in=settings.TRAC_CREATE_GROUP_STATES)
|
||||
gfilter |= Q(acronym__in=settings.TRAC_CREATE_GROUP_ACRONYMS)
|
||||
|
||||
groups = Group.objects.filter(gfilter).order_by('acronym')
|
||||
|
|
Loading…
Reference in a new issue