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

ZOOKEEPER-3030 - MAVEN MIGRATION - Step 1.3 - move contrib directories #574

Closed
wants to merge 4 commits into from

Conversation

nkalmar
Copy link
Contributor

@nkalmar nkalmar commented Jul 17, 2018

Move the contrib projects according to new directory structure.
In the PR src/contrib/zkperl/build/check_zk_version.c and .h looks like I removed the file. but everything looks good on my local (I just moved them, did not modify anything). Will investigate further.

DO-NOT-MERGE-YET: Checking if creating the maven structure of directories now will break anything other then the already different directory structure in build/zookeeper-[version]/src/ (I will write an e-mail about this on dev list)

@nkalmar nkalmar changed the title ZOOKEEPER-3030 - MAVEN MIGRATION - move contrib directories ZOOKEEPER-3030 - MAVEN MIGRATION - Step 1.3 - move contrib directories Jul 17, 2018
@nkalmar
Copy link
Contributor Author

nkalmar commented Jul 17, 2018

Found the problem, fixed it with a quick amend commit. The problem was in .gitignore we have build/ and that matched the new directory, and I had to explicitly add them.

@nkalmar nkalmar force-pushed the ZOOKEEPER-3030 branch 4 times, most recently from 966ff41 to 27776ac Compare July 20, 2018 09:13
@nkalmar
Copy link
Contributor Author

nkalmar commented Jul 20, 2018

The problem with that is that it requires a lot of ant change and the final artifact could change. I agree @tamaashu , that was the plan.
I will try to do this with the contrib directory (this PR), and carefully check the end artifacts. I don't think there is much work ant needs here. It was mainly the java server and client part.

@nkalmar
Copy link
Contributor Author

nkalmar commented Jul 20, 2018

So... The problem was that by moving directories from src, ant did not copy them to build/zookeeper-[version]/src/ - now I don't know why it is required here, as it won't be in the jars. I made a script to dif all the filenames in build directory and to diff all the jars (with jar tf output), and the jars do not differ, but the files do.

For example, used to be: build/zookeeper-3.6.0-SNAPSHOT/src/recipes/lock/build.xml
now: build/zookeeper-3.6.0-SNAPSHOT/src/zookeeper-recipes/zookeeper-recipes-lock/build.xml

Again the jar's did not change as packages remained the same!

@nkalmar nkalmar changed the title ZOOKEEPER-3030 - MAVEN MIGRATION - Step 1.3 - move contrib directories DO-NOT-MERGE-YET - ZOOKEEPER-3030 - MAVEN MIGRATION - Step 1.3 - move contrib directories Jul 20, 2018
@nkalmar nkalmar force-pushed the ZOOKEEPER-3030 branch 2 times, most recently from a4b0c53 to 20362e8 Compare July 20, 2018 16:27
@nkalmar nkalmar changed the title DO-NOT-MERGE-YET - ZOOKEEPER-3030 - MAVEN MIGRATION - Step 1.3 - move contrib directories ZOOKEEPER-3030 - MAVEN MIGRATION - Step 1.3 - move contrib directories Jul 24, 2018
@anmolnar
Copy link
Contributor

@nkalmar I think this is good to go as it.
Would you please trigger a build, because it looks hasn't been started for the last commit.

@nkalmar
Copy link
Contributor Author

nkalmar commented Jul 31, 2018

@anmolnar I did an amend commit, it doesn't seem to trigger the build. I also did a normal commit yesterday on my other PR, which also didn't trigger the build. Strange. Maybe I'll closing and re-opening the PR

@nkalmar nkalmar force-pushed the ZOOKEEPER-3030 branch 2 times, most recently from 0e62cfc to b433f35 Compare August 6, 2018 08:34
@nkalmar nkalmar force-pushed the ZOOKEEPER-3030 branch 2 times, most recently from b47379d to c6541cc Compare August 6, 2018 10:36
@anmolnar
Copy link
Contributor

anmolnar commented Aug 6, 2018

Committed to branch-3.5 and master.
Thanks @nkalmar !
Please close this PR and create another one for 3.4

@nkalmar nkalmar closed this Aug 6, 2018
@nkalmar nkalmar reopened this Aug 6, 2018
asfgit pushed a commit that referenced this pull request Aug 7, 2018
Move the contrib projects according to new directory structure.
In the PR src/contrib/zkperl/build/check_zk_version.c and .h looks like I removed the file. but everything looks good on my local (I just moved them, did not modify anything). Will investigate further.

DO-NOT-MERGE-YET: Checking if creating the maven structure of directories now will break anything other then the already different directory structure in build/zookeeper-[version]/src/ (I will write an e-mail about this on dev list)

Author: Norbert Kalmar <nkalmar@yahoo.com>

Reviewers: andor@apache.org

Closes #574 from nkalmar/ZOOKEEPER-3030 and squashes the following commits:

49b7519 [Norbert Kalmar] ZOOKEEPER-3030 create maven dir structure
9f19ab0 [Norbert Kalmar] ZOOKEEPER-3030 fix releaseaudit license missing exclusions
59d9d17 [Norbert Kalmar] ZOOKEEPER-3030 add missing files in dist.dir
165d4dc [Norbert Kalmar] ZOOKEEPER-3030 - MAVEN MIGRATION - move contrib directories

(cherry picked from commit b0df8fe)
Signed-off-by: Andor Molnar <andor@apache.org>
@asfgit asfgit closed this in b0df8fe Aug 7, 2018
maoling pushed a commit to maoling/zookeeper that referenced this pull request Aug 12, 2018
Move the contrib projects according to new directory structure.
In the PR src/contrib/zkperl/build/check_zk_version.c and .h looks like I removed the file. but everything looks good on my local (I just moved them, did not modify anything). Will investigate further.

DO-NOT-MERGE-YET: Checking if creating the maven structure of directories now will break anything other then the already different directory structure in build/zookeeper-[version]/src/ (I will write an e-mail about this on dev list)

Author: Norbert Kalmar <nkalmar@yahoo.com>

Reviewers: andor@apache.org

Closes apache#574 from nkalmar/ZOOKEEPER-3030 and squashes the following commits:

49b7519 [Norbert Kalmar] ZOOKEEPER-3030 create maven dir structure
9f19ab0 [Norbert Kalmar] ZOOKEEPER-3030 fix releaseaudit license missing exclusions
59d9d17 [Norbert Kalmar] ZOOKEEPER-3030 add missing files in dist.dir
165d4dc [Norbert Kalmar] ZOOKEEPER-3030 - MAVEN MIGRATION - move contrib directories
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Sep 3, 2022
Move the contrib projects according to new directory structure.
In the PR src/contrib/zkperl/build/check_zk_version.c and .h looks like I removed the file. but everything looks good on my local (I just moved them, did not modify anything). Will investigate further.

DO-NOT-MERGE-YET: Checking if creating the maven structure of directories now will break anything other then the already different directory structure in build/zookeeper-[version]/src/ (I will write an e-mail about this on dev list)

Author: Norbert Kalmar <nkalmar@yahoo.com>

Reviewers: andor@apache.org

Closes apache#574 from nkalmar/ZOOKEEPER-3030 and squashes the following commits:

49b7519 [Norbert Kalmar] ZOOKEEPER-3030 create maven dir structure
9f19ab0 [Norbert Kalmar] ZOOKEEPER-3030 fix releaseaudit license missing exclusions
59d9d17 [Norbert Kalmar] ZOOKEEPER-3030 add missing files in dist.dir
165d4dc [Norbert Kalmar] ZOOKEEPER-3030 - MAVEN MIGRATION - move contrib directories
@nkalmar nkalmar deleted the ZOOKEEPER-3030 branch October 6, 2022 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants