Compare commits
6 commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
f23d33bbe9 | ||
![]() |
7823f3f1b1 | ||
![]() |
7d75c11468 | ||
![]() |
ef6e50e3a9 | ||
![]() |
f87f602e59 | ||
![]() |
c923f71eb2 |
12
CHANGELOG.md
12
CHANGELOG.md
|
@ -5,6 +5,18 @@ All notable changes to rattail-wave 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.3.2 (2024-08-18)
|
||||||
|
|
||||||
|
### Fix
|
||||||
|
|
||||||
|
- avoid deprecated base class for config extension
|
||||||
|
|
||||||
|
## v0.3.1 (2024-07-01)
|
||||||
|
|
||||||
|
### Fix
|
||||||
|
|
||||||
|
- remove legacy command definitions
|
||||||
|
|
||||||
## v0.3.0 (2024-06-10)
|
## v0.3.0 (2024-06-10)
|
||||||
|
|
||||||
### Feat
|
### Feat
|
||||||
|
|
11
README.md
Normal file
11
README.md
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
# rattail-wave
|
||||||
|
|
||||||
|
Rattail is a retail software framework, released under the GNU General
|
||||||
|
Public License.
|
||||||
|
|
||||||
|
This package contains software interfaces for
|
||||||
|
[Wave](https://www.waveapps.com/).
|
||||||
|
|
||||||
|
Please see the [Rattail Project](https://rattailproject.org/) for more
|
||||||
|
information.
|
14
README.rst
14
README.rst
|
@ -1,14 +0,0 @@
|
||||||
|
|
||||||
rattail-wave
|
|
||||||
============
|
|
||||||
|
|
||||||
Rattail is a retail software framework, released under the GNU General
|
|
||||||
Public License.
|
|
||||||
|
|
||||||
This package contains software interfaces for `Wave`_.
|
|
||||||
|
|
||||||
.. _`Wave`: https://www.waveapps.com/
|
|
||||||
|
|
||||||
Please see the `Rattail Project`_ for more information.
|
|
||||||
|
|
||||||
.. _`Rattail Project`: https://rattailproject.org/
|
|
|
@ -6,9 +6,9 @@ build-backend = "hatchling.build"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "rattail-wave"
|
name = "rattail-wave"
|
||||||
version = "0.3.0"
|
version = "0.3.2"
|
||||||
description = "Rattail integration package for Wave"
|
description = "Rattail integration package for Wave"
|
||||||
readme = "README.rst"
|
readme = "README.md"
|
||||||
authors = [{name = "Lance Edgar", email = "lance@edbob.org"}]
|
authors = [{name = "Lance Edgar", email = "lance@edbob.org"}]
|
||||||
license = {text = "GNU GPL v3+"}
|
license = {text = "GNU GPL v3+"}
|
||||||
classifiers = [
|
classifiers = [
|
||||||
|
@ -29,10 +29,6 @@ dependencies = [
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
[project.entry-points."rattail.subcommands"]
|
|
||||||
import-wave = "rattail_wave.commands:ImportWave"
|
|
||||||
|
|
||||||
|
|
||||||
[project.entry-points."rattail.typer_imports"]
|
[project.entry-points."rattail.typer_imports"]
|
||||||
rattail_wave = "rattail_wave.commands"
|
rattail_wave = "rattail_wave.commands"
|
||||||
|
|
||||||
|
@ -47,8 +43,8 @@ rattail_wave = "rattail_wave.config:RattailWaveExtension"
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
Homepage = "https://rattailproject.org"
|
Homepage = "https://rattailproject.org"
|
||||||
Repository = "https://kallithea.rattailproject.org/rattail-project/rattail-wave"
|
Repository = "https://forgejo.wuttaproject.org/rattail/rattail-wave"
|
||||||
Changelog = "https://kallithea.rattailproject.org/rattail-project/rattail-wave/files/master/CHANGELOG.md"
|
Changelog = "https://forgejo.wuttaproject.org/rattail/rattail-wave/src/branch/master/CHANGELOG.md"
|
||||||
|
|
||||||
|
|
||||||
[tool.commitizen]
|
[tool.commitizen]
|
||||||
|
|
|
@ -26,7 +26,7 @@ rattail-wave commands
|
||||||
|
|
||||||
import typer
|
import typer
|
||||||
|
|
||||||
from rattail.commands import rattail_typer, ImportSubcommand
|
from rattail.commands import rattail_typer
|
||||||
from rattail.commands.typer import importer_command, typer_get_runas_user
|
from rattail.commands.typer import importer_command, typer_get_runas_user
|
||||||
from rattail.commands.importing import ImportCommandHandler
|
from rattail.commands.importing import ImportCommandHandler
|
||||||
|
|
||||||
|
@ -46,12 +46,3 @@ def import_wave(
|
||||||
config, import_handler_key='to_rattail.from_wave.import')
|
config, import_handler_key='to_rattail.from_wave.import')
|
||||||
kwargs['user'] = typer_get_runas_user(ctx)
|
kwargs['user'] = typer_get_runas_user(ctx)
|
||||||
handler.run(kwargs, progress=progress)
|
handler.run(kwargs, progress=progress)
|
||||||
|
|
||||||
|
|
||||||
class ImportWave(ImportSubcommand):
|
|
||||||
"""
|
|
||||||
Import data to Rattail, from Wave API
|
|
||||||
"""
|
|
||||||
name = 'import-wave'
|
|
||||||
description = __doc__.strip()
|
|
||||||
handler_key = 'to_rattail.from_wave.import'
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
||||||
# Rattail -- Retail Software Framework
|
# Rattail -- Retail Software Framework
|
||||||
# Copyright © 2010-2022 Lance Edgar
|
# Copyright © 2010-2024 Lance Edgar
|
||||||
#
|
#
|
||||||
# This file is part of Rattail.
|
# This file is part of Rattail.
|
||||||
#
|
#
|
||||||
|
@ -24,10 +24,10 @@
|
||||||
Config Extension
|
Config Extension
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from rattail.config import ConfigExtension
|
from wuttjamaican.conf import WuttaConfigExtension
|
||||||
|
|
||||||
|
|
||||||
class RattailWaveExtension(ConfigExtension):
|
class RattailWaveExtension(WuttaConfigExtension):
|
||||||
"""
|
"""
|
||||||
Config extension for rattail-wave.
|
Config extension for rattail-wave.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue