Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration #41

Merged
merged 133 commits into from
Sep 11, 2024
Merged

Integration #41

merged 133 commits into from
Sep 11, 2024

Commits on Jan 4, 2024

  1. REFACT: Structure types and more

    - created new module for API model types `eark_validator.model` that contains types for:
      - `Level` (requirements level);
      - `PackageDetails`;
      - `Severity` (of test result);
      - `StructResults` (for structural validation results);
      - `StructStatus` (for structural validation status);
      - `TestResult` (for validation test results); and
      - `ValidationReport` (for final validation report);
    - refactored structural validation to use new types;
    - small fix to schematron test for `CSIP11` in `mets_metsHdr_rules.xml`;
    - new `eark_validator.packages` module for package validation;
    - introduced a `PackageHandler` type to start abstraction of package parsing (replaces `STRUCT.ArchivePackageHandler`);
    - introduced a `ValidationReport` type to handle final aggregation of validation results;
    - added missing `__init__.py` files with appropriate commenting;
    - removed some defunct types;
    - removed unused imports;
    - introduced light use of pydantic, better use to come; and
    - unit test improvements and fixes.
    carlwilson committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    282abaa View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. Configuration menu
    Copy the full SHA
    c78cff5 View commit details
    Browse the repository at this point in the history
  2. FIX: Pylint errors.

    carlwilson committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    7b274ca View commit details
    Browse the repository at this point in the history
  3. Merge pull request #12 from E-ARK-Software/fix/pylint

    FIX: Pylint errors.
    carlwilson authored Jan 10, 2024
    Configuration menu
    Copy the full SHA
    1af45b0 View commit details
    Browse the repository at this point in the history
  4. FEAT: Pydantic types

    - converted struct types to Pydantic; and
    - fixed constructors where necessary.
    carlwilson committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    707b168 View commit details
    Browse the repository at this point in the history
  5. FIX: Structure validation with Pydantic

    - let the validator handle package unpacking;
    - added empty list default for `Checksum`; and
    - replaced `pprint` with `print` for now.
    carlwilson committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    2620887 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. FEAT: Checksum Types

    - added model types for Checkums and ChecksumAlg types;
    - removed/refactored defunct Checksum types; and
    - refactored tests to use new Checksum types.
    carlwilson committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    3d05912 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. REFACT: Model and code cleanup

    - refactored model code to group related types in modules;
    - better inclusing of model code in `__init__.py`;
    - completed addition of type hints to methods;
    - output of CLI now mostly JSON;
    - terminate processing of bad input files quickly; and
    - removed unused imports.
    carlwilson committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    b8ead67 View commit details
    Browse the repository at this point in the history
  2. FIX: Checksum value validation

    - fixed use of `to_upper` and use of `model_validate()` to force upper case checksum values;
    - catch `str` initialization of `Checksummer` so that a valid `ChecksumAlg` is always used; and
    - added test for case insensitivity of checksum values.
    carlwilson committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    7a275f7 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2024

  1. CSIP88 schematron test is correct, but the validation message is from…

    … the deprecated CSIP86 requirement. Replaced with text from CSIP88.
    Sunday-Crunk committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    776faf3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2d4b30f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    117935e View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

  1. Configuration menu
    Copy the full SHA
    b7a3ec9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    796a024 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    555c7ac View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. Configuration menu
    Copy the full SHA
    fc68fbe View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. REFACT: Manifest classes

    - `eark_validator/cli/app.py`:
      - validation now uses `eark_validator.model.ValidationReport` module;
      - improved `argparse` docs a little;
      - updated epilog date;
    - `eark_validator/infopacks/manifest.py`:
      - `FileItem` and `Manifest` types moved to appropriate `model` modules;
      - `ManifestEntries` and `Manifests` classes now hold API/factory methods for above;
      - no more `Checksum`s from METS files;
      - uses `Path` rather than `str` for file paths;
    - `eark_validator/mets.py b/eark_validator/mets.py`:
      - METS validation moved to `MetsFiles` class;
      - use `FileItem` rather than `FileEntry` types for file lists;
      - utility methods for `FileEntry` added;
    - added file headers where missing;
    - added a `SchematronRuleset.get_reports()` genrator method;
    - improved type hints here and there;
    - better/refactored tests; and
    - fixed imports post-refactoring.
    carlwilson committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    210dd90 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    04e1cca View commit details
    Browse the repository at this point in the history
  3. Merge pull request #17 from E-ARK-Software/ci/python-versions

    CI: Python build matrix, 3.9 to 3.12
    carlwilson authored Feb 2, 2024
    Configuration menu
    Copy the full SHA
    accd400 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    998e868 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c1f5571 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    69e69fb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a7cadae View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2024

  1. REFACT: Final Manifest tweaks plus minor fixes

    - added `pickle` based serialisation and deserialisation for `Manifest` class;
    - manifests can now be validated against an alternative root;
    - fixed faulty `|` as `or` in `MetsFiles.from_file()` method;
    - model `MetsFile.default_ns` is now a dictionary of namespace prefixes and URIs;
    - fixed handling of relative paths during Manifest creation/validation;
    - improved testing of manifest classes; and
    - typehints here and there.
    carlwilson committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    ef73179 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2024

  1. Including files as in setup.py

    dockmd committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    025d757 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c8e2883 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2024

  1. MAINT: Quick package publication

    - loose model types for InformationPackages, plus removed defunct types;
    - JSON output from Pydantic types;
    - changed application name from `ip-check` to `eark-validator`;
    - streamline application/project versioning;
    - updated `./README.md` to reflect name change and pre-requisites;
    - removed Python 3.9 build and updated docs to Python 3.10; and
    - updated lxml dependency.
    carlwilson committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    3533d6b View commit details
    Browse the repository at this point in the history
  2. MAINT: Package publish

    - fixed workflow to get tags when available;
    - recofigured `setuptools-git-versioning` so no VERSION file; and
    - removed VERSION file.
    carlwilson committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    5d8a86b View commit details
    Browse the repository at this point in the history
  3. FIX: Package Publication.

    carlwilson committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    913fcc8 View commit details
    Browse the repository at this point in the history
  4. FIX: Bad test for virtenv.

    carlwilson committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    cbe9c42 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. Configuration menu
    Copy the full SHA
    21610a9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #20 from E-ARK-Software/feat/fixing-setup-file

    Including profiles/*.xml and schema/*.xsd in build
    carlwilson authored Feb 16, 2024
    Configuration menu
    Copy the full SHA
    cb67e98 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eb3f43a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ccfc573 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    24a3f8c View commit details
    Browse the repository at this point in the history
  6. Merge pull request #15 from Sunday-Crunk/fix/CSIP88-Deprecated-assert…

    …ion-message
    
    Fix/csip88 deprecated assertion message
    carlwilson authored Feb 16, 2024
    Configuration menu
    Copy the full SHA
    b4ad134 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ec61378 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    eb7b1d1 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #22 from E-ARK-Software/maint/python-310

    MAINT: Removed Python 3.9 build.
    carlwilson authored Feb 16, 2024
    Configuration menu
    Copy the full SHA
    59cd0bd View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8d4b6ac View commit details
    Browse the repository at this point in the history
  11. Merge pull request #13 from E-ARK-Software/feat/pydantic-types

    FEAT: Pydantic types
    carlwilson authored Feb 16, 2024
    Configuration menu
    Copy the full SHA
    da7c45e View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3272c43 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c849891 View commit details
    Browse the repository at this point in the history
  14. Delete MANIFEST.in

    Done better in project.toml by @dockmd
    carlwilson authored Feb 16, 2024
    Configuration menu
    Copy the full SHA
    3e7b310 View commit details
    Browse the repository at this point in the history
  15. Merge pull request #21 from E-ARK-Software/refact/publication

    MAINT: Quick package publication
    shsdev authored Feb 16, 2024
    Configuration menu
    Copy the full SHA
    dfa7003 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2024

  1. Configuration menu
    Copy the full SHA
    81a97a4 View commit details
    Browse the repository at this point in the history
  2. FIX: Valid METS example

    - fixed the METS example to add `<fptr>` links to the schema and documentation divs; and
    - fixed test as example now generates more warnings.
    carlwilson committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    dbf5a13 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #23 from E-ARK-Software/merge/sunday-crunk

    Fix/struct map context fix
    carlwilson authored Feb 19, 2024
    Configuration menu
    Copy the full SHA
    6f719f4 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. REFACT: Specification types

    - created specification model types;
    - removed redundant specifcation types;
    - fixed tests;
    - removed redundant `__version__` attribute from base module; and
    - updated EPILOG date to 2024.
    carlwilson committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    c1dd237 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    09bbfb5 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. Merge pull request #24 from E-ARK-Software/refact/specifications

    REFACT: Specification types
    shsdev authored Feb 21, 2024
    Configuration menu
    Copy the full SHA
    969dfe5 View commit details
    Browse the repository at this point in the history
  2. REFACT: Cleanup rulesets and requirements.

    - cleaned up `StructuralRequirements` some;
    - fixed broken property getters in `EarkSpecifications`;
    - better tests for specifications and requirements;
    - made generators from `SchematronRuleset` properties; and
    - prettier printing from the CLI using `rich`.
    carlwilson committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    946027a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    89597c6 View commit details
    Browse the repository at this point in the history
  4. FIX: Dump rich for now.

    carlwilson committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    13dc86b View commit details
    Browse the repository at this point in the history
  5. Merge branch 'refact/rulesets' of github.com:E-ARK-Software/eark-vali…

    …dator into refact/rulesets
    carlwilson committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    9713943 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    94f4eff View commit details
    Browse the repository at this point in the history
  7. Merge pull request #26 from E-ARK-Software/fix/missing-xml-files

    FIX: Missing XML files
    carlwilson authored Feb 21, 2024
    Configuration menu
    Copy the full SHA
    aedbec4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e4d034f View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. MAINT: Structure rules test coverage

    - added case by case tests and data for structural conditions;
    - fixed bugs in the structure checking code based on results of the above; and
    - added test data for the above.
    carlwilson committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    f7f6ae9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0f7b167 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #25 from E-ARK-Software/refact/rulesets

    REFACT: Cleanup rulesets and requirements.
    carlwilson authored Feb 22, 2024
    Configuration menu
    Copy the full SHA
    ff9fe95 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    96e098c View commit details
    Browse the repository at this point in the history
  5. Merge pull request #27 from E-ARK-Software/maint/struct-test-coverage

    MAINT: Structure rules test coverage
    carlwilson authored Feb 22, 2024
    Configuration menu
    Copy the full SHA
    d0b9994 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. MAINT: Address Pylint issues

    - no functional changes;
    - used of `f''` string rather than `str.format()`;
    - better used of constants for strings, though not perfect;
    - better code documentation, though far from perfect;
    - test adjustments to match, though no pylint on test code;
    - use of generation expressions rather than list comprehensions; and
    - various occurrences of minor issues:
      - unused variables/parameters/imports;
      - overlong lines; and
      - redundant braces and else statements.
    carlwilson committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    7ca9aa7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #28 from E-ARK-Software/maint/pylint

    MAINT: Address Pylint issues
    carlwilson authored Feb 28, 2024
    Configuration menu
    Copy the full SHA
    a392cb1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ff01324 View commit details
    Browse the repository at this point in the history
  4. REFACT: StructuralRequirment -> Requirement

    - removed `StructuralRequirment` class so there is now only a singe `Requirement` class;
    - disabled the few legitimate pylint exceptions;
    - `ValueError` rather than `None` return for `ChecksumAlg.from_string()`; and
    - refactored model string constants to a single `model.constants` module.
    carlwilson committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    4867344 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #29 from E-ARK-Software/fix/Missing-schematron-res…

    …ults
    
    FIX: missing schematron results
    carlwilson authored Feb 28, 2024
    Configuration menu
    Copy the full SHA
    b2685c8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4372083 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. Configuration menu
    Copy the full SHA
    e09de74 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c3fca2f View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. Fixed tests

    dockmd committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    6e6edf1 View commit details
    Browse the repository at this point in the history
  2. Updated TESTING readme guide

    dockmd committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    5773667 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0405661 View commit details
    Browse the repository at this point in the history
  4. Fixed whitespaces

    dockmd committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    deeffd2 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. Merge pull request #31 from E-ARK-Software/feat/csip-schematron

    FEAT: Always validating package against CSIP schematron ruleset
    carlwilson authored Apr 11, 2024
    Configuration menu
    Copy the full SHA
    f83d6c3 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. Versioning support

    dockmd committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    3a1c637 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. Configuration menu
    Copy the full SHA
    bc0f257 View commit details
    Browse the repository at this point in the history
  2. FIX: Response to review comments

    - fixed `Checksum.fromString()` type hints;
    - using constants in `eark_validator/model/manifest.py`;
    - iterate dictionary not keys in `eark_validator/structure.py`;
    - fixed test comment in `tests/manifests_test.py`; and
    - added constants to `eark_validator/model/constants.py`.
    carlwilson committed May 8, 2024
    Configuration menu
    Copy the full SHA
    6fd4a44 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #30 from E-ARK-Software/refact/parser-api

    REFACT: StructuralRequirment -> Requirement
    carlwilson authored May 8, 2024
    Configuration menu
    Copy the full SHA
    957aded View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. 2.1.0 schematron rules

    dockmd committed May 22, 2024
    Configuration menu
    Copy the full SHA
    831bb4e View commit details
    Browse the repository at this point in the history
  2. Updated tests

    dockmd committed May 22, 2024
    Configuration menu
    Copy the full SHA
    79911b5 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. Configuration menu
    Copy the full SHA
    f274d78 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2024

  1. Fixed pylint errors

    dockmd committed May 29, 2024
    Configuration menu
    Copy the full SHA
    a60e805 View commit details
    Browse the repository at this point in the history
  2. Fixed whitespaces

    dockmd committed May 29, 2024
    Configuration menu
    Copy the full SHA
    79d91f3 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. Merge pull request #37 from E-ARK-Software/feat/V2.1.0-specification

    Specification 2.1.0
    dockmd authored May 31, 2024
    Configuration menu
    Copy the full SHA
    21c6437 View commit details
    Browse the repository at this point in the history
  2. Missing DIP rules

    dockmd committed May 31, 2024
    Configuration menu
    Copy the full SHA
    a1b52c4 View commit details
    Browse the repository at this point in the history
  3. Missing CSIP rules

    dockmd committed May 31, 2024
    Configuration menu
    Copy the full SHA
    74812a7 View commit details
    Browse the repository at this point in the history
  4. FIX DIP2 rule

    dockmd committed May 31, 2024
    Configuration menu
    Copy the full SHA
    5e8b46f View commit details
    Browse the repository at this point in the history
  5. Fixed valid mets xml file

    dockmd committed May 31, 2024
    Configuration menu
    Copy the full SHA
    cb57644 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2024

  1. Configuration menu
    Copy the full SHA
    c7ca708 View commit details
    Browse the repository at this point in the history
  2. FEAT: Ouptut report JSON schema

    - added `--schema` option to output the JSON schema of `ValidationReport`;
    - make `--schema` a valid single option without showing help message; and
    - `json.dumps` the schema to the console.
    carlwilson committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    f6c4b6e View commit details
    Browse the repository at this point in the history
  3. Merge pull request #38 from E-ARK-Software/feat/V2.0.4-specification

    Specification v2.0.4 - missing DIP and CSIP rules
    dockmd authored Jun 5, 2024
    Configuration menu
    Copy the full SHA
    aaafdce View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4e47d3d View commit details
    Browse the repository at this point in the history
  5. Fixed resources paths

    dockmd committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    811668c View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2024

  1. Configuration menu
    Copy the full SHA
    529bbe5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b9ab88b View commit details
    Browse the repository at this point in the history
  3. Merge pull request #39 from carlwilson/feat/json-schema-output

    FEAT: Ouptut report JSON schema
    carlwilson authored Jun 6, 2024
    Configuration menu
    Copy the full SHA
    c20a656 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. CSIP1-10 requrement fix

    dockmd committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    94da850 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Loading vocabulary tests

    dockmd committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    36c77c3 View commit details
    Browse the repository at this point in the history
  2. Updated schematron assertions

    dockmd committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    c740ea7 View commit details
    Browse the repository at this point in the history
  3. Updated tests and resources

    dockmd committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    bdd2fd2 View commit details
    Browse the repository at this point in the history
  4. Fixed whitespaces

    dockmd committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    cded31e View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. Fixed CSIP14 validation

    dockmd committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    daa06b0 View commit details
    Browse the repository at this point in the history
  2. Fixed CSIP15 validation

    dockmd committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    a2e0709 View commit details
    Browse the repository at this point in the history
  3. Fixed CSIP20 validation

    dockmd committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    fc316ca View commit details
    Browse the repository at this point in the history
  4. Fixed validation for 2.0.4

    dockmd committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    ff249af View commit details
    Browse the repository at this point in the history
  5. Fixed validation for CSIP24

    dockmd committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    298a7ae View commit details
    Browse the repository at this point in the history
  6. Fixed CSIP26 validation

    dockmd committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    1583cf0 View commit details
    Browse the repository at this point in the history
  7. Fixed CSIP34 validation

    dockmd committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    cc2b539 View commit details
    Browse the repository at this point in the history
  8. Fixed CSIp40 validation

    dockmd committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    c14a8dc View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ced3b75 View commit details
    Browse the repository at this point in the history
  10. Precommit settings

    dockmd committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    30d9618 View commit details
    Browse the repository at this point in the history
  11. Precommit settings

    dockmd committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    e31cf76 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2024

  1. FEAT: Commons IP schema validation

    - removed expansions of status enums; and
    - added a `ruleId` alias for validation `rule_id`.
    carlwilson committed Aug 11, 2024
    Configuration menu
    Copy the full SHA
    491f9af View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. Configuration menu
    Copy the full SHA
    0e01c0c View commit details
    Browse the repository at this point in the history
  2. Fixed thwn rule_id is None

    dockmd committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    c872fdc View commit details
    Browse the repository at this point in the history
  3. Removed wrong file

    dockmd committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    9115919 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. Merge pull request #48 from E-ARK-Software/FIX/requrements

    CSIP requirements fix
    carlwilson authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    35604c3 View commit details
    Browse the repository at this point in the history
  2. MAINT: Use setuptools 2.

    carlwilson committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    c4f6da9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e9dacbf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3f8ad91 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #62 from E-ARK-Software/maint/update-git-versioning

    MAINT: Use setuptools 2.
    carlwilson authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    c7b6eb4 View commit details
    Browse the repository at this point in the history
  6. FIX: Deserialisation of rule_id

    - added a `model_config` paramter to allow both `rule_id` and `ruleId` as keys in Pydantic model validation;
    - fixes issue with deserialisation of `rule_id` in `Rule` model.
    carlwilson committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    834fdfa View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9d7d6a4 View commit details
    Browse the repository at this point in the history
  8. FEAT: Convert commons-ip representations

    - added a `model_validator` to the `PackageDetails` class to convert incoming JSON dictionary to a `List` for now;
    - added PyDantic config to `Result` to allow multiple names for `rule_id` during validation;
    - reverted change to dictionary as it was not necessary;
    - added tests and data for deserialisation of commons-ip types; and
    - fixed minor compiler warnings.
    carlwilson committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    2935fdb View commit details
    Browse the repository at this point in the history
  9. Merge branch 'fix/commons-ip' of github.com:E-ARK-Software/eark-valid…

    …ator into fix/commons-ip
    carlwilson committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    ea44511 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. FEAT: Final commons-ip compatibility tweaks

    - refactored `MetadataResults` to match `commons-ip`, it's probably better as well;
    - moved `name` from `InformationPackage` to `PackageDetails` class;
    - renamed `InformationPackage.package` to `InformationPackage.details`;
    - renamed existing `ValidationReport.convert_dict` validator to `ValidationReport.convert_representations_dict` (more explicit);
    - added a second validator, `VaidationReport.convert_checksum_ids`, to convert `commons-ip` checksum ids to `eark_validator` hyphenated form;
    - `is_valid` convenience property to `ValidationReport` class;
    - string constants for 'VALID' and 'INVALID'; and
    - fixed tests to accomodate.
    carlwilson committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    56deacc View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. FIX: Support commons-ip use of NOTVALID

    - added `convert_status` validator to `MetadataResults` class to convert commons-ip `NOTVALID` status to `INVALID`;
    - moved checksum algorithm ID validation to the `PackageDetails` class;
    - added test and test data for status conversion; and
    - fixed type hinting for validation methods to `Any`.
    carlwilson committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    3d3ce76 View commit details
    Browse the repository at this point in the history
  2. REV: Tidier use of ROOT in structure.py

    As suggested in this [review comment](#60 (comment)), thanks.
    carlwilson committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    1c65fe9 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #60 from E-ARK-Software/fix/commons-ip

    FEAT: Commons IP schema validation
    carlwilson authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    d1cea32 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. Configuration menu
    Copy the full SHA
    f13e9f9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #63 from E-ARK-Software/maint/pydantic-range

    FIX: Expand Pydantic dependency versions.
    carlwilson authored Sep 2, 2024
    Configuration menu
    Copy the full SHA
    34343eb View commit details
    Browse the repository at this point in the history