Skip to content

Add progess output for consisteny check#13181

Merged
Siedlerchr merged 7 commits into
mainfrom
showProgressBarForConsistency
May 29, 2025
Merged

Add progess output for consisteny check#13181
Siedlerchr merged 7 commits into
mainfrom
showProgressBarForConsistency

Conversation

@Siedlerchr

@Siedlerchr Siedlerchr commented May 28, 2025

Copy link
Copy Markdown
Member

Fixes #12487

grafik

Supersedes #13081

Mandatory checks

  • I own the copyright of the code submitted and I license it under the MIT license
  • Change in CHANGELOG.md described in a way that is understandable for the average user (if change is visible to the user)
  • [/] Tests created for changes (if applicable)
  • Manually tested changed features in running JabRef (always required)
  • Screenshots added in PR description (if change is visible to the user)
  • [/] 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 May 28, 2025
Comment thread jabkit/src/test/java/org/jabref/cli/ArgumentProcessorTest.java Outdated
@Siedlerchr Siedlerchr enabled auto-merge May 28, 2025 22:01
@trag-bot

trag-bot Bot commented May 28, 2025

Copy link
Copy Markdown

@trag-bot didn't find any issues in the code! ✅✨

koppor
koppor previously requested changes May 28, 2025

@koppor koppor 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.

Minor comment on CLI output

other than that: LGTM (did not try the UI)

BibliographyConsistencyCheck consistencyCheck = new BibliographyConsistencyCheck();
BibliographyConsistencyCheck.Result result = consistencyCheck.check(entries);
BibliographyConsistencyCheck.Result result = consistencyCheck.check(entries, (count, total) -> {
System.out.println(Localization.lang("Checking consistency for entry type %0 of %1", count + 1, total));

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.

Should only happen, if --porcelain is NOT active.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

fixed

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.

Forgot to push or is the check somewhere else? 😅

@subhramit subhramit May 30, 2025

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.

Is there a project or todo list on github we can use to type and save pending things that are not "issues" or PRs (for that we have maintainer's focus)? a lot of times follow-up requests in comments can be lost in history

BTW - sorry for premature merge

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.

We collect this in the melting pot to keep the number of boards low 😅

Otherwise, it could be added to "maintainers focus" but it will get lost there maybe 😅

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

forgot to push

@subhramit

Copy link
Copy Markdown
Member

Apart from olly's comment LGTM too

@Siedlerchr Siedlerchr added this pull request to the merge queue May 29, 2025
Merged via the queue into main with commit 50c605c May 29, 2025
2 checks passed
@Siedlerchr Siedlerchr deleted the showProgressBarForConsistency branch May 29, 2025 12:30
@subhramit subhramit restored the showProgressBarForConsistency branch May 29, 2025 14:53
@koppor koppor deleted the showProgressBarForConsistency branch June 13, 2026 02:46
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.

Show progress in GUI for consistency check

3 participants