Compare commits
No commits in common. "0b4efae392ff35ca4a0d0ac1ea59859b25e084f2" and "a4d81a6e3cf431bae5fb91337ccf1c345e75c137" have entirely different histories.
0b4efae392
...
a4d81a6e3c
|
@ -5,15 +5,6 @@ All notable changes to Tailbone will be documented in this file.
|
||||||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
||||||
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## v0.21.10 (2024-09-15)
|
|
||||||
|
|
||||||
### Fix
|
|
||||||
|
|
||||||
- update project repo links, kallithea -> forgejo
|
|
||||||
- use better icon for submit button on login page
|
|
||||||
- wrap notes text for batch view
|
|
||||||
- expose datasync consumer batch size via configure page
|
|
||||||
|
|
||||||
## v0.21.9 (2024-08-28)
|
## v0.21.9 (2024-08-28)
|
||||||
|
|
||||||
### Fix
|
### Fix
|
||||||
|
|
|
@ -6,7 +6,7 @@ build-backend = "hatchling.build"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "Tailbone"
|
name = "Tailbone"
|
||||||
version = "0.21.10"
|
version = "0.21.9"
|
||||||
description = "Backoffice Web Application for Rattail"
|
description = "Backoffice Web Application for Rattail"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
authors = [{name = "Lance Edgar", email = "lance@edbob.org"}]
|
authors = [{name = "Lance Edgar", email = "lance@edbob.org"}]
|
||||||
|
@ -84,9 +84,9 @@ tailbone = "tailbone.config:ConfigExtension"
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
Homepage = "https://rattailproject.org"
|
Homepage = "https://rattailproject.org"
|
||||||
Repository = "https://forgejo.wuttaproject.org/rattail/tailbone"
|
Repository = "https://kallithea.rattailproject.org/rattail-project/tailbone"
|
||||||
Issues = "https://forgejo.wuttaproject.org/rattail/tailbone/issues"
|
Issues = "https://redmine.rattailproject.org/projects/tailbone/issues"
|
||||||
Changelog = "https://forgejo.wuttaproject.org/rattail/tailbone/src/branch/master/CHANGELOG.md"
|
Changelog = "https://kallithea.rattailproject.org/rattail-project/tailbone/files/master/CHANGELOG.md"
|
||||||
|
|
||||||
|
|
||||||
[tool.commitizen]
|
[tool.commitizen]
|
||||||
|
|
|
@ -348,27 +348,56 @@ class UpgradeView(MasterView):
|
||||||
commit_hash_pattern = re.compile(r'^.{40}$')
|
commit_hash_pattern = re.compile(r'^.{40}$')
|
||||||
|
|
||||||
def get_changelog_projects(self):
|
def get_changelog_projects(self):
|
||||||
project_map = {
|
projects = {
|
||||||
'onager': 'onager',
|
'rattail': {
|
||||||
'pyCOREPOS': 'pycorepos',
|
'commit_url': 'https://kallithea.rattailproject.org/rattail-project/rattail/changelog/{new_version}/?size=10',
|
||||||
'rattail': 'rattail',
|
'release_url': 'https://kallithea.rattailproject.org/rattail-project/rattail/files/v{new_version}/CHANGES.rst',
|
||||||
'rattail_corepos': 'rattail-corepos',
|
},
|
||||||
'rattail-onager': 'rattail-onager',
|
'Tailbone': {
|
||||||
'rattail_tempmon': 'rattail-tempmon',
|
'commit_url': 'https://kallithea.rattailproject.org/rattail-project/tailbone/changelog/{new_version}/?size=10',
|
||||||
'rattail_woocommerce': 'rattail-woocommerce',
|
'release_url': 'https://kallithea.rattailproject.org/rattail-project/tailbone/files/v{new_version}/CHANGES.rst',
|
||||||
'Tailbone': 'tailbone',
|
},
|
||||||
'tailbone_corepos': 'tailbone-corepos',
|
'pyCOREPOS': {
|
||||||
'tailbone-onager': 'tailbone-onager',
|
'commit_url': 'https://kallithea.rattailproject.org/rattail-project/pycorepos/changelog/{new_version}/?size=10',
|
||||||
'tailbone_theo': 'theo',
|
'release_url': 'https://kallithea.rattailproject.org/rattail-project/pycorepos/files/v{new_version}/CHANGES.rst',
|
||||||
'tailbone_woocommerce': 'tailbone-woocommerce',
|
},
|
||||||
|
'rattail_corepos': {
|
||||||
|
'commit_url': 'https://kallithea.rattailproject.org/rattail-project/rattail-corepos/changelog/{new_version}/?size=10',
|
||||||
|
'release_url': 'https://kallithea.rattailproject.org/rattail-project/rattail-corepos/files/v{new_version}/CHANGES.rst',
|
||||||
|
},
|
||||||
|
'tailbone_corepos': {
|
||||||
|
'commit_url': 'https://kallithea.rattailproject.org/rattail-project/tailbone-corepos/changelog/{new_version}/?size=10',
|
||||||
|
'release_url': 'https://kallithea.rattailproject.org/rattail-project/tailbone-corepos/files/v{new_version}/CHANGES.rst',
|
||||||
|
},
|
||||||
|
'onager': {
|
||||||
|
'commit_url': 'https://kallithea.rattailproject.org/rattail-restricted/onager/changelog/{new_version}/?size=10',
|
||||||
|
'release_url': 'https://kallithea.rattailproject.org/rattail-restricted/onager/files/v{new_version}/CHANGES.rst',
|
||||||
|
},
|
||||||
|
'rattail-onager': {
|
||||||
|
'commit_url': 'https://kallithea.rattailproject.org/rattail-restricted/rattail-onager/changelog/{new_version}/?size=10',
|
||||||
|
'release_url': 'https://kallithea.rattailproject.org/rattail-restricted/rattail-onager/files/v{new_version}/CHANGELOG.md',
|
||||||
|
},
|
||||||
|
'rattail_tempmon': {
|
||||||
|
'commit_url': 'https://kallithea.rattailproject.org/rattail-project/rattail-tempmon/changelog/{new_version}/?size=10',
|
||||||
|
'release_url': 'https://kallithea.rattailproject.org/rattail-project/rattail-tempmon/files/v{new_version}/CHANGES.rst',
|
||||||
|
},
|
||||||
|
'tailbone-onager': {
|
||||||
|
'commit_url': 'https://kallithea.rattailproject.org/rattail-restricted/tailbone-onager/changelog/{new_version}/?size=10',
|
||||||
|
'release_url': 'https://kallithea.rattailproject.org/rattail-restricted/tailbone-onager/files/v{new_version}/CHANGELOG.md',
|
||||||
|
},
|
||||||
|
'rattail_woocommerce': {
|
||||||
|
'commit_url': 'https://kallithea.rattailproject.org/rattail-project/rattail-woocommerce/changelog/{new_version}/?size=10',
|
||||||
|
'release_url': 'https://kallithea.rattailproject.org/rattail-project/rattail-woocommerce/files/v{new_version}/CHANGES.rst',
|
||||||
|
},
|
||||||
|
'tailbone_woocommerce': {
|
||||||
|
'commit_url': 'https://kallithea.rattailproject.org/rattail-project/tailbone-woocommerce/changelog/{new_version}/?size=10',
|
||||||
|
'release_url': 'https://kallithea.rattailproject.org/rattail-project/tailbone-woocommerce/files/v{new_version}/CHANGES.rst',
|
||||||
|
},
|
||||||
|
'tailbone_theo': {
|
||||||
|
'commit_url': 'https://kallithea.rattailproject.org/rattail-project/theo/changelog/{new_version}/?size=10',
|
||||||
|
'release_url': 'https://kallithea.rattailproject.org/rattail-project/theo/files/v{new_version}/CHANGES.rst',
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
projects = {}
|
|
||||||
for name, repo in project_map.items():
|
|
||||||
projects[name] = {
|
|
||||||
'commit_url': f'https://forgejo.wuttaproject.org/rattail/{repo}/compare/{{old_version}}...{{new_version}}',
|
|
||||||
'release_url': f'https://forgejo.wuttaproject.org/rattail/{repo}/src/tag/v{{new_version}}/CHANGELOG.md',
|
|
||||||
}
|
|
||||||
return projects
|
return projects
|
||||||
|
|
||||||
def get_changelog_url(self, project, old_version, new_version):
|
def get_changelog_url(self, project, old_version, new_version):
|
||||||
|
|
Loading…
Reference in a new issue