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

Add empty dataloader CLI and core sub projects #1726

Merged
merged 6 commits into from
May 16, 2024

Conversation

ypeckstadt
Copy link
Contributor

Description

To start the migration of moving the Data Loader code to the main repository, we first need to have two new subprojects in the repository. A data loader CLI and core subproject. This PR adds these subprojects.

Related issues and/or PRs

NA

Changes made

  • Added data loader folder with sub folders for the CLI and core subprojects
  • Added both projects to the settings.gradle file
  • Added the based code for the DataLoaderCLI tool with two empty commands: Import and Export
  • Added the build.gradle files for each project.

Checklist

The following is a best-effort checklist. If any items in this checklist are not applicable to this PR or are dependent on other, unmerged PRs, please still mark the checkboxes after you have read and understood each item.

  • I have commented my code, particularly in hard-to-understand areas.
  • I have updated the documentation to reflect the changes.
  • Any remaining open issues linked to this PR are documented and up-to-date (Jira, GitHub, etc.).
  • Tests (unit, integration, etc.) have been added for the changes.
  • My changes generate no new warnings.
  • Any dependent changes in other PRs have been merged and published.

Additional notes (optional)

I have not added the maven publish and signature code yet in the build.gradle files. I assume it will be a copy of the schema-loader build.gradle file. However, for now, it's better to not add it yet to avoid any publish risks. Will add it via another PR in the future.

Release notes

NA

@ypeckstadt ypeckstadt self-assigned this May 14, 2024
Copy link
Contributor

@Torch3333 Torch3333 left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!
I just left a minor comment.

spotbugsTest.reports {
html.enabled = true
}
spotbugsTest.excludeFilter = file("${project.rootDir}/gradle/spotbugs-exclude.xml")
Copy link
Contributor

@Torch3333 Torch3333 May 14, 2024

Choose a reason for hiding this comment

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

It's minor but can you add an empty line at the end of the file?

@brfrn169 brfrn169 added the enhancement New feature or request label May 14, 2024
Copy link
Collaborator

@brfrn169 brfrn169 left a comment

Choose a reason for hiding this comment

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

LGTM other than what @Torch3333 pointed out. Thank you!

@ypeckstadt
Copy link
Contributor Author

@brfrn169 It seems some of the tests are failing but does not really seem related to the content of my PR. Is there something specific I need to be carefull of when pushing content to this repo to avoid this? (unless it actually is caused by my added changes of course.)

@brfrn169
Copy link
Collaborator

@ypeckstadt I re-ran the failed tests, and they were successful. It looks like it's a timing issue.

Should we review this again?

@ypeckstadt
Copy link
Contributor Author

@brfrn169 Thank you. I think it's ok to merge. The only new thing I added, after the talk on Slack, is the build.gradle file in the dataloader folder that defines the group name, avoiding the issues with the duplicatecore named subprojects when including them.

@ypeckstadt
Copy link
Contributor Author

@brfrn169 Just to double check, would it be ok for me to merge after everything is approved and the checks pass? Or better to leave that up to you or Vincent?

@brfrn169
Copy link
Collaborator

@ypeckstadt You can merge after everything is approved and the checks pass.

@ypeckstadt ypeckstadt merged commit 412b1f3 into master May 16, 2024
23 checks passed
@ypeckstadt ypeckstadt deleted the feat/dataloader-core-base branch May 16, 2024 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants