Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c97b8c080e | |||
| bf6494f2a9 | |||
| 4f86c4bcaa |
4 changed files with 18 additions and 7 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,2 +1,4 @@
|
|||
*~
|
||||
*.pyc
|
||||
dist/
|
||||
docs/_build/
|
||||
|
|
|
|||
|
|
@ -5,6 +5,12 @@ All notable changes to WuttaPOS will be documented in this file.
|
|||
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).
|
||||
|
||||
## v0.4.2 (2026-01-04)
|
||||
|
||||
### Fix
|
||||
|
||||
- tweak installer slightly, per upstream changes
|
||||
|
||||
## v0.4.1 (2026-01-03)
|
||||
|
||||
### Fix
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ build-backend = "hatchling.build"
|
|||
name = "WuttaPOS"
|
||||
# nb. 0.3.0 was the last release of the previous rattail WuttaPOS app.
|
||||
# pretty sure this will bump to 0.4.0 and then i can remove this note.
|
||||
version = "0.4.1"
|
||||
version = "0.4.2"
|
||||
description = "Point of Sale system based on Wutta Framework"
|
||||
readme = "README.md"
|
||||
authors = [{name = "Lance Edgar", email = "lance@wuttaproject.org"}]
|
||||
|
|
@ -32,7 +32,7 @@ classifiers = [
|
|||
]
|
||||
dependencies = [
|
||||
"psycopg2",
|
||||
"WuttJamaican[db]>=0.28.4",
|
||||
"WuttJamaican[db]>=0.28.6",
|
||||
"WuttaSync",
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -104,6 +104,9 @@ class InstallHandler(base.InstallHandler):
|
|||
# remember the answer
|
||||
self.install_type = install_type
|
||||
|
||||
# and skip the continuum prompt
|
||||
self.wants_continuum = install_type == "server"
|
||||
|
||||
# now we can check the app dir; do this before further questions
|
||||
self.check_appdir()
|
||||
|
||||
|
|
@ -138,14 +141,14 @@ class InstallHandler(base.InstallHandler):
|
|||
[sys.executable, "-m", "pip", "install", "WuttaPOS[terminal]"]
|
||||
)
|
||||
|
||||
def get_dbinfo(self):
|
||||
def get_db_url(self):
|
||||
if self.alongside:
|
||||
return {"dburl": self.config.appdb_engine.url}
|
||||
return self.config.appdb_engine.url
|
||||
|
||||
return super().get_dbinfo()
|
||||
return super().get_db_url()
|
||||
|
||||
def make_template_context(self, dbinfo, **kwargs):
|
||||
context = super().make_template_context(dbinfo, **kwargs)
|
||||
def make_template_context(self, **kwargs):
|
||||
context = super().make_template_context(**kwargs)
|
||||
|
||||
context["install_type"] = self.install_type
|
||||
context["store_id"] = self.store_id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue