[Koha-bugs] [Bug 13706] Deduping authorities script (dedup_authorities.pl)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 11 23:49:54 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13706

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|                            |This new command line
      release notes|                            |script
                   |                            |(misc/maintenance/dedup_aut
                   |                            |horities.pl) is a tool for
                   |                            |helping to automatically
                   |                            |remove duplicate authority
                   |                            |records.
                   |                            |
                   |                            |Features:
                   |                            |-
                   |                            |Choose a method(s) to
                   |                            |select which authority
                   |                            |record to keep when
                   |                            |duplicates are found.
                   |                            |Methods include:
                   |                            |  . date:
                   |                            |keep the most recent
                   |                            |authority (based on 005
                   |                            |field)
                   |                            |  . used: keep the
                   |                            |most used authority
                   |                            |  .
                   |                            |ppn: PPN (UNIMARC only),
                   |                            |keep the authority with a
                   |                            |ppn (when some authorities
                   |                            |don't have one, based on
                   |                            |009 field)
                   |                            |- Use a SQL
                   |                            |WHERE statement to limit
                   |                            |the authority records
                   |                            |checked for deduplication
                   |                            |-
                   |                            |Check only specified
                   |                            |authority types
                   |                            |- Increase
                   |                            |the level of detail shown
                   |                            |using the --verbose option
                   |                            |- Changes are only made
                   |                            |when the --confirm option
                   |                            |is used
                   |                            |
                   |                            |Examples:
                   |                            |-
                   |                            |Methods - for the
                   |                            |authorities that have a
                   |                            |PPN, keep the most recent,
                   |                            |and if two (or more) have
                   |                            |the same date in 005, keep
                   |                            |the most used: --method ppn
                   |                            |--method date --method used
                   |                            |
                   |                            |- SQL WHERE statement -
                   |                            |only look at records with
                   |                            |an auth_id less than 5,000:
                   |                            |--where="authid < 5000"
                   |                            |-
                   |                            |Limit deduplication to
                   |                            |specific authority types:
                   |                            |--authtypecode PERSO_NAME
                   |                            |
                   |                            |See the script help for the
                   |                            |options available and usage
                   |                            |examples
                   |                            |(misc/maintenance/dedup_aut
                   |                            |horities.pl --help).

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list