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

Update from develop #41

Merged
merged 23 commits into from
Jan 28, 2025
Merged

Update from develop #41

merged 23 commits into from
Jan 28, 2025

Conversation

da70
Copy link
Contributor

@da70 da70 commented Jan 24, 2025

...to get git/ stuff

da70 and others added 23 commits January 22, 2025 16:39
…age-net-solr

net/solr: enhance explanatory comment
Add multiple scenarios for TestListEADFilesForCommit()
Add defensive programming check if both "from" and "to" file arguments
  are nil. This shouldn't happen, but added a case to the switch that
  returns and "Unknown" action anyway.
Add a pure file-update case to TestListEADFilesForCommit()
Add update case and better error handling to repo-generator script
Update simple-repo.tar.gz with update case
Update comments.
Change single quotes to double quotes in commit messages.
Update simple-repo.tar.gz with new commit message quoting.
  (The single quotes around the EADID value in the delete commit
   message were not making it into the git commit history due to a
   quoting bug in the gen-repo.bash script.)
Change IndexerOperation type from int to string to have more
  descriptive error messages.

Update constant Add, Delete, Unknown values to be strings.

Change multi-error Join delimiter to a "\n" from ";".

Update commit hashes used in TestListEADFilesForCommit() to reflect
  latest state of the simple-repo test fixture.

Add call to teardownRepo() at the beginning of
  TestListEADFilesForCommit() to cleanup any leftovers from
  interrupted test runs.
Add check to see if target repo already exists. If so, exit with warning.
…age-git

DLFA-222: add ListEADFilesForCommit()
…age-git

update ListEADFilesForCommit() to use errors.Join
@da70 da70 merged commit fea1e79 into dlfa-232-go-ead-indexer-package-net-solr Jan 28, 2025
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.

2 participants