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

Ruby, elasticsearch upgrades, and documentation #211

Merged
merged 13 commits into from
Mar 23, 2023
Merged

Conversation

wkdewey
Copy link
Contributor

@wkdewey wkdewey commented Oct 27, 2022

fixes #205

@wkdewey wkdewey changed the base branch from dev to release/v1.0.0 October 27, 2022 16:59
@wkdewey
Copy link
Contributor Author

wkdewey commented Nov 10, 2022

Adds documentation for new changes, closes #208

@wkdewey wkdewey changed the title Ruby3upgrade Ruby, elasticsearch upgrades, and documentation Dec 6, 2022
@wkdewey wkdewey linked an issue Dec 6, 2022 that may be closed by this pull request
@wkdewey wkdewey force-pushed the ruby3upgrade branch 2 times, most recently from dd8d51f to d4a8144 Compare February 28, 2023 17:48
@techgique
Copy link
Member

Force pushed after rebase removing the duplicate commits from #210

Copy link
Member

@techgique techgique left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Merging into the other branch.

CHANGELOG.md Outdated
Comment on lines 37 to 46
- API schema can either be 1.0 or 2.0 (which includes nested fields); 1.0 will be run by default unless 2.0 is specified. Add the following to `public.yml` or `private.yml` in the data repo:
```
api_version: '2.0'
```
- schema validation with API version 2.0, invalidly constructed documents will not post
- authentication with Elasticesarch 8.5; add the following to `public.yml` or `private.yml` in the data repo:
```
es_user: username
es_password: ********
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instructions like these to add / edit config files should be in the Migration section. Otherwise the Migration section looks very thorough 👍 I'll have to edit this file for merge conflicts after I updated the changelog file to fix up the last release though. I'll take care of it during review of the release/v1.0.0 branch which will have the merge conflict.

Comment on lines +42 to +46
if get_list(@xpaths["date"])
datestr = get_list(@xpaths["date"]).first
else
datestr = nil
end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd write this more briefly with a ternary, but no need to change it:

datestr = get_list(@xpaths["date"]) ? get_list(@xpaths["date"]).first : nil

@techgique techgique merged commit f286ab4 into release/v1.0.0 Mar 23, 2023
@techgique techgique deleted the ruby3upgrade branch March 23, 2023 18:23
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.

Documentation for latest release upgrade to Ruby 3
3 participants