-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-38569][BUILD] Rename external top level dir to connector
#35874
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
Conversation
external to vendorexternal to vendor top level dir
|
It makes sense to avoid using reserved name for some build systems. Can we create a JIRA ticket for it? |
external to vendor top level direxternal to vendor top level dir
Sure thing. Done. |
|
FYI for more details on how this causes major issues in practice hedronvision/bazel-compile-commands-extractor#30 |
cloud-fan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, can you fix the merge conflcts?
dongjoon-hyun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is big, shall we discuss a little more in the dev mailing list before merging, please?
|
Although |
Thank you Dongjoon. This is my first contribution to |
|
Can one of the admins verify this patch? |
|
@alkis . You are asking a broader upstream breaking restructuring for your specific build system's limitation. Your suggestion might cause another conflicts and headache on another downstream forks. So, please send an email about your intention and share this PR link to dev@spark mailing list first and build a consensus among the other community members. If there is any objections, we need a discussion, don't we? If we agree to rename, the next step is the consensus on new name. From my side, I don't think BTW, although |
|
Thank you Dongjoon. Makes sense. I started a conversation at dev@spark mailing list. |
|
Could you revise the PR title and description according to the PR content? |
external to vendor top level direxternal to connector top level dir
external to connector top level direxternal top level dir to connector
Done. |
|
thanks, merging to master! |
Woohoo, thank you! |
What changes were proposed in this pull request?
Rename the
externaltop level directory toconnector.Why are the changes needed?
externalis a hardwired special name for bazel and this causes all sorts of issues with both native bazel or extensions like bazel-compile-commands-extractor. Spark forks using bazel to build Spark have to go through hoops to make things work if at all.Amongst other things, making the source code browsable through top level
externalsymlink is impossible with a top levelexternaldirectory in the repository.Does this PR introduce any user-facing change?
No.
How was this patch tested?
Ran
./build/mvn -DskipTests clean packageand./dev/run-tests.