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

Add buf generate configs and update other packages to use these configs #2637

Merged
merged 76 commits into from
Dec 11, 2023

Conversation

oliversun9
Copy link
Contributor

@oliversun9 oliversun9 commented Dec 2, 2023

This PR

  • Adds buf generate related configs to bufconfig
  • Update package bufgen to use these new configs
  • Update package bufimagemodify to use these new configs
    • With some small cleanups/TODOs left
    • When all else is done, this package can be moved to bufgen/internal
  • Update package buffetch to deal with input configs.
    • It is worth mentioning that a GetInputConfigForString is added. This is added to allow migrating command line inputs into buf gen v2. Migrating CLI input is important because buf gen v1 config has types, which cannot exist without an input in buf gen v2.

About 20 - 30 changed files are files deleted from bufimagemodify.

@oliversun9 oliversun9 marked this pull request as draft December 2, 2023 06:04
@bufdev bufdev marked this pull request as ready for review December 11, 2023 17:42
@bufdev bufdev changed the title [WIP] Add buf generate configs and update other packages to use these configs Add buf generate configs and update other packages to use these configs Dec 11, 2023
@bufdev bufdev merged commit 15af023 into bufmod Dec 11, 2023
2 of 7 checks passed
@bufdev bufdev deleted the osun/bufgen-move-v1 branch December 11, 2023 17:42
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.

2 participants