Skip to content

Readd import/export preferences functionality to CLI#14492

Merged
koppor merged 7 commits into
mainfrom
fix-cli-import-prefs
Dec 1, 2025
Merged

Readd import/export preferences functionality to CLI#14492
koppor merged 7 commits into
mainfrom
fix-cli-import-prefs

Conversation

@calixtus

@calixtus calixtus commented Dec 1, 2025

Copy link
Copy Markdown
Member

Fixes #14490

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

Steps to test

Run with arguments "-x" for export of preferences and "-p" to import preferences from an xml file.

Mandatory checks

  • I own the copyright of the code submitted and I license it under the MIT license
  • I manually tested my changes in running JabRef (always required)
  • [.] I added JUnit tests for changes (if applicable)
  • [.] I added screenshots in the PR description (if change is visible to the user)
  • I described the change in CHANGELOG.md in a way that is understandable for the average user (if change is visible to the user)
  • [.] I checked the user 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 updating file(s) in https://github.com/JabRef/user-documentation/tree/main/en.

@calixtus calixtus added component: preferences status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers labels Dec 1, 2025
@koppor koppor enabled auto-merge December 1, 2025 21:53
@koppor koppor added this pull request to the merge queue Dec 1, 2025
Merged via the queue into main with commit 7241bd2 Dec 1, 2025
53 checks passed
@koppor koppor deleted the fix-cli-import-prefs branch December 1, 2025 23:18
@wujastyk

wujastyk commented Dec 2, 2025

Copy link
Copy Markdown

JabRef 6.0-alpha.254--2025-12-01--9331991
Linux 6.14.0-36-generic amd64
Java 24.0.2
JavaFX 25.0.1+3

I pulled today's updated development build, and with jabref.xml in place Jabref loaded just fine.

shubhamk0205 pushed a commit to shubhamk0205/jabref that referenced this pull request Dec 3, 2025
* Add import/export preferences functionality to CLI

* CHANGELOG.md

* l10n

* Fix trailing space

* Fix occasional npe on startup and remove superfluous variable

* Fix l10n

---------

Co-authored-by: Carl Christian Snethlage <calixtus@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: preferences 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.

NPE with preferences xml in root directory

3 participants