-
Notifications
You must be signed in to change notification settings - Fork 606
remove APIGen project #924
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
I have created a new PR for this, as it was too difficult to update the old one. There are more changes coming for formatting and stuff (similar to original PR #877), which I'll add as separate commits. |
@bording @danielmarbach @stebet @lukebakken @kjnilsson before I pull the trigger on this, any last minute objections to removing the API generator? The protocol doesn't change often but we do add things to it occasionally. I personally think it'd be a great simplification to the build system and the codebase, so we should do it, and maybe other clients will follow suit eventually. But maybe it's just me :) |
I agree it can go. Makes it also simpler to understand and evolve if needed |
I agree as well. Makes it simpler to build and make beneficial changes. |
@reviewers, look at the actual changes made in the commits after the first one. The first is the removal of the project (split of the generated code into their own classes, and removal of the old generator project) Changes:
|
Ok I think this is done from my side. This can be reviewed. One thing that I saw was some simplifications around method / class id. I'll check this out in a separate PR. |
@@ -1,5 +1,4 @@ | |||
@ECHO OFF | |||
set DOTNET_CLI_TELEMETRY_OPTOUT=1 | |||
dotnet restore .\RabbitMQDotNetClient.sln | |||
dotnet run -p .\projects\Apigen\Apigen.csproj --apiName:AMQP_0_9_1 .\projects\specs\amqp0-9-1.stripped.xml .\gensrc\autogenerated-api-0-9-1.cs |
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.
Build is still failing. Am I missing something or does this not have the desired effect?
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 had to fix some scripts - #924 (comment)
@michaelklishin I just fixed up concourse to take this change into account. Thanks for reviewing and merging. https://github.com/rabbitmq/rabbitmq-ci/commit/2d3e9680c2aafb79446437e486b7b2ad491c5901 |
Proposed Changes
Removes the ApiGen project and brings code into separate files (resolves #742)
Types of Changes
What types of changes does your code introduce to this project?
Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creatingthe PR. If you're unsure about any of them, don't hesitate to ask on the
mailing list. We're here to help! This is simply a reminder of what we are
going to look for before merging your code.
CONTRIBUTING.md
document