diff --git a/pyproject.toml b/pyproject.toml index 917b3ac..6800ec4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,8 +51,8 @@ rattail-demo = "rattail_demo.config:DemoConfigExtension" [project.urls] Homepage = "https://demo.rattailproject.org" -Repository = "https://kallithea.rattailproject.org/rattail-project/rattail-demo" -Changelog = "https://kallithea.rattailproject.org/rattail-project/rattail-demo/files/master/CHANGELOG.md" +Repository = "https://forgejo.wuttaproject.org/rattail/rattail-demo" +Changelog = "https://forgejo.wuttaproject.org/rattail/rattail-demo/src/branch/master/CHANGELOG.md" [tool.commitizen] diff --git a/rattail_demo/web/menus.py b/rattail_demo/web/menus.py index 9dcf5fa..2927157 100644 --- a/rattail_demo/web/menus.py +++ b/rattail_demo/web/menus.py @@ -62,7 +62,7 @@ class DemoMenuHandler(base.TailboneMenuHandler): }, { 'title': "Source Code", - 'url': 'https://kallithea.rattailproject.org/rattail-project/rattail-demo', + 'url': 'https://forgejo.wuttaproject.org/rattail/rattail-demo', 'target': '_blank', }, { diff --git a/rattail_demo/web/views/upgrades.py b/rattail_demo/web/views/upgrades.py index 8035303..af722f4 100644 --- a/rattail_demo/web/views/upgrades.py +++ b/rattail_demo/web/views/upgrades.py @@ -15,8 +15,8 @@ class UpgradeView(base.UpgradeView): 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', + 'commit_url': 'https://forgejo.wuttaproject.org/rattail/rattail-demo/compare/{{old_version}}...{{new_version}}', + 'release_url': 'https://forgejo.wuttaproject.org/rattail/rattail-demo/src/tag/v{{new_version}}/CHANGELOG.md', }, })