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

Do no export file field in XMP #11083

Merged
merged 4 commits into from
Mar 23, 2024
Merged

Do no export file field in XMP #11083

merged 4 commits into from
Mar 23, 2024

Conversation

Siedlerchr
Copy link
Member

@Siedlerchr Siedlerchr commented Mar 23, 2024

Fixes https://github.com/JabRef/jabref-issue-melting-pot/issues/271

Mandatory checks

  • Change in CHANGELOG.md described in a way that is understandable for the average user (if applicable)
  • Tests created for changes (if applicable)
  • Manually tested changed features in running JabRef (always required)
  • Screenshots added in PR description (for UI changes)
  • Checked developer's documentation: Is the information available and up to date? If not, I outlined it in this pull request.
  • Checked documentation: Is the information available and up to date? If not, I created an issue at https://github.com/JabRef/user-documentation/issues or, even better, I submitted a pull request to the documentation repository.

@Siedlerchr Siedlerchr added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Mar 23, 2024
Copy link
Member

@koppor koppor left a comment

Choose a reason for hiding this comment

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

Nice one! Small comments 😅

olly2018.setField(StandardField.OWNER, "me");
olly2018.setField(StandardField.REVIEW, "review");
olly2018.setField(StandardField.URL, "https://www.olly2018.edu");
OLLY_2018.setCitationKey("Olly2018");
Copy link
Member

Choose a reason for hiding this comment

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

Can we do withCitationKey and move the initialization to the variable?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, but moving the initialization to the variable is a bad idea due to how the test works. Due to MethodSources it has to be static and we are setting the vars to the correct values and we are resetting them again.

Copy link
Contributor

github-actions bot commented Mar 23, 2024

The build for this PR is no longer available. Please visit https://builds.jabref.org/main/ for the latest build.

@Siedlerchr Siedlerchr added this pull request to the merge queue Mar 23, 2024
Merged via the queue into main with commit 8d08279 Mar 23, 2024
20 checks passed
@Siedlerchr Siedlerchr deleted the donotWriteXMP branch March 23, 2024 19:52
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.

2 participants