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

Ensure imports are sorted #11

Merged
merged 4 commits into from
Jul 14, 2023
Merged

Ensure imports are sorted #11

merged 4 commits into from
Jul 14, 2023

Conversation

casassg
Copy link
Contributor

@casassg casassg commented Jul 11, 2023

Currently protogen doesn't place them in order which makes it hard to make file generation reproducible as imports get re-ordered on every run. This sorts by path string on reverse so that inserts are the same on every run.

@fischor
Copy link
Owner

fischor commented Jul 13, 2023

Thanks for opening the PR. Will look into this on the weekend.

@casassg
Copy link
Contributor Author

casassg commented Jul 14, 2023

@fischor sounds good! lmk if there's anything I can do to help!

@fischor
Copy link
Owner

fischor commented Jul 14, 2023

Thanks for fixing the formatting...looks good to me!

@fischor fischor merged commit 4147520 into fischor:main Jul 14, 2023
2 checks passed
@casassg casassg deleted the patch-1 branch July 14, 2023 17:27
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