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

#DIGREPO-935: Process Merritt Atom Feed to ingest ETDs #184

Open
wants to merge 35 commits into
base: master
Choose a base branch
from

Conversation

supsrinivas
Copy link
Contributor

Summary

Begin consuming the feed through an import task.
Capture paginated feed log in Merritt::Feed.
Capture feed entries(ETDs) in Merritt::Etd.
Do not see a need for capturing merritt feed log in db.
Add check for etd collection.
Add module to ingest Etd.
Update Proquest::Xml to extract ETD metadata sttributes
Use iso639 gem to convert language from iso639_1 to iso639_2.
…c failure that was a side effect of turning off VCR cassettes
Copy link

@hound hound bot left a comment

Choose a reason for hiding this comment

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

Some files could not be reviewed due to errors:

Warning: unrecognized cop Lint/SafeNavigationConsistency found in /home/linte...
Warning: unrecognized cop Lint/SafeNavigationConsistency found in /home/linters/app/.rubocop.yml
Warning: unrecognized cop Rails/ReflectionClassName found in /home/linters/app/.rubocop.yml
Warning: unrecognized parameter Rails/SkipsModelValidations:Whitelist found in /home/linters/app/.rubocop.yml
An error occurred while Rails/HttpStatus cop was inspecting app/controllers/catalog_controller.rb:26:4.
To see the complete backtrace run rubocop -d.
An error occurred while Rails/HttpStatus cop was inspecting app/controllers/catalog_controller.rb:33:4.

2 errors occurred:
Errors are usually caused by RuboCop bugs.
Please, report your problems to RuboCop's issue tracker.
https://github.com/bbatsov/rubocop/issues
Mention the following information in the issue report:
0.54.0 (using Parser 2.5.1.2, running on ruby 2.6.1 x86_64-linux)
Inspecting 1 file
.
1 file inspected, no offenses detected

@dunn
Copy link
Contributor

dunn commented Oct 28, 2019

Could you clean up the commits before we merge?

@supsrinivas
Copy link
Contributor Author

supsrinivas commented Oct 28, 2019

@dunn What do you mean by clean up? Squash the commits into one?

@dunn
Copy link
Contributor

dunn commented Oct 28, 2019

Not all of them, but yeah. I was thinking an interactive rebase to group together commits into chunks that make sense https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History#_changing_multiple

@supsrinivas
Copy link
Contributor Author

@dunn Thanks for the suggestion. The commits make sense to me as they are.

Copy link

@hound hound bot left a comment

Choose a reason for hiding this comment

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

Some files could not be reviewed due to errors:

Warning: unrecognized cop Lint/SafeNavigationConsistency found in /home/linte...
Warning: unrecognized cop Lint/SafeNavigationConsistency found in /home/linters/app/.rubocop.yml
Warning: unrecognized cop Rails/ReflectionClassName found in /home/linters/app/.rubocop.yml
Warning: unrecognized parameter Rails/SkipsModelValidations:Whitelist found in /home/linters/app/.rubocop.yml
An error occurred while Rails/HttpStatus cop was inspecting app/controllers/catalog_controller.rb:26:4.
To see the complete backtrace run rubocop -d.
An error occurred while Rails/HttpStatus cop was inspecting app/controllers/catalog_controller.rb:33:4.

2 errors occurred:
Errors are usually caused by RuboCop bugs.
Please, report your problems to RuboCop's issue tracker.
https://github.com/bbatsov/rubocop/issues
Mention the following information in the issue report:
0.54.0 (using Parser 2.5.1.2, running on ruby 2.6.1 x86_64-linux)
Inspecting 1 file
.
1 file inspected, no offenses detected

Use the right RDF URI syntax for form_of_work
Copy link

@hound hound bot left a comment

Choose a reason for hiding this comment

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

Some files could not be reviewed due to errors:

Warning: unrecognized cop Lint/SafeNavigationConsistency found in /home/linte...
Warning: unrecognized cop Lint/SafeNavigationConsistency found in /home/linters/app/.rubocop.yml
Warning: unrecognized cop Rails/ReflectionClassName found in /home/linters/app/.rubocop.yml
Warning: unrecognized parameter Rails/SkipsModelValidations:Whitelist found in /home/linters/app/.rubocop.yml
An error occurred while Rails/HttpStatus cop was inspecting app/controllers/catalog_controller.rb:26:4.
To see the complete backtrace run rubocop -d.
An error occurred while Rails/HttpStatus cop was inspecting app/controllers/catalog_controller.rb:33:4.

2 errors occurred:
Errors are usually caused by RuboCop bugs.
Please, report your problems to RuboCop's issue tracker.
https://github.com/bbatsov/rubocop/issues
Mention the following information in the issue report:
0.54.0 (using Parser 2.5.1.2, running on ruby 2.6.1 x86_64-linux)
Inspecting 1 file
.
1 file inspected, no offenses detected

Copy link

@hound hound bot left a comment

Choose a reason for hiding this comment

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

Some files could not be reviewed due to errors:

Warning: unrecognized cop Lint/SafeNavigationConsistency found in /home/linte...
Warning: unrecognized cop Lint/SafeNavigationConsistency found in /home/linters/app/.rubocop.yml
Warning: unrecognized cop Rails/ReflectionClassName found in /home/linters/app/.rubocop.yml
Warning: unrecognized parameter Rails/SkipsModelValidations:Whitelist found in /home/linters/app/.rubocop.yml
An error occurred while Rails/HttpStatus cop was inspecting app/controllers/catalog_controller.rb:26:4.
To see the complete backtrace run rubocop -d.
An error occurred while Rails/HttpStatus cop was inspecting app/controllers/catalog_controller.rb:33:4.

2 errors occurred:
Errors are usually caused by RuboCop bugs.
Please, report your problems to RuboCop's issue tracker.
https://github.com/bbatsov/rubocop/issues
Mention the following information in the issue report:
0.54.0 (using Parser 2.5.1.2, running on ruby 2.6.1 x86_64-linux)
Inspecting 1 file
.
1 file inspected, no offenses detected

Copy link

@hound hound bot left a comment

Choose a reason for hiding this comment

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

Some files could not be reviewed due to errors:

Warning: unrecognized cop Lint/SafeNavigationConsistency found in /home/linte...
Warning: unrecognized cop Lint/SafeNavigationConsistency found in /home/linters/app/.rubocop.yml
Warning: unrecognized cop Rails/ReflectionClassName found in /home/linters/app/.rubocop.yml
Warning: unrecognized parameter Rails/SkipsModelValidations:Whitelist found in /home/linters/app/.rubocop.yml
An error occurred while Rails/HttpStatus cop was inspecting app/controllers/catalog_controller.rb:26:4.
To see the complete backtrace run rubocop -d.
An error occurred while Rails/HttpStatus cop was inspecting app/controllers/catalog_controller.rb:33:4.

2 errors occurred:
Errors are usually caused by RuboCop bugs.
Please, report your problems to RuboCop's issue tracker.
https://github.com/bbatsov/rubocop/issues
Mention the following information in the issue report:
0.54.0 (using Parser 2.5.1.2, running on ruby 2.6.1 x86_64-linux)
Inspecting 1 file
.
1 file inspected, no offenses detected

Copy link

@hound hound bot left a comment

Choose a reason for hiding this comment

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

Some files could not be reviewed due to errors:

Warning: unrecognized cop Lint/SafeNavigationConsistency found in /home/linte...
Warning: unrecognized cop Lint/SafeNavigationConsistency found in /home/linters/app/.rubocop.yml
Warning: unrecognized cop Rails/ReflectionClassName found in /home/linters/app/.rubocop.yml
Warning: unrecognized parameter Rails/SkipsModelValidations:Whitelist found in /home/linters/app/.rubocop.yml
An error occurred while Rails/HttpStatus cop was inspecting app/controllers/catalog_controller.rb:26:4.
To see the complete backtrace run rubocop -d.
An error occurred while Rails/HttpStatus cop was inspecting app/controllers/catalog_controller.rb:33:4.

2 errors occurred:
Errors are usually caused by RuboCop bugs.
Please, report your problems to RuboCop's issue tracker.
https://github.com/bbatsov/rubocop/issues
Mention the following information in the issue report:
0.54.0 (using Parser 2.5.1.2, running on ruby 2.6.1 x86_64-linux)
Inspecting 1 file
.
1 file inspected, no offenses detected


it "collects ETD extent" do
expect(metadata_attribs[:extent])
.to eq(["420 pages"])
Copy link

Choose a reason for hiding this comment

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

Layout/MultilineMethodCallIndentation: Use 2 (not 4) spaces for indenting an expression spanning multiple lines.

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