Update sitemap file
Add new releases, add already stein to not forget about it. Update regex for releases, we do not publish only to /ocata/ but also to /PROJECT/ocata - tread all these the same. Change-Id: I8ef454f779904d91e5e79c83c488dcba42ba2150
This commit is contained in:
parent
5766a7832b
commit
a3fdc40659
|
@ -36,10 +36,13 @@ class SitemapSpider(spiders.CrawlSpider):
|
||||||
MAINT_SERIES = [
|
MAINT_SERIES = [
|
||||||
'newton',
|
'newton',
|
||||||
'ocata',
|
'ocata',
|
||||||
'pike'
|
'pike',
|
||||||
|
'queens',
|
||||||
|
'rocky',
|
||||||
|
'stein',
|
||||||
]
|
]
|
||||||
MAINT_RELEASES_PAT = re.compile('^/(' + '|'.join(MAINT_SERIES) + ')/')
|
MAINT_RELEASES_PAT = re.compile('^.*/(' + '|'.join(MAINT_SERIES) + ')/')
|
||||||
LATEST_PAT = re.compile('^/latest/')
|
LATEST_PAT = re.compile('^.*/latest/')
|
||||||
|
|
||||||
rules = [
|
rules = [
|
||||||
spiders.Rule(
|
spiders.Rule(
|
||||||
|
|
Loading…
Reference in New Issue