瀏覽代碼

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
tags/1.9.0
Andreas Jaeger 1 年之前
父節點
當前提交
a3fdc40659
共有 1 個檔案被更改,包括 6 行新增3 行删除
  1. 6
    3
      sitemap/generator/spiders/sitemap_file.py

+ 6
- 3
sitemap/generator/spiders/sitemap_file.py 查看文件

@@ -36,10 +36,13 @@ class SitemapSpider(spiders.CrawlSpider):
MAINT_SERIES = [
'newton',
'ocata',
'pike'
'pike',
'queens',
'rocky',
'stein',
]
MAINT_RELEASES_PAT = re.compile('^/(' + '|'.join(MAINT_SERIES) + ')/')
LATEST_PAT = re.compile('^/latest/')
MAINT_RELEASES_PAT = re.compile('^.*/(' + '|'.join(MAINT_SERIES) + ')/')
LATEST_PAT = re.compile('^.*/latest/')

rules = [
spiders.Rule(

Loading…
取消
儲存