Delete --lang option#1592
Conversation
017a959 to
7a0a307
Compare
|
I've rebased and changed the base branch to |
According to AppVeyor build there are still Windows script that are using Maybe we should start a new section in migration-guide.adoc (or a new document) with all important changes made in 4.0.0. Removing a flag (even if it was deprecacted for a year) is an important change. |
|
Hmm... I can't find the script contains |
|
cc @OpenAPITools/generator-core-team |
I'm able to find a few |
|
@ackintosh I see two references to First one should also cause the integration tests to fail, the second one is just a comment. There are other instances of the double quoted: single quoted: I also couldn't find reference to typescript-angular, but I don't have access to the appveyor job to see if it's potentially just cached/renamed scripts that aren't cleaned on each build. So it looks like:
|
|
@wing328 that's weird. I run the same grep and I get no results: What grep are you using? Seems the grep Akihito and I are using might be broken. |
If you read/edit |
|
Here is the error log (partial) in AppVeyor: |
|
@wing328 I don't seem to have the v7 scripts locally on this branch: Verified with ripgrep to rule out a grep version issue: Looking at the directory structure on this branch, those files don't exist: https://github.com/OpenAPITools/openapi-generator/tree/344c7fa80bf715755240a2fde897bb144e7f6e44/bin/windows Seems like you may have stale files locally, and those also exist on Appveyor? |
|
I can find it in the latest master: https://github.com/OpenAPITools/openapi-generator/blob/master/bin/windows/typescript-angular-v7-not-provided-in-root-with-npm.bat#L8 (added 3 days ago) Looks like @ackintosh needs to merge the latest master into the branch and update those batch files accordingly. |
|
@wing328 I agree a rebase is in order. Does appveyor automatically do this? I didn't see in appveyor.yml where this would occur, and I don't have access to see the job's configuration. |
|
I think appveyor automatically performs the merge into master so as Shippable as well (which tests the branch as well as the merge with the latest master - which means 2 shippable jobs for each change) |
|
Thanks for the investigation! I understand that I need to merge latest master into this branch.💡 |
|
The tests has passed. ✨ |
PR checklist
./bin/to update Petstore sample so that CIs can verify the change. (For instance, only need to run./bin/{LANG}-petstore.shand./bin/security/{LANG}-petstore.shif 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.4.x,4.0.x. Default:master.Description of the PR
Related issue: #39
Delete
--langoption which is deprecated.