From fb1fd8a31d70d9bf56071c817919abe14093a9ab Mon Sep 17 00:00:00 2001 From: Jakob Voss Date: Fri, 18 Aug 2023 08:10:02 +0200 Subject: [PATCH] Checking in changes prior to tagging of version 1.17. Changelog diff is: diff --git a/Changes b/Changes index 6e3b16f..d115031 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,8 @@ Changelog for Catmandu-PICA {{$NEXT}} + +1.17 2023-08-18T06:06:33Z - Add Fix: pica_append (#82) 1.16 2023-08-11T07:06:23Z --- Changes | 2 ++ META.json | 2 +- README.md | 33 +++++++++++++-------- lib/Catmandu/Exporter/PICA.pm | 2 +- lib/Catmandu/Fix/Bind/pica_diff.pm | 2 +- lib/Catmandu/Fix/Bind/pica_each.pm | 2 +- lib/Catmandu/Fix/Condition/pica_match.pm | 2 +- lib/Catmandu/Fix/pica_add.pm | 2 +- lib/Catmandu/Fix/pica_append.pm | 2 +- lib/Catmandu/Fix/pica_keep.pm | 2 +- lib/Catmandu/Fix/pica_map.pm | 2 +- lib/Catmandu/Fix/pica_occurrence.pm | 2 +- lib/Catmandu/Fix/pica_remove.pm | 2 +- lib/Catmandu/Fix/pica_set.pm | 2 +- lib/Catmandu/Fix/pica_tag.pm | 2 +- lib/Catmandu/Fix/pica_update.pm | 2 +- lib/Catmandu/Importer/PICA.pm | 2 +- lib/Catmandu/Importer/SRU/Parser/picaxml.pm | 2 +- lib/Catmandu/Importer/SRU/Parser/ppxml.pm | 2 +- lib/Catmandu/PICA.pm | 2 +- lib/Catmandu/Validator/PICA.pm | 2 +- 21 files changed, 42 insertions(+), 31 deletions(-) diff --git a/Changes b/Changes index 6e3b16f..d115031 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,8 @@ Changelog for Catmandu-PICA {{$NEXT}} + +1.17 2023-08-18T06:06:33Z - Add Fix: pica_append (#82) 1.16 2023-08-11T07:06:23Z diff --git a/META.json b/META.json index 658c8cc..d780234 100644 --- a/META.json +++ b/META.json @@ -71,7 +71,7 @@ "web" : "https://github.com/gbv/Catmandu-PICA" } }, - "version" : "1.16", + "version" : "1.17", "x_contributors" : [ "Carsten Klee ", "E. Choroba ", diff --git a/README.md b/README.md index 483cb8f..53d01e6 100644 --- a/README.md +++ b/README.md @@ -18,23 +18,32 @@ structure. See [Catmandu::Introduction](https://metacpan.org/pod/Catmandu%3A%3AIntroduction) and [http://librecat.org/Catmandu](http://librecat.org/Catmandu) for an introduction into Catmandu. -# CATMANDU MODULES +# MODULES + +## Read/write PICA - [Catmandu::Exporter::PICA](https://metacpan.org/pod/Catmandu%3A%3AExporter%3A%3APICA) -- [Catmandu::Fix::pica\_map](https://metacpan.org/pod/Catmandu%3A%3AFix%3A%3Apica_map) -- [Catmandu::Fix::pica\_remove](https://metacpan.org/pod/Catmandu%3A%3AFix%3A%3Apica_remove) -- [Catmandu::Fix::pica\_keep](https://metacpan.org/pod/Catmandu%3A%3AFix%3A%3Apica_keep) -- [Catmandu::Fix::pica\_tag](https://metacpan.org/pod/Catmandu%3A%3AFix%3A%3Apica_tag) -- [Catmandu::Fix::pica\_occurrence](https://metacpan.org/pod/Catmandu%3A%3AFix%3A%3Apica_occurrence) -- [Catmandu::Fix::Bind::pica\_each](https://metacpan.org/pod/Catmandu%3A%3AFix%3A%3ABind%3A%3Apica_each) -- [Catmandu::Fix::Bind::pica\_diff](https://metacpan.org/pod/Catmandu%3A%3AFix%3A%3ABind%3A%3Apica_diff) -- [Catmandu::Fix::Condition::pica\_match](https://metacpan.org/pod/Catmandu%3A%3AFix%3A%3ACondition%3A%3Apica_match) -- [Catmandu::Fix::pica\_update](https://metacpan.org/pod/Catmandu%3A%3AFix%3A%3Apica_update) -- [Catmandu::Fix::pica\_add](https://metacpan.org/pod/Catmandu%3A%3AFix%3A%3Apica_add) -- [Catmandu::Fix::pica\_set](https://metacpan.org/pod/Catmandu%3A%3AFix%3A%3Apica_set) - [Catmandu::Importer::PICA](https://metacpan.org/pod/Catmandu%3A%3AImporter%3A%3APICA) - [Catmandu::Importer::SRU::Parser::picaxml](https://metacpan.org/pod/Catmandu%3A%3AImporter%3A%3ASRU%3A%3AParser%3A%3Apicaxml) - [Catmandu::Importer::SRU::Parser::ppxml](https://metacpan.org/pod/Catmandu%3A%3AImporter%3A%3ASRU%3A%3AParser%3A%3Appxml) + +## Fix functions + +- [Catmandu::Fix::pica\_map](https://metacpan.org/pod/Catmandu%3A%3AFix%3A%3Apica_map) copy from PICA values +- [Catmandu::Fix::pica\_keep](https://metacpan.org/pod/Catmandu%3A%3AFix%3A%3Apica_keep) reduce record to selected fields +- [Catmandu::Fix::pica\_remove](https://metacpan.org/pod/Catmandu%3A%3AFix%3A%3Apica_remove) delete (sub)fields +- [Catmandu::Fix::pica\_update](https://metacpan.org/pod/Catmandu%3A%3AFix%3A%3Apica_update) change/add PICA values to fixed strings +- [Catmandu::Fix::pica\_append](https://metacpan.org/pod/Catmandu%3A%3AFix%3A%3Apica_append) parse and append full PICA fields +- [Catmandu::Fix::pica\_set](https://metacpan.org/pod/Catmandu%3A%3AFix%3A%3Apica_set) set PICA values from other fields +- [Catmandu::Fix::pica\_add](https://metacpan.org/pod/Catmandu%3A%3AFix%3A%3Apica_add) add PICA values from other fields +- [Catmandu::Fix::pica\_tag](https://metacpan.org/pod/Catmandu%3A%3AFix%3A%3Apica_tag) set field tag +- [Catmandu::Fix::pica\_occurrence](https://metacpan.org/pod/Catmandu%3A%3AFix%3A%3Apica_occurrence) set field occurrence +- [Catmandu::Fix::Bind::pica\_each](https://metacpan.org/pod/Catmandu%3A%3AFix%3A%3ABind%3A%3Apica_each) process selected fields +- [Catmandu::Fix::Bind::pica\_diff](https://metacpan.org/pod/Catmandu%3A%3AFix%3A%3ABind%3A%3Apica_diff) track changes +- [Catmandu::Fix::Condition::pica\_match](https://metacpan.org/pod/Catmandu%3A%3AFix%3A%3ACondition%3A%3Apica_match) check whether PICA values match a regular expression + +## Validation + - [Catmandu::Validator::PICA](https://metacpan.org/pod/Catmandu%3A%3AValidator%3A%3APICA) # CONTRIBUTORS diff --git a/lib/Catmandu/Exporter/PICA.pm b/lib/Catmandu/Exporter/PICA.pm index 1b6012f..e535844 100644 --- a/lib/Catmandu/Exporter/PICA.pm +++ b/lib/Catmandu/Exporter/PICA.pm @@ -6,7 +6,7 @@ use Catmandu::Sane; use PICA::Data qw(pica_writer); use Moo; -our $VERSION = '1.16'; +our $VERSION = '1.17'; with 'Catmandu::Exporter'; diff --git a/lib/Catmandu/Fix/Bind/pica_diff.pm b/lib/Catmandu/Fix/Bind/pica_diff.pm index 05f6ab4..4140741 100644 --- a/lib/Catmandu/Fix/Bind/pica_diff.pm +++ b/lib/Catmandu/Fix/Bind/pica_diff.pm @@ -1,6 +1,6 @@ package Catmandu::Fix::Bind::pica_diff; -our $VERSION = '1.16'; +our $VERSION = '1.17'; use Moo; use Catmandu::Sane; diff --git a/lib/Catmandu/Fix/Bind/pica_each.pm b/lib/Catmandu/Fix/Bind/pica_each.pm index ec90910..76e5586 100644 --- a/lib/Catmandu/Fix/Bind/pica_each.pm +++ b/lib/Catmandu/Fix/Bind/pica_each.pm @@ -1,6 +1,6 @@ package Catmandu::Fix::Bind::pica_each; -our $VERSION = '1.16'; +our $VERSION = '1.17'; use Moo; use Catmandu::Sane; diff --git a/lib/Catmandu/Fix/Condition/pica_match.pm b/lib/Catmandu/Fix/Condition/pica_match.pm index 0e7d0ab..ce67ec1 100644 --- a/lib/Catmandu/Fix/Condition/pica_match.pm +++ b/lib/Catmandu/Fix/Condition/pica_match.pm @@ -1,6 +1,6 @@ package Catmandu::Fix::Condition::pica_match; -our $VERSION = '1.16'; +our $VERSION = '1.17'; use Catmandu::Sane; use Catmandu::Fix::pica_map; diff --git a/lib/Catmandu/Fix/pica_add.pm b/lib/Catmandu/Fix/pica_add.pm index 783cbd6..2372620 100644 --- a/lib/Catmandu/Fix/pica_add.pm +++ b/lib/Catmandu/Fix/pica_add.pm @@ -2,7 +2,7 @@ package Catmandu::Fix::pica_add; use Catmandu::Sane; -our $VERSION = '1.16'; +our $VERSION = '1.17'; use Moo; use Catmandu::Util::Path qw(as_path); diff --git a/lib/Catmandu/Fix/pica_append.pm b/lib/Catmandu/Fix/pica_append.pm index f62da9e..3ccf638 100644 --- a/lib/Catmandu/Fix/pica_append.pm +++ b/lib/Catmandu/Fix/pica_append.pm @@ -2,7 +2,7 @@ package Catmandu::Fix::pica_append; use Catmandu::Sane; -our $VERSION = '1.16'; +our $VERSION = '1.17'; use Moo; use Catmandu::Fix::Has; diff --git a/lib/Catmandu/Fix/pica_keep.pm b/lib/Catmandu/Fix/pica_keep.pm index 590c64f..a160532 100644 --- a/lib/Catmandu/Fix/pica_keep.pm +++ b/lib/Catmandu/Fix/pica_keep.pm @@ -2,7 +2,7 @@ package Catmandu::Fix::pica_keep; use Catmandu::Sane; -our $VERSION = '1.16'; +our $VERSION = '1.17'; use Moo; use Catmandu::Fix::Has; diff --git a/lib/Catmandu/Fix/pica_map.pm b/lib/Catmandu/Fix/pica_map.pm index 931beab..4ab86e6 100644 --- a/lib/Catmandu/Fix/pica_map.pm +++ b/lib/Catmandu/Fix/pica_map.pm @@ -1,6 +1,6 @@ package Catmandu::Fix::pica_map; -our $VERSION = '1.16'; +our $VERSION = '1.17'; use Catmandu::Sane; use Moo; diff --git a/lib/Catmandu/Fix/pica_occurrence.pm b/lib/Catmandu/Fix/pica_occurrence.pm index d2999ae..f461df8 100644 --- a/lib/Catmandu/Fix/pica_occurrence.pm +++ b/lib/Catmandu/Fix/pica_occurrence.pm @@ -2,7 +2,7 @@ package Catmandu::Fix::pica_occurrence; use Catmandu::Sane; -our $VERSION = '1.16'; +our $VERSION = '1.17'; use Moo; use Catmandu::Fix::Has; diff --git a/lib/Catmandu/Fix/pica_remove.pm b/lib/Catmandu/Fix/pica_remove.pm index 2771590..e4d57df 100644 --- a/lib/Catmandu/Fix/pica_remove.pm +++ b/lib/Catmandu/Fix/pica_remove.pm @@ -2,7 +2,7 @@ package Catmandu::Fix::pica_remove; use Catmandu::Sane; -our $VERSION = '1.16'; +our $VERSION = '1.17'; use Moo; use Catmandu::Fix::Has; diff --git a/lib/Catmandu/Fix/pica_set.pm b/lib/Catmandu/Fix/pica_set.pm index 70f4abd..9eafeee 100644 --- a/lib/Catmandu/Fix/pica_set.pm +++ b/lib/Catmandu/Fix/pica_set.pm @@ -2,7 +2,7 @@ package Catmandu::Fix::pica_set; use Catmandu::Sane; -our $VERSION = '1.16'; +our $VERSION = '1.17'; use Moo; use Catmandu::Util::Path qw(as_path); diff --git a/lib/Catmandu/Fix/pica_tag.pm b/lib/Catmandu/Fix/pica_tag.pm index 0eb3b89..d488a30 100644 --- a/lib/Catmandu/Fix/pica_tag.pm +++ b/lib/Catmandu/Fix/pica_tag.pm @@ -2,7 +2,7 @@ package Catmandu::Fix::pica_tag; use Catmandu::Sane; -our $VERSION = '1.16'; +our $VERSION = '1.17'; use Moo; use Catmandu::Fix::Has; diff --git a/lib/Catmandu/Fix/pica_update.pm b/lib/Catmandu/Fix/pica_update.pm index 9b84796..41f13a5 100644 --- a/lib/Catmandu/Fix/pica_update.pm +++ b/lib/Catmandu/Fix/pica_update.pm @@ -2,7 +2,7 @@ package Catmandu::Fix::pica_update; use Catmandu::Sane; -our $VERSION = '1.16'; +our $VERSION = '1.17'; use Moo; use Catmandu::Fix::Has; diff --git a/lib/Catmandu/Importer/PICA.pm b/lib/Catmandu/Importer/PICA.pm index 6a6becd..3997c86 100644 --- a/lib/Catmandu/Importer/PICA.pm +++ b/lib/Catmandu/Importer/PICA.pm @@ -2,7 +2,7 @@ package Catmandu::Importer::PICA; use strict; use warnings; -our $VERSION = '1.16'; +our $VERSION = '1.17'; use Catmandu::Sane; use PICA::Data qw(pica_parser); diff --git a/lib/Catmandu/Importer/SRU/Parser/picaxml.pm b/lib/Catmandu/Importer/SRU/Parser/picaxml.pm index b3bf911..78b25f4 100644 --- a/lib/Catmandu/Importer/SRU/Parser/picaxml.pm +++ b/lib/Catmandu/Importer/SRU/Parser/picaxml.pm @@ -1,6 +1,6 @@ package Catmandu::Importer::SRU::Parser::picaxml; -our $VERSION = '1.16'; +our $VERSION = '1.17'; use Moo; use PICA::Parser::XML; diff --git a/lib/Catmandu/Importer/SRU/Parser/ppxml.pm b/lib/Catmandu/Importer/SRU/Parser/ppxml.pm index e209c19..8e41dcd 100644 --- a/lib/Catmandu/Importer/SRU/Parser/ppxml.pm +++ b/lib/Catmandu/Importer/SRU/Parser/ppxml.pm @@ -1,6 +1,6 @@ package Catmandu::Importer::SRU::Parser::ppxml; -our $VERSION = '1.16'; +our $VERSION = '1.17'; use Moo; use PICA::Parser::PPXML; diff --git a/lib/Catmandu/PICA.pm b/lib/Catmandu/PICA.pm index e40e211..3bdb84d 100644 --- a/lib/Catmandu/PICA.pm +++ b/lib/Catmandu/PICA.pm @@ -1,6 +1,6 @@ package Catmandu::PICA; -our $VERSION = '1.16'; +our $VERSION = '1.17'; 1; __END__ diff --git a/lib/Catmandu/Validator/PICA.pm b/lib/Catmandu/Validator/PICA.pm index 5b80065..1e7f6a6 100644 --- a/lib/Catmandu/Validator/PICA.pm +++ b/lib/Catmandu/Validator/PICA.pm @@ -4,7 +4,7 @@ use Catmandu::Util qw(:io :is :check); use PICA::Schema; use Moo; -our $VERSION = '1.16'; +our $VERSION = '1.17'; with qw(Catmandu::Validator);