-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-24297 release scripts should be able to use an existing project clone #1725
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
|
@mattf-apache mind taking a look? |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
saintstack
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.
This is a new feature w/ nice cleanup of git reference. We want to be able to specify the git repo to speed stuff up?
Thanks Sean.
ndimiduk
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.
+1 from me. some comment about maybe simplifying url sniffing. nice addition :)
|
I think this last push has the nits you mentioned cleaned up @ndimiduk. Y'all let me know if you want to review things more. Otherwise I'll merge when I get some time this weekend. |
| if [ -z "${PROJECT}" ] || [ "${PROJECT}" != "${PROJECT#/}" ]; then | ||
| error "Project name must be defined and not start with a '/'. PROJECT='${PROJECT}'" | ||
| fi | ||
| rm -rf "${PROJECT}" |
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.
I am a bit nervous here about malformed project names like "../.."
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
Adds the ability to specify the remote git repo for the release scripts, including a local clone.
-r [repo]arg