Skip to content
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

Generate Google modules #353

Merged
merged 7 commits into from
Oct 28, 2024
Merged

Conversation

btkostner
Copy link
Contributor

This includes the well known Google protobuf modules to deprecate the google_protos package. From this comment: elixir-protobuf/google-protos#21 (comment).

Copy link

@ddengler ddengler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems reasonable and clean to me given the conversation in #21

Copy link
Collaborator

@whatyouhide whatyouhide left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finally having some time to go through these! I left a blocking comment but other than that this looks really good. Thank you @btkostner 💟

README.md Outdated Show resolved Hide resolved
mix.exs Outdated Show resolved Hide resolved
btkostner and others added 2 commits May 29, 2024 15:11
@whatyouhide whatyouhide changed the title feat: generate well known google type modules Generate Google modules May 30, 2024
@whatyouhide
Copy link
Collaborator

Can you check the CI failure related to regenerating files? 🙃

@v0idpwn
Copy link
Collaborator

v0idpwn commented Oct 26, 2024

@whatyouhide I can't see the CI failures from back then, but I merged main here and everything is green. Should we merge?

@whatyouhide whatyouhide merged commit 9550e58 into elixir-protobuf:main Oct 28, 2024
3 checks passed
@whatyouhide
Copy link
Collaborator

Thanks folks! 💟

@btkostner btkostner deleted the google-protobuf branch October 28, 2024 18:24
]
end
```

### Google Protos

Since `:protobuf` version `0.13.0` we include all of the well known Google Protobuf modules. This conflicts with the deprecated `:google_protos` package. Please remove the `:google_protos` package from your dependencies and run `mix deps.unlock --unused`.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it's actually true 🤔 If I pull 0.13.0 now, it won't contain these new files. Perhaps you meant the next patch/minor version?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's right, fixed it on #381. Thank you for pointing out!

v0idpwn added a commit that referenced this pull request Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants