-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add Collection of Comp Sci Bibliographies fetcher #6664
Add Collection of Comp Sci Bibliographies fetcher #6664
Conversation
...java/org/jabref/logic/importer/fetcher/CollectionOfComputerScienceBibliographiesFetcher.java
Outdated
Show resolved
Hide resolved
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.
Thank you for working on this. It is a tough task since JabRef focuses on high code quality AND on high quality of BibTeX entries (as much as work should be done by JabRef automatically; the user should not be forced to spend any time to improve the quality of the BibTeX entries).
Thus, I gave two kinds of comments:
- nitpicks to the code style
- questions to the fetcher logic. Especially, because a) not all fields available are returned and b) dblp offers a BibTeX result (and it was not clear to my why this result is not used).
...java/org/jabref/logic/importer/fetcher/CollectionOfComputerScienceBibliographiesFetcher.java
Show resolved
Hide resolved
...java/org/jabref/logic/importer/fetcher/CollectionOfComputerScienceBibliographiesFetcher.java
Outdated
Show resolved
Hide resolved
.../java/org/jabref/logic/importer/fetcher/CollectionOfComputerScienceBibliographiesParser.java
Outdated
Show resolved
Hide resolved
.../java/org/jabref/logic/importer/fetcher/CollectionOfComputerScienceBibliographiesParser.java
Outdated
Show resolved
Hide resolved
.../org/jabref/logic/importer/fetcher/CollectionOfComputerScienceBibliographiesFetcherTest.java
Outdated
Show resolved
Hide resolved
.../org/jabref/logic/importer/fetcher/CollectionOfComputerScienceBibliographiesFetcherTest.java
Show resolved
Hide resolved
...rter/fetcher/collection_of_computer_science_bibliographies_multiple_results_first_result.bib
Outdated
Show resolved
Hide resolved
...abref/logic/importer/fetcher/collection_of_computer_science_bibliographies_single_result.bib
Outdated
Show resolved
Hide resolved
...abref/logic/importer/fetcher/collection_of_computer_science_bibliographies_single_result.xml
Outdated
Show resolved
Hide resolved
Co-authored-by: Oliver Kopp <kopp.dev@gmail.com>
…es' of https://github.com/daniel-price/jabref into new-fetcher-collection-of-computer-science-bibliographies
…es' of https://github.com/daniel-price/jabref into new-fetcher-collection-of-computer-science-bibliographies
.../org/jabref/logic/importer/fetcher/CollectionOfComputerScienceBibliographiesFetcherTest.java
Outdated
Show resolved
Hide resolved
…es' of https://github.com/daniel-price/jabref into new-fetcher-collection-of-computer-science-bibliographies
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 like the added test.
Unfortunately, it shows that the abstract has some unnecessary whitespace. Could you maybe adress this?
.../org/jabref/logic/importer/fetcher/CollectionOfComputerScienceBibliographiesFetcherTest.java
Outdated
Show resolved
Hide resolved
.../org/jabref/logic/importer/fetcher/CollectionOfComputerScienceBibliographiesFetcherTest.java
Show resolved
Hide resolved
...a/org/jabref/logic/importer/fetcher/CollectionOfComputerScienceBibliographiesParserTest.java
Outdated
Show resolved
Hide resolved
...jabref/logic/importer/fetcher/collection_of_computer_science_bibliographies_empty_result.xml
Show resolved
Hide resolved
...abref/logic/importer/fetcher/collection_of_computer_science_bibliographies_single_result.bib
Show resolved
Hide resolved
…mputerScienceBibliographiesParserTest.java Co-authored-by: Oliver Kopp <kopp.dev@gmail.com>
...ef/logic/importer/fetcher/collection_of_computer_science_bibliographies_multiple_results.xml
Show resolved
Hide resolved
…es' of https://github.com/daniel-price/jabref into new-fetcher-collection-of-computer-science-bibliographies
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.
That was fast - thank you. Little nitpick remaining 😇
src/main/java/org/jabref/logic/formatter/bibtexfields/RemoveTabsFormatter.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jabref/logic/formatter/bibtexfields/RemoveTabsFormatter.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jabref/logic/formatter/bibtexfields/RemoveRedundantSpacesFormatter.java
Show resolved
Hide resolved
src/main/java/org/jabref/logic/formatter/bibtexfields/RemoveRedundantSpacesFormatter.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jabref/logic/formatter/bibtexfields/ReplaceTabsBySpaceFormater.java
Show resolved
Hide resolved
src/main/java/org/jabref/logic/formatter/bibtexfields/ReplaceTabsBySpaceFormater.java
Show resolved
Hide resolved
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 👍. The changes added require second review and thus this PR awaits a second review.
Thanks for your contribution! It would be nice if you could add some short documentation for the new formatters and the new fetcher to the help pages |
Yep I'll add to the documentation! |
Fixes #6638