-
Notifications
You must be signed in to change notification settings - Fork 10
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
bring in and enforce inclusive language cops #3544
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. A few minor suggestions.
README.md
Outdated
@@ -79,7 +79,7 @@ Some alternatives is you may also use the `localhost` top level domain (e.g: you | |||
# UAT Environment | |||
|
|||
The UAT server is accessible on all library staff workstation, and through VPN on any external IP address. More details regarding access and deployment can be found: | |||
[Jupiter UAT Setup](https://github.com/ualbertalib/di_internal/blob/master/System-Adminstration/UAT/UAT-Environment.md) | |||
[Jupiter UAT Setup](https://github.com/ualbertalib/di_internal/blob/master/System-Administration/UAT/UAT-Environment.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update to new repository name this instance and on L282?
[Jupiter UAT Setup](https://github.com/ualbertalib/di_internal/blob/master/System-Administration/UAT/UAT-Environment.md) | |
[Jupiter UAT Setup](https://github.com/ualbertalib/library_applications_development/blob/main/System-Administration/UAT/UAT-Environment.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
app/models/jupiter_core/search.rb
Outdated
@@ -1,6 +1,6 @@ | |||
class JupiterCore::Search | |||
|
|||
# How dumb is this? Seems pretty dumb, but that's the official recommendation I guess: | |||
# How unintelligent is this? Seems pretty unintelligent, but that's the official recommendation I guess: | |||
# https://wiki.apache.org/solr/CommonQueryParameters |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Original URL is no longer active for the older version of Solr. Suggestion, the IA version?
# https://wiki.apache.org/solr/CommonQueryParameters | |
# https://web.archive.org/web/20190405125211/https://wiki.apache.org/solr/CommonQueryParameters |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch and suggestion of leveraging IA 👍
bin/predeploy
Outdated
@@ -2,15 +2,15 @@ | |||
|
|||
# This script will be sitting in /home/deploy directory, and is for setting up directories and pulling required files for docker deployment | |||
# This script should be either rsynced or copied to the UAT server when setting up fresh server. | |||
# For more information, please see the documentation: https://github.com/ualbertalib/di_internal/blob/master/System-Adminstration/UAT-Environment.md | |||
# For more information, please see the documentation: https://github.com/ualbertalib/di_internal/blob/master/System-Administration/UAT-Environment.md |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# For more information, please see the documentation: https://github.com/ualbertalib/di_internal/blob/master/System-Administration/UAT-Environment.md | |
# For more information, please see the documentation: (https://github.com/ualbertalib/library_applications_development/blob/main/System-Administration/UAT/UAT-Environment.md> |
app/models/jupiter_core/search.rb
Outdated
@@ -1,6 +1,6 @@ | |||
class JupiterCore::Search | |||
|
|||
# How dumb is this? Seems pretty dumb, but that's the official recommendation I guess: | |||
# How unintelligent is this? Seems pretty unintelligent, but that's the official recommendation I guess: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My personal preference, remove the commentary, something like the following. Feel free to ignore this suggestion.
# How unintelligent is this? Seems pretty unintelligent, but that's the official recommendation I guess: | |
# official recommendation to return all results in a single page: set to number higher than possible number of results |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, agreed. Remove the rant and just clean this up 😄
.rubocop.yml
Outdated
# TODO: update reference once merged. | ||
inherit_from: | ||
- https://raw.githubusercontent.com/ualbertalib/library_applications_development_inclusive_language/cds/initial-commit/inclusive_language_rubocop.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leaving a comment at the "TODO"
Updated with feedback. Once this is merged dependabot should work as expected (#3543 (comment)) because of this change: jupiter/.github/dependabot.yml Line 10 in 10414f4
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
https://github.com/ualbertalib/library_applications_development/issues/100