-
Notifications
You must be signed in to change notification settings - Fork 59
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
Integrate JetBrains google-app-engine-plugin into Google's plugin #780
Conversation
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. |
@chanseokoh @joaoandremartins @aslo This PR merges the JetBrains GAE plugin into ours. It brings the JetBrains source into our module hierarchy while preserving the git history and attribution. I made the minimal set of changes possible to get all the functionality working side by side (removing conflicts, making modifications where necessary etc.). All of the features provided by the old plugin are integrated into the google-cloud-tools-plugin module or a submodule of it. When a user is running Ultimate Edition, then extra functionality is loaded (provided by the "ultimate" plugin). There currently will be conflicts if running this project in IJ with the old JB plugin enabled. We will handle this in #768. For testing this out its best to manually disable the JB plugin: There are also several other changes that are needed but can be separated into other PRs - deprecation of all usages of the old appcfg sdk, updating local run to use our common lib, etc. I know this PR is pretty massive and tough to review so we can discuss in person if needed. (Note about the branches: I created a new branch called |
As a guide, you can run through the JetBrains tutorial for their plugin and see that it still works with their plugin disabled (since the functionality has been merged in - App Engine standard project wizard, local run/debug, code whitelisting..) - excludes deploy since we have our own separate implementation: https://www.jetbrains.com/help/idea/2016.1/getting-started-with-google-app-engine.html |
Thanks for the link to the tutorial. I'll do some testing. BTW, the build seems failing. |
Yea for some reason some tests are failing on Travis, I'll investigate On Tuesday, July 12, 2016, Chanseok Oh [email protected] wrote:
|
I figured out the test failure problem: some new tests rely on .iml files which were being ignored by .gitignore so I added an exclusion for test data. It should pass now hopefully. |
I noticed that New Project Wizard doesn't really work in CE. (UE seems fine.)
|
Yes you are right. This is currently by design. The features you reference rely on UE functionality. For the local dev server - I would have thought this would work in CE, but since support for AE standard apps rely on UE features this may not be the case. I'll look into this a little more. |
@chanseokoh - I looked into running the local dev server and this also relies on UE. It integrates into IJ's server functionality which is not available in CE. So everything you saw from your last comment is expected. The only thing that is strange is it still lets you create a an app engine standard app from the wizard using Community Edition. We may want to disallow this later and instead only allow creation of a flex template (in a future PR). |
Yeah, disallowing the wizard for standard seems like a good idea for now. (Or, at least adding |
I have played around a bit with creating a new project and running the local dev app server. They are working fine, so that's cool. We should figure out what we will do with the licence header? |
Thanks for checking this out. Do you mean the Jetbrains headers? That's intentional - we plan to keep their attribution (we also have the full git history). |
Ah, yeah. Then it looks good. It is certainly unreasonable to review all of the JetBrains code, so I think we should move on and merge in the code after @joaoandremartins and @aslo also check that basic things are working, shouldn't we? |
Yes, agree. |
I'm currently going through the sample tutorial and some other testing, will let you know if I find anything that needs to be addressed. |
That's great. Thanks. |
I'm experiencing some issues with App Engine deployment. I created issue #786 with some more detail. I'll continue digging into the issue in the meantime. |
Ok, I'm satisfied - as far as I can tell this looks good! |
2c224e6
to
96b557d
Compare
…EA Ultimate to allow creating new app engine projects in CE
…ally used for exception from plugins which vendor is JetBrains
…cause it makes no sense to enter password and don't remember it
…uth authorization (IDEA-140849)
…h stops on first match
…etter padding in general description
move modifiable models provider from maven to external system API for reuse
…BaseDataReader.start() and the like.
…EA Ultimate to allow creating new app engine projects in CE
…SDK' for modules which will remain on Java 6 and older
… default methods instead
…the main 'community' plugin
Fixes #767
Base set of functionality needed to integrate the old plugin into ours to get everything running side by side with passing tests and passing static analysis checks.
More info coming..