Skip to content

Commit

Permalink
Merge pull request #750
Browse files Browse the repository at this point in the history
v5.0.0
  • Loading branch information
MatteoCampinoti94 authored Dec 17, 2024
2 parents 2d9e145 + 20b36e5 commit 5f57eb9
Show file tree
Hide file tree
Showing 73 changed files with 4,709 additions and 2,848 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,19 +81,21 @@ jobs:
test "$acacore_remote" = "$acacore_package"
version-database:
name: Test database version
name: Test Database version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Test database version
run: |
acacore_database="$(sqlite3 tests/files/_metadata/files.db "select value from Metadata where key = 'version'")"
acacore_database="$(sqlite3 tests/AVID/_metadata/avid.db "select value from Metadata where key = 'version'")"
acacore_database="${acacore_database#*\"}"
acacore_database="${acacore_database#v}"
acacore_database="${acacore_database%\"}"
acacore_package="$(grep 'acacore =' pyproject.toml | grep -oE 'tag[ ]*=[ ]*"[^"]+"')"
acacore_package="${acacore_package#*\"}"
acacore_package="${acacore_package#v}"
acacore_package="${acacore_package%\"}"
test "$acacore_database" = "$acacore_package"
pytest:
name: pytest
Expand All @@ -113,6 +115,6 @@ jobs:
- name: Unit test
env:
GOPATH: /home/runner/go
run: |
poetry run coverage run -m pytest
poetry run coverage report -m --fail-under=80 --skip-empty --skip-covered
run: poetry run coverage run -m pytest
- name: Coverage
run: poetry run coverage report -m --fail-under=80 --skip-empty --skip-covered
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Changelog

## v5.0.0

Complete overhaul of digiarch to work with the entire AVID folder and handle files across document types (original,
master, access, and statutory).

General structure is the same but some commands have been update to support the different document types.

### New Features

* Handle original, master, access, and statutory documents
* Automatically detect root AVID folder
* Import a database created with v4 of digiarch
* New `edit master` commands to handle master files

### Changes

* Removed duplicated functions like `reidentify`, query arguments are used instead to run/rerun a command on specific
files
* Improved file identification and extraction to be faster and more resilient
* Overhauled and safer rollback command
* Improved filename sanitization when extracting files

### Fixes

* Fix file name length error when running extract on some MSG files whose attached files had extra-long
names [#748](https://github.com/aarhusstadsarkiv/digiarch/issues/748)

## v4.1.12

### Changes
Expand Down
Loading

0 comments on commit 5f57eb9

Please sign in to comment.