Azure / autorest.java

Extension for AutoRest (https://github.com/Azure/autorest) that generates Java code
MIT License
33 stars 82 forks source link

[Android] Setup build pipeline for android-v4 branch #840

Open anuchandy opened 4 years ago

anuchandy commented 4 years ago

@mitchdenny - We're creating an autorest extension for Android, it's a very early stage but would like to get your opinion on the following items:

  1. Being able to build the autorest.java repro in the android-v4 branch.
  2. Publishing the produced autorest plugin module some-where, it may not generate a compilable code at all to start with, but this enables the team to see the emitted code and give some feedback.
  3. Running tests when we have some.
mitchdenny commented 4 years ago

Why would you build the autorest.java repo as part of this pipeline? Isn't the way this normally works that the autorest pipeline runs and generates the files and them submits a PR to a target branch. Couldn't we do the same thing there, except in this case target the android-v4 branch (P.S., probably a good idea to call the branch feature/[something]).

I'm no expert on the autorest code generation stuff though so I might be misunderstanding the way it is meant to work.

anuchandy commented 4 years ago

@mitchdenny thanks for responding, yes we want to do the same that pipeline for master/v4 does. It looks like individual autorest language team is responsible for the build and release pipelines for their autorest generators. I'll try to get something similar to this https://github.com/Azure/autorest.swift/pull/74 for android codegen..