Skip to content

[WIP] Fix database sync#11879

Draft
koppor wants to merge 62 commits intomainfrom
fix-sync
Draft

[WIP] Fix database sync#11879
koppor wants to merge 62 commits intomainfrom
fix-sync

Conversation

@koppor
Copy link
Copy Markdown
Member

@koppor koppor commented Oct 3, 2024

Improves the NOTIFY and LISTEN for PostgreSQL database (to get content)

Removes MySQL/MariaDB and Oracle support (due to high maintenance effort).

Open points:

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.

koppor and others added 10 commits October 3, 2024 22:22
Co-authored-by: Christoph <siedlerkiller@gmail.com>
Co-authored-by: Christoph <siedlerkiller@gmail.com>
Co-authored-by: Christoph <siedlerkiller@gmail.com>
Co-authored-by: Christoph <siedlerkiller@gmail.com>
Co-authored-by: Christoph <siedlerkiller@gmail.com>
Co-authored-by: Christoph <siedlerkiller@gmail.com>
Co-authored-by: Christoph <siedlerkiller@gmail.com>
Co-authored-by: Christoph <siedlerkiller@gmail.com>
Co-authored-by: Christoph <siedlerkiller@gmail.com>
@koppor koppor added this to the 6.0-beta milestone Oct 3, 2024
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Your code currently does not meet JabRef's code guidelines.
We use Checkstyle to identify issues.
The tool reviewdog already placed comments on GitHub to indicate the places. See the tab "Files" in you PR.
Please carefully follow the setup guide for the codestyle.
Afterwards, please run checkstyle locally and fix the issues.

You can check review dog's comments at the tab "Files changed" of your pull request.

Copy link
Copy Markdown
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

You modified Markdown (*.md) files and did not meet JabRef's rules for consistently formatted Markdown files.
To ensure consistent styling, we have markdown-lint in place.
Markdown lint's rules help to keep our Markdown files consistent within this repository and consistent with the Markdown files outside here.

You can check the detailed error output by navigating to your pull request, selecting the tab "Checks", section "Tests" (on the left), subsection "Markdown".

String bibEntryId,
String field,
String oldValue,
String newValue) {}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck> reported by reviewdog 🐶
'{' is not followed by whitespace.

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

import org.jabref.model.entry.event.FieldChangedEvent;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck> reported by reviewdog 🐶
Wrong order for 'org.jabref.model.entry.event.FieldChangedEvent' import.

import com.google.gson.GsonBuilder;

import org.jabref.model.entry.event.FieldChangedEvent;
import org.postgresql.PGConnection;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck> reported by reviewdog 🐶
'org.postgresql.PGConnection' should be separated from previous imports.

github-actions[bot]

This comment was marked as outdated.

github-actions[bot]

This comment was marked as outdated.

github-actions[bot]

This comment was marked as outdated.

# Conflicts:
#	build.gradle
#	src/main/java/module-info.java
#	src/main/java/org/jabref/logic/shared/notifications/NotificationListener.java
@koppor koppor self-assigned this Nov 11, 2024
@koppor koppor mentioned this pull request Feb 16, 2025
5 tasks
# Conflicts:
#	build.gradle
#	src/main/java/org/jabref/logic/shared/notifications/NotificationListener.java
#	src/main/java/org/jabref/model/entry/event/FieldChangedEvent.java
@github-actions
Copy link
Copy Markdown
Contributor

The build of this PR is available at https://builds.jabref.org/pull/11879/merge.

@InAnYan
Copy link
Copy Markdown
Member

InAnYan commented Dec 29, 2025

I think I'll convert to draft, as there is a lot of work to be done

@InAnYan InAnYan marked this pull request as draft December 29, 2025 14:36
@github-actions github-actions bot added the status: changes-required Pull requests that are not yet complete label Jan 28, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Your pull request conflicts with the target branch.

Please merge with your code. For a step-by-step guide to resolve merge conflicts, see https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/addressing-merge-conflicts/resolving-a-merge-conflict-using-the-command-line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants