-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[Scala][client] Rename script, sample folder, template dir #334
Conversation
This would be a breaking change, so I think it would have to get merged into the 4.x branch. |
@jimschubert: we definitively needs to write the rule for breaking change. If I quote you:
I do not think that the location of the sample dir Location of the samples (output dir in the For me it can be made even for in a weekly release (on (I did not verify this change in detail) Why are the CI jobs failing? |
Let me clarify why I think it would be a breaking change. If someone created a jar, extending any of these modified classes but relying on the old template locations, their modified classes would break. Remember, users can pass a fully qualified type as Without telemetry, we're only guessing if that's even being used. It's true that this wouldn't break built-in generators with or without custom templates. If we want to make an exception about the pre-built extensions, I'm cool with that. I would imagine that anyone compiling Scala from a pre-built extension would see the error and immediately know how to resolve it, so it's likely not a huge deal in this case. |
The CI failures are due to change of the folder name. I'll fix it shortly to push to |
The shippable build failure below has nothing to do with this change:
I'll look into that separately instead if the issue also occurs with master. |
PR checklist
./bin/
to update Petstore sample so that CIs can verify the change. (For instance, only need to run./bin/{LANG}-petstore.sh
and./bin/security/{LANG}-petstore.sh
if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in.\bin\windows\
.master
,3.1.x
,4.0.x
. Default:master
.Description of the PR
Related issue: Adjust the names (script, sample folder, generator) to lang option · Issue #138
This PR adjusts the names (script, sample folder, template dir) to lang option (
scala-akka
scala-httpclient
) to avoid users/contributors be confused.Server generator improvement will proceeded in another PR.