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

Remediated sh headings #30

Merged
merged 6 commits into from
Aug 26, 2024
Merged

Remediated sh headings #30

merged 6 commits into from
Aug 26, 2024

Conversation

niquerio
Copy link
Contributor

@niquerio niquerio commented Jul 26, 2024

This PR adds logic for incorporating remediated Library of Congress Subject Headings into Subject Browse.

The Remediate Headings MARC metadata is pulled from Alma and saved to a file in the repository.

When setting up the authority graph database, this heading info is looked through and the terms and cross references are added to the database. A new "see instead" xref is added for deprecated terms.

Also chore: add .sql to gitignore
* linting
* remove hard-coded path
* fixed order of env var files in compose.yaml
* adds explict setting of db config in spec helper
* adds solrcloud checker in services
Adds method for generating the conf/remediated_subjects.xml file. It
pulls the records from Alma and writes them to that conf file. In the
browse cli, the method `subjects generate_remediated_authorities_file`
is added that configuration pulling and updating.

A github action is added to call the `browse subjects
generate_remediate_authorities_file` cli command and generate a PR if
the content of the file has changed.
@niquerio niquerio marked this pull request as ready for review August 19, 2024 18:59
@niquerio niquerio merged commit ece432f into main Aug 26, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant