Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
ba306bc
:seedling: Initial Commit
bosd Jun 24, 2025
48303ba
Pre-commit Fixes
bosd Jun 24, 2025
1734ec9
Fixup Workflow file
bosd Jun 24, 2025
50b7012
pyproject.toml Update dependencies
bosd Jun 24, 2025
0973775
Fixup imports in import / export thread
bosd Jun 24, 2025
97d5842
Fix Odoo Lib Import
bosd Jun 24, 2025
964e010
Invoice9.py fix import
bosd Jun 24, 2025
fa7c290
Fixup Refactor product Processor
bosd Jun 25, 2025
98a3ada
Fixup Mapper and Transform
bosd Jun 25, 2025
54b80c7
Pre-commit fixes
bosd Jun 25, 2025
4ea8fff
Fixup tests
bosd Jun 25, 2025
c7dbfaa
Fixup transform pre-commit
bosd Jun 25, 2025
1e89a34
Update mapper and tests
bosd Jun 25, 2025
7a82db3
Update export threaded for py 3.10+ compatability
bosd Jun 25, 2025
45fc2d5
main.py ypdate
bosd Jun 25, 2025
7d1ba2a
Update noxfile
bosd Jun 25, 2025
f6265bc
Docs update
bosd Jun 25, 2025
e264aad
src/odoo_data_flow/lib/internal/tools.py
bosd Jun 25, 2025
7c85742
src/odoo_data_flow/logging_config.py
bosd Jun 25, 2025
eff413f
src/odoo_data_flow/lib/mapper.py
bosd Jun 25, 2025
7dad089
src/odoo_data_flow/lib/conf_lib.py
bosd Jun 25, 2025
63a48ce
src/odoo_data_flow/lib/internal/io.py
bosd Jun 25, 2025
e52e2cf
src/odoo_data_flow/lib/internal/rpc_thread.py
bosd Jun 25, 2025
3b13969
src/odoo_data_flow/lib/workflow/invoice_v9.py
bosd Jun 25, 2025
01ce9df
src/odoo_data_flow/workflow_runner.py
bosd Jun 25, 2025
e4456f7
src/odoo_data_flow/lib/transform.py
bosd Jun 25, 2025
3a4b809
src/odoo_data_flow/import_threaded.py
bosd Jun 25, 2025
e80863d
src/odoo_data_flow/__main__.py
bosd Jun 25, 2025
3aa32bc
src/odoo_data_flow/converter.py
bosd Jun 25, 2025
dc9bec6
src/odoo_data_flow/importer.py
bosd Jun 25, 2025
fbcf9d8
src/odoo_data_flow/migrator.py
bosd Jun 25, 2025
80b367a
src/odoo_data_flow/lib/mapper.py
bosd Jun 25, 2025
5380080
src/odoo_data_flow/exporter.py
bosd Jun 25, 2025
cb6e15e
src/odoo_data_flow/migrator.py
bosd Jun 25, 2025
3431322
src/odoo_data_flow/lib/transform.py
bosd Jun 25, 2025
a9d0911
src/odoo_data_flow/export_threaded.py
bosd Jun 25, 2025
5717603
src/odoo_data_flow/converter.py
bosd Jun 25, 2025
d3d3d35
src/odoo_data_flow/lib/mapper.py
bosd Jun 25, 2025
c121fa7
src/odoo_data_flow/exporter.py
bosd Jun 25, 2025
3509af0
src/odoo_data_flow/migrator.py
bosd Jun 25, 2025
e40c579
Pre-commit fixes
bosd Jun 25, 2025
f5a839f
update noxfile.py
bosd Jun 25, 2025
f3a625b
Updated Noxfile in all sessions
bosd Jun 25, 2025
79fb852
Update toml file
bosd Jun 25, 2025
4d25c5e
pre-commit fixes
bosd Jun 25, 2025
58704c4
Cleanup
bosd Jun 25, 2025
12479e4
Gitignore update
bosd Jun 25, 2025
2ba9c32
pre-commit config
bosd Jun 25, 2025
a7549c4
Noxfile Fix Create Coverage Report
bosd Jun 25, 2025
01f1053
Updare noxfile
bosd Jun 25, 2025
69a45d0
Re-introduce workflow runner
bosd Jun 25, 2025
ba3cda5
Update Docs
bosd Jun 25, 2025
75ac08e
[IMP] --model argument is optional on import if csv file is following…
bosd Jun 25, 2025
7c802d5
[FEAT] set default connection.conf
bosd Jun 25, 2025
34a2489
Invoice V9 ref print statements to logger
bosd Jun 25, 2025
cc6a499
[IMP] Update tests to allow no config param
bosd Jun 25, 2025
2bc7d45
[IMP] Add failure reson to failure file
bosd Jun 26, 2025
d5fcd8f
[IMP] Write log to file
bosd Jun 26, 2025
4378184
Test Failure handling
bosd Jun 26, 2025
34a8b53
Test converter
bosd Jun 26, 2025
5d23928
tests/test_export_threaded.py
bosd Jun 26, 2025
c11d40c
tests/test_exporter.py
bosd Jun 26, 2025
70e28bc
Fixup tests/test_failure_handling.py
bosd Jun 26, 2025
9c273c6
tests/test_converter.py
bosd Jun 26, 2025
88661c7
Update conf_lib
bosd Jun 26, 2025
d46f504
Fixup mypy failure handling
bosd Jun 26, 2025
a74eb73
tests/test_io.py
bosd Jun 26, 2025
8fcd362
tests/test_mapper.py
bosd Jun 26, 2025
02cf7d9
tests/test_io.py
bosd Jun 26, 2025
95c5eb6
Update tests
bosd Jun 26, 2025
d35c13a
Fix typeguard tests/test_mapper.py
bosd Jun 28, 2025
ec05023
tests/test_import_threaded.py
bosd Jun 28, 2025
08bed89
Update tests
bosd Jun 28, 2025
60f0a9a
src/odoo_data_flow/importer.py
bosd Jun 28, 2025
3d0b483
Update coverage settings
bosd Jun 28, 2025
8e34393
tests cleanup
bosd Jun 28, 2025
7915f68
Big Bang Update
bosd Jun 28, 2025
feca2c2
Cleaup Docs build dir
bosd Jun 28, 2025
a122ffe
Update config
bosd Jun 28, 2025
80d825c
Update docs
bosd Jun 29, 2025
918d809
Restore Product Template Mappers
bosd Jun 29, 2025
5d6abfd
Change theme in toml file
bosd Jun 29, 2025
ccc40e9
Noxfile linting
bosd Jun 29, 2025
164a176
coverage update
bosd Jun 29, 2025
e0577dd
Clean
bosd Jun 29, 2025
1e172fc
upd Readme
bosd Jun 29, 2025
a5ef792
tests/test_mapper.py
bosd Jun 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .cookiecutter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"_checkout": "2025.06.25",
"_output_dir": "/home/data/git/odoodataflow/odoo-data-flow",
"_repo_dir": "/home/bosd/.cookiecutters/cookiecutter-uv-hypermodern-python",
"_template": "gh:bosd/cookiecutter-uv-hypermodern-python",
"author": "bosd",
"copyright_year": "2025",
"development_status": "Development Status :: 3 - Alpha",
"email": "[email protected]",
"friendly_name": "Odoo Data Flow",
"github_user": "bosd",
"license": "GPL-3.0",
"package_name": "odoo-data-flow",
"project_name": "odoo-data-flow",
"version": "0.0.0"
}
Binary file added .coverage
Binary file not shown.
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.{py,toml}]
indent_style = space
indent_size = 4

[*.yml,yaml,json]
indent_style = space
indent_size = 2
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
49 changes: 49 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
groups:
github-actions-updates:
applies-to: version-updates
dependency-type: development
github-actions-security-updates:
applies-to: security-updates
dependency-type: development
- package-ecosystem: pip
directory: "/.github/workflows"
schedule:
interval: weekly
groups:
workflow-updates:
applies-to: version-updates
dependency-type: development
workflow-security-updates:
applies-to: security-updates
dependency-type: development
- package-ecosystem: pip
directory: "/docs"
schedule:
interval: weekly
groups:
doc-updates:
applies-to: version-updates
dependency-type: development
doc-security-updates:
applies-to: security-updates
dependency-type: production
- package-ecosystem: pip
directory: "/"
schedule:
interval: weekly
versioning-strategy: lockfile-only
allow:
- dependency-type: "all"
groups:
pip-version-updates:
applies-to: version-updates
dependency-type: development
pip-security-updates:
applies-to: security-updates
dependency-type: production
66 changes: 66 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
---
# Labels names are important as they are used by Release Drafter to decide
# regarding where to record them in changelog or if to skip them.
#
# The repository labels will be automatically configured using this file and
# the GitHub Action https://github.com/marketplace/actions/github-labeler.
- name: breaking
description: Breaking Changes
color: bfd4f2
- name: bug
description: Something isn't working
color: d73a4a
- name: build
description: Build System and Dependencies
color: bfdadc
- name: ci
description: Continuous Integration
color: 4a97d6
- name: dependencies
description: Pull requests that update a dependency file
color: 0366d6
- name: documentation
description: Improvements or additions to documentation
color: 0075ca
- name: duplicate
description: This issue or pull request already exists
color: cfd3d7
- name: enhancement
description: New feature or request
color: a2eeef
- name: github_actions
description: Pull requests that update Github_actions code
color: "000000"
- name: good first issue
description: Good for newcomers
color: 7057ff
- name: help wanted
description: Extra attention is needed
color: 008672
- name: invalid
description: This doesn't seem right
color: e4e669
- name: performance
description: Performance
color: "016175"
- name: python
description: Pull requests that update Python code
color: 2b67c6
- name: question
description: Further information is requested
color: d876e3
- name: refactoring
description: Refactoring
color: ef67c4
- name: removal
description: Removals and Deprecations
color: 9ae7ea
- name: style
description: Style
color: c120e5
- name: testing
description: Testing
color: b1fc6f
- name: wontfix
description: This will not be worked on
color: ffffff
29 changes: 29 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
categories:
- title: ":boom: Breaking Changes"
label: "breaking"
- title: ":rocket: Features"
label: "enhancement"
- title: ":fire: Removals and Deprecations"
label: "removal"
- title: ":beetle: Fixes"
label: "bug"
- title: ":racehorse: Performance"
label: "performance"
- title: ":rotating_light: Testing"
label: "testing"
- title: ":construction_worker: Continuous Integration"
label: "ci"
- title: ":books: Documentation"
label: "documentation"
- title: ":hammer: Refactoring"
label: "refactoring"
- title: ":lipstick: Style"
label: "style"
- title: ":package: Dependencies"
labels:
- "dependencies"
- "build"
template: |
## Changes

$CHANGES
3 changes: 3 additions & 0 deletions .github/workflows/constraints.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pip==24.3.1
nox==2024.10.09
virtualenv==20.27.1
22 changes: 22 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Labeler

on:
push:
branches:
- main
- master

jobs:
labeler:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
steps:
- name: Check out the repository
uses: actions/checkout@v4

- name: Run Labeler
uses: crazy-max/[email protected]
with:
skip-delete: true
73 changes: 73 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: Release

on:
push:
branches:
- main
- master

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"

- name: Install uv
uses: astral-sh/setup-uv@v4

- name: Check if there is a parent commit
id: check-parent-commit
run: |
echo "sha=$(git rev-parse --verify --quiet HEAD^)" >> $GITHUB_OUTPUT

- name: Detect and tag new version
id: check-version
if: steps.check-parent-commit.outputs.sha
uses: salsify/[email protected]
with:
version-command: |
bash -o pipefail -c "uv version | awk '{ print \$2 }'"

- name: Bump version for developmental release
if: "! steps.check-version.outputs.tag"
run: |
sed -i -e "s/0.0.0/${GITHUB_REF#refs/*/}/" pyproject.toml
# uv bump patch &&
# version=$(uv version | awk '{ print $2 }') &&
# uv bump $version.dev.$(date +%s)

- name: Build package
run: |
uv build

- name: Publish package on PyPI
if: steps.check-version.outputs.tag
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}

- name: Publish package on TestPyPI
if: "! steps.check-version.outputs.tag"
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.TEST_PYPI_TOKEN }}
repository_url: https://test.pypi.org/legacy/

- name: Publish the release notes
uses: release-drafter/[email protected]
with:
publish: ${{ steps.check-version.outputs.tag != '' }}
tag: ${{ steps.check-version.outputs.tag }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading