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

Proto compilation fixes #191

Merged
merged 2 commits into from
Feb 6, 2024
Merged

Proto compilation fixes #191

merged 2 commits into from
Feb 6, 2024

Conversation

mzabaluev
Copy link
Contributor

A couple minor fixes to the code generation infrastructure:

  • Don't format Path into (potentially garbled) strings to compose new paths. There is a Path-native API for that. The resulting code is also less crufty.

  • Use a single distinctive subdirectory under ~/.cache to house all
    checkouts for the build script, as per the XDG convention.

Use Path facilities to compose paths as PathBuf objects rather than
cycling the representation through strings with potential garbling in `.display()`.
@mzabaluev mzabaluev enabled auto-merge (squash) February 6, 2024 11:01
@mzabaluev
Copy link
Contributor Author

I have verified the changes by running sync-protobuf.sh. The proto changes look like the usual generation jitter.

Use a single distinctive subdirectory under ~/.cache to house all
checkouts for the build script, as per the XDG convention.
@mzabaluev mzabaluev force-pushed the mikhail/proto-paths branch from 888ebc5 to 384ba58 Compare February 6, 2024 11:25
@mzabaluev mzabaluev merged commit a9f33eb into main Feb 6, 2024
10 checks passed
@mzabaluev mzabaluev deleted the mikhail/proto-paths branch February 6, 2024 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants