Compare commits

...

6 commits

Author SHA1 Message Date
Lance Edgar e0b8797046 docs: update project links, kallithea -> forgejo 2024-09-14 13:20:04 -05:00
Lance Edgar 69ce07a778 docs: use markdown for readme file 2024-09-13 18:38:44 -05:00
Lance Edgar df324159ba bump: version 0.3.1 → 0.3.2 2024-08-18 20:09:43 -05:00
Lance Edgar 9687c85529 fix: avoid deprecated base class for config extension 2024-08-16 13:32:56 -05:00
Lance Edgar 0521f5e38c bump: version 0.3.0 → 0.3.1 2024-07-01 14:00:10 -05:00
Lance Edgar ff202415e3 fix: remove legacy command definitions 2024-07-01 12:32:20 -05:00
6 changed files with 31 additions and 35 deletions

View file

@ -5,6 +5,18 @@ All notable changes to rattail-harvest 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.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)
### Feat

11
README.md Normal file
View file

@ -0,0 +1,11 @@
# rattail-harvest
Rattail is a retail software framework, released under the GNU General
Public License.
This package contains software interfaces for
[Harvest](https://www.getharvest.com/).
Please see the [Rattail Project](https://rattailproject.org/) for more
information.

View file

@ -1,14 +0,0 @@
rattail-harvest
===============
Rattail is a retail software framework, released under the GNU General
Public License.
This package contains software interfaces for `Harvest`_.
.. _`Harvest`: https://www.getharvest.com/
Please see the `Rattail Project`_ for more information.
.. _`Rattail Project`: https://rattailproject.org/

View file

@ -6,9 +6,9 @@ build-backend = "hatchling.build"
[project]
name = "rattail-harvest"
version = "0.3.0"
version = "0.3.2"
description = "Rattail integration package for Harvest"
readme = "README.rst"
readme = "README.md"
authors = [{name = "Lance Edgar", email = "lance@edbob.org"}]
license = {text = "GNU GPL v3+"}
classifiers = [
@ -31,12 +31,8 @@ dependencies = [
[project.urls]
Homepage = "https://rattailproject.org"
Repository = "https://kallithea.rattailproject.org/rattail-project/rattail-harvest"
Changelog = "https://kallithea.rattailproject.org/rattail-project/rattail-harvest/files/master/CHANGELOG.md"
[project.entry-points."rattail.subcommands"]
import-harvest = "rattail_harvest.commands:ImportHarvest"
Repository = "https://forgejo.wuttaproject.org/rattail/rattail-harvest"
Changelog = "https://forgejo.wuttaproject.org/rattail/rattail-harvest/src/branch/master/CHANGELOG.md"
[project.entry-points."rattail.typer_imports"]

View file

@ -26,7 +26,7 @@ rattail-harvest commands
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.importing import ImportCommandHandler
@ -46,12 +46,3 @@ def import_harvest(
config, import_handler_key='to_rattail.from_harvest.import')
kwargs['user'] = typer_get_runas_user(ctx)
handler.run(kwargs, progress=progress)
class ImportHarvest(ImportSubcommand):
"""
Import data to Rattail, from Harvest API
"""
name = 'import-harvest'
description = __doc__.strip()
handler_key = 'to_rattail.from_harvest.import'

View file

@ -2,7 +2,7 @@
################################################################################
#
# Rattail -- Retail Software Framework
# Copyright © 2010-2022 Lance Edgar
# Copyright © 2010-2024 Lance Edgar
#
# This file is part of Rattail.
#
@ -24,10 +24,10 @@
Config Extension
"""
from rattail.config import ConfigExtension
from wuttjamaican.conf import WuttaConfigExtension
class RattailHarvestExtension(ConfigExtension):
class RattailHarvestExtension(WuttaConfigExtension):
"""
Config extension for rattail-harvest.
"""