Skip to content

Add DOI integrity check#2327

Merged
simonharrer merged 6 commits into
masterfrom
add-doi-integrity-check
Dec 1, 2016
Merged

Add DOI integrity check#2327
simonharrer merged 6 commits into
masterfrom
add-doi-integrity-check

Conversation

@simonharrer

@simonharrer simonharrer commented Dec 1, 2016

Copy link
Copy Markdown
Contributor

Refs #1445

Adds an integrity check to determine whether we can handle the content in the DOI field of a bib entry.

  • Change in CHANGELOG.md described
  • Tests created for changes
  • Manually tested changed features in running JabRef
  • If you changed the localization: Did you run gradle localizationUpdate?

@Siedlerchr

Copy link
Copy Markdown
Member

I have some valid DOIs, which look a bit weird, maybe you could add a test for them:

10.17487/rfc1436
10.1002/(SICI)1097-4571(199205)43:4<284::AID-ASI3>3.0.CO;2-0

@simonharrer simonharrer added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Dec 1, 2016
@matthiasgeiger

Copy link
Copy Markdown
Member

I don't think the additional tests proposed by @Siedlerchr are necessary here. They are more tests of the DOI implementation and not tests of the integrity checker. (the second DOI is even already a testcase in https://github.com/JabRef/jabref/blob/master/src/test/java/net/sf/jabref/logic/util/DOITest.java).

Apart from that: LGTM

@stefan-kolb stefan-kolb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sorry but please focus on your diss! (l)

@simonharrer simonharrer merged commit 736db70 into master Dec 1, 2016
@matthiasgeiger matthiasgeiger deleted the add-doi-integrity-check branch December 1, 2016 20:14
Siedlerchr added a commit that referenced this pull request Dec 2, 2016
* upstream/master:
  Ignore failing test
  Replace usage of Threads and priorities with thread pool (#2304)
  Class variable declarations and method declarations are now separated by one line
  Disable joining of wrapped lines
  Installer Code Signing #1879 (#2320)
  Add bibtex key deviation check (#2328)
  Update mockito-core (2.2.21 -> 2.2.26) and wiremock (2.3.1 -> 2.4.1)
  Fix opening of preference dialog with Java 9 (#2329)
  Add longer explanation for ID-based entry generation. (#2330)
  Add DOI integrity check (#2327)
  New strings translated (#2325)
  Fix exporting via commandline in no gui mode (#2316)
  Cleanup EMACS code (#2317)
  Update mockito-core from 2.2.15 to 2.2.21
  Fix typo in comment
  Updated JabRef_tr.properties (#2315)

# Conflicts:
#	CHANGELOG.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants