-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Adjust zbmath fetcher #7298
Adjust zbmath fetcher #7298
Conversation
Looks already good so far, I think the only difference is now that the search returns more than one entry: org.jabref.logic.importer.fetcher.ZbMATHTest Test searchByQueryFindsEntry() FAILED |
I think this failure is not due to my changes. The searchByQueryFindsEntry() tests the zbmath SearchBasedParserFetcher implementation that I have not changed. This test was disabled on CIServer and I enabled it because no subscribtion to zbMATH is needed anymore. I think the FAILED test was just not visible before. The problem here is that the search query |
I think this problem comes from the recent improvements to support complex queries. The The test should be changed either way to search by say using the title and author, to better reflect how a user would work with the fetcher. These things are not really related to this PR though, so they can also be done in a follow-up PR! |
Thank you for the information. Back to this PR: I added a test called searchByIdFindsEntry() at org.jabref.logic.importer.fetcher.ZbMATHTest to test the implementation of the IdBasedParserFetcher. When I look at the logs of Fetcher Test, then this test does not appear, thus I guess that it was successful. |
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.
I agree, this is not really related to this PR.
Codewise this looks good to me. Please improve the changelog entry a bit, then this is ready to go from my side. Thanks again!
CHANGELOG.md
Outdated
@@ -11,6 +11,7 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve | |||
|
|||
### Added | |||
|
|||
- We implemented an IdBasedParserFetcher for zbmath. |
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.
The changelog is mostly for our users. Could you thus provide a more "understandable" explanation. Thanks!
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.
I changed the changelog.
Thanks a lot for your contribution! That will be very useful for users in that field of research. |
…dtask * upstream/master: Adjust zbmath fetcher (#7298) Add "acm-siggraph.csl" required by CitationStyle.java Added Keyboard shortcuts (clear/set read status) (#7302) Add special fields ADR (#7300) Overwrite local copies Squashed 'buildres/csl/csl-locales/' content from commit ecb8e70233 Squashed 'buildres/csl/csl-styles/' content from commit 737ffa1 Adapt workflow and build.gradle Move CSL to buildres/csl to speedup "processResources" during development
* upstream/master: (34 commits) Fixed exception about missing custom css file (#7292) Update the templates for opening a new issue (#7321) Entitlements file Mac (#7317) Make CONTRIBUTING.md much shorter. Move long text to docs/contributing.md (#7293) Include Github-optimized screenshot into repository (#7318) Remove obsolete registry patch file (#7316) Fix AUTHORS GitBook: [master] one page modified Remove broken Sonarqube integration (#7315) GitBook: [master] 5 pages and 32 assets modified docs: update license year (#7314) Add javafx version number + update javafx (#7312) Add missing authors Adjust zbmath fetcher (#7298) Add "acm-siggraph.csl" required by CitationStyle.java Added Keyboard shortcuts (clear/set read status) (#7302) Add special fields ADR (#7300) Overwrite local copies Squashed 'buildres/csl/csl-locales/' content from commit ecb8e70233 Squashed 'buildres/csl/csl-styles/' content from commit 737ffa1 ...
I implemented an IdBasedParserFetcher for the zbMATH fetcher [#7202].
fixes #7202
Running tests with gradle does not work locally on my computer, thus I create a draft pull request to run the tests. As I only changed the zbMATH fetcher, only zbMATHTest.java should be affected