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 MariaDB 10.3.7 for Linux, Windows and MacOS #229

Closed
wants to merge 2 commits into from

Conversation

jtmuhone
Copy link
Contributor

@jtmuhone jtmuhone commented Mar 8, 2019

Added MariaDB 10.3.7 for Linux, Windows and MacOS.
Also fixed compilation issues with Windows: test for datadir with space failed and maven plugin test couldn't find a proper timezone.
Linux and Windows binaries have been downloaded from official MariaDB site. MacOS binaries have been compiled from source on MacOS 11.2.6 Sierra VirtualBox machine.
PR has been tested on Ubuntu Linux 18.04.1, Window 10 VirtualBox machine, MacOS 11.2.6 VirtualBox machine, MacOs 11.3 on MacBook Pro and Windows 10 Enterprise 1803 on Lenovo T460s.

@vorburger
Copy link
Collaborator

vorburger commented Mar 9, 2019

@jtmuhone cool! Thanks a lot for your contribution.

Windows: test for datadir with space failed

This will be appreciated by a number of people (e.g. #58, #137, #179, #108).

I don't want to be a pain and am grateful for your contribution and willing to merge it as is, but if you had a moment to raise the Windows related fixes as a separate PR from the new 10.3.7 binary versions, I think that would be cool, as it would let people cherry-pick that separately. If you don't have time for that, no problem.

FYI #230 raises an interesting idea about not including binaries in this Git repo anymore. I don't suppose you would have any interest in working together with @srbala to do it like that here?

Copy link
Contributor

@srbala srbala left a comment

Choose a reason for hiding this comment

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

Looks good

srbala
srbala previously approved these changes Mar 9, 2019
@qinghui-xu
Copy link

Thx!

@srbala
Copy link
Contributor

srbala commented Mar 9, 2019

@jtmuhone I have tried your changes in local fails on mvn clean package. Initially tried you changes in to a separate branch https://github.com/srbala/MariaDB4j/commits/pr-229 and even tried direct clone from your repository https://github.com/jtmuhone/MariaDB4j both attempts failed

[INFO] mariaDB4j (all-in-one artifact) .................... FAILURE [ 0.731 s]
[ERROR] Failed to execute goal on project mariaDB4j: Could not resolve dependencies for project ch.vorburger.mariaDB4j:mariaDB4j:jar:2.4.1-SNAPSHOT: The following artifacts could not be resolved: ch.vorburger.mariaDB4j:mariaDB4j-db-linux64:jar:10.3.7, ch.vorburger.mariaDB4j:mariaDB4j-db-win32:jar:10.3.7, ch.vorburger.mariaDB4j:mariaDB4j-db-mac64:jar:10.3.7: Could not find artifact ch.vorburger.mariaDB4j:mariaDB4j-db-linux64:jar:10.3.7 in central

`
Maven command build.log

$ java -version
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
`

@vorburger
Copy link
Collaborator

vorburger commented Mar 10, 2019 via email

@srbala
Copy link
Contributor

srbala commented Mar 10, 2019

@vorburger Thanks for tip. Now I am able to package it. Good to go.

I have started working to implement DL and unpack, I'll send you a PR soon

@jtmuhone
Copy link
Contributor Author

I made a rebase on top of upstream/master and a force push.

@vorburger
Copy link
Collaborator

I made a rebase on top of upstream/master and a force push.

@jtmuhone I'll merge the Windows related fixes ASAP, watch #234; again, a very big Thank You!

Re. the new MariaDB 10.3.7 binaries, hope you're OK if we wait to first see #230.

@srbala
Copy link
Contributor

srbala commented Mar 13, 2019

@srbala
Copy link
Contributor

srbala commented Mar 14, 2019

@jtmuhone created new PR #235, can replace this PR, please review

@vorburger
Copy link
Collaborator

@jtmuhone with #235 finally merged (again, really sorry for the long delay), do you want to close this one now? Or were there things in the PR which you think still would have value to apply now? Specifically, I noticed only now that you had included some changes to DB.java which appear to be related to Windows support, and not directly to the rest of this PR, which perhaps would still be valuable to raise as a separate new PR - would you be willing to contribute that? Perhaps that will actually help for #137 / #58 / #179 ... ?

@vorburger
Copy link
Collaborator

you had included some changes to DB.java which appear to be related to Windows support, and not directly to the rest of this PR, which perhaps would still be valuable to raise as a separate new PR - would you be willing to contribute that? Perhaps that will actually help for #137 / #58 / #179 ... ?

I totally forgot that change was already earlier in #234.

From my side, I therefore think this PR can/should be closed - no objection from you @jtmuhone?

Again, thanks a lot for contributing! Hope this isn't discouraging. New PRs are very very welcome!

@vorburger vorburger closed this Sep 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants