2017-08-13 22:37:38 -05:00
|
|
|
# -*- coding: utf-8; -*-
|
|
|
|
"""
|
|
|
|
Upgrade views
|
|
|
|
"""
|
|
|
|
|
|
|
|
import re
|
|
|
|
|
|
|
|
from tailbone.views import upgrades as base
|
|
|
|
|
|
|
|
|
|
|
|
class UpgradeView(base.UpgradeView):
|
|
|
|
|
2020-09-05 17:49:46 -05:00
|
|
|
def get_changelog_projects(self):
|
|
|
|
projects = super(UpgradeView, self).get_changelog_projects()
|
|
|
|
|
|
|
|
projects.update({
|
|
|
|
'rattail_demo': {
|
|
|
|
'commit_url': 'https://kallithea.rattailproject.org/rattail-project/rattail-demo/changelog/{new_version}/?size=10',
|
|
|
|
'release_url': 'https://kallithea.rattailproject.org/rattail-project/rattail-demo/files/{new_version}/CHANGES.rst',
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
return projects
|
2017-08-13 22:37:38 -05:00
|
|
|
|
|
|
|
|
|
|
|
def includeme(config):
|
|
|
|
UpgradeView.defaults(config)
|