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

bring in and enforce inclusive language cops #3544

Merged
merged 4 commits into from
Aug 23, 2024

Conversation

ConnorSheremeta
Copy link
Contributor

@ConnorSheremeta ConnorSheremeta commented Aug 21, 2024

Copy link
Contributor

@jefferya jefferya 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. 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)
Copy link
Contributor

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?

Suggested change
[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)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch!

@@ -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
Copy link
Contributor

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?

Suggested change
# https://wiki.apache.org/solr/CommonQueryParameters
# https://web.archive.org/web/20190405125211/https://wiki.apache.org/solr/CommonQueryParameters

Copy link
Contributor Author

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
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# 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>

@@ -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:
Copy link
Contributor

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.

Suggested change
# 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

Copy link
Contributor

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
Comment on lines 11 to 13
# TODO: update reference once merged.
inherit_from:
- https://raw.githubusercontent.com/ualbertalib/library_applications_development_inclusive_language/cds/initial-commit/inclusive_language_rubocop.yml
Copy link
Contributor

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"

@ConnorSheremeta
Copy link
Contributor Author

ConnorSheremeta commented Aug 23, 2024

Updated with feedback. Once this is merged dependabot should work as expected (#3543 (comment)) because of this change:

target-branch: main

Copy link
Contributor

@jefferya jefferya left a comment

Choose a reason for hiding this comment

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

LGTM!

@ConnorSheremeta ConnorSheremeta merged commit 0663b4f into main Aug 23, 2024
4 checks passed
@ConnorSheremeta ConnorSheremeta deleted the cds/inclusive-language branch August 23, 2024 23:28
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.

3 participants