mirror of
https://github.com/inventree/InvenTree.git
synced 2026-04-08 12:31:06 +00:00
Update CHANGELOG.md (#11668)
- Follow-up to https://github.com/inventree/InvenTree/pull/11648
This commit is contained in:
6
.github/workflows/import_export.yaml
vendored
6
.github/workflows/import_export.yaml
vendored
@@ -56,12 +56,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
filters: |
|
filters: |
|
||||||
server:
|
server:
|
||||||
|
- .github/workflows/import_export.yaml
|
||||||
|
- .github/scripts/check_exported_data.py
|
||||||
- 'src/backend/**'
|
- 'src/backend/**'
|
||||||
- 'tasks.py'
|
- 'tasks.py'
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: paths-filter
|
needs: paths-filter
|
||||||
if: needs.paths-filter.outputs.server == 'true'
|
if: needs.paths-filter.outputs.server == 'true' || contains(github.event.pull_request.labels.*.name, 'full-run')
|
||||||
|
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
@@ -110,7 +112,7 @@ jobs:
|
|||||||
test -f /home/runner/work/InvenTree/test_inventree_db.sqlite3 || (echo "Sqlite database not created" && exit 1)
|
test -f /home/runner/work/InvenTree/test_inventree_db.sqlite3 || (echo "Sqlite database not created" && exit 1)
|
||||||
- name: Import Sqlite Dataset
|
- name: Import Sqlite Dataset
|
||||||
run: |
|
run: |
|
||||||
invoke import-records -c -f ${{ env.DATA_FILE }}
|
invoke import-records -c -f ${{ env.DATA_FILE }} --strict
|
||||||
cd src/backend/InvenTree && python manage.py check_dummy_data
|
cd src/backend/InvenTree && python manage.py check_dummy_data
|
||||||
- name: Export Sqlite Dataset
|
- name: Export Sqlite Dataset
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
- [#11648](https://github.com/inventree/InvenTree/pull/11648) improves the import/export process, allowing data records defined by plugins to be loaded when importing a database from a file.
|
||||||
- [#11630](https://github.com/inventree/InvenTree/pull/11630) enhances the `import_records` and `export_records` system commands, by adding a metadata entry to the exported data file to allow for compatibility checks during data import.
|
- [#11630](https://github.com/inventree/InvenTree/pull/11630) enhances the `import_records` and `export_records` system commands, by adding a metadata entry to the exported data file to allow for compatibility checks during data import.
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|||||||
Reference in New Issue
Block a user