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

Split out pgrx-bindgen crate #1802

Merged

Conversation

workingjubilee
Copy link
Member

@workingjubilee workingjubilee commented Aug 13, 2024

One last essentially-administrative change, and part of the reason that I did all the mucking-about in #1796. We have a lot of code in pgrx-pg-sys's build.rs, and it's high time that we actually split out the real crate that it is. Currently this just moves that around, rather than doing any refactoring, to make the git blame trackable.

The packaging test generates a sufficiently large cache that it cannot be done for every version of pgrx in the combinatoric fashion that we usually do, thus, we don't anymore! We simply run it for one version.

workingjubilee added a commit that referenced this pull request Aug 13, 2024
Found a bug after doing some refactoring to improve how this tool works
in general, making it more resilient to whatever the hell we do to our
repo. This should allow us to have packages with different names than
the paths to them, allowing arbitrary nesting and relocation, and also
applies a less ad-hoc rule regarding "what packages are we updating".

Unblocks #1802.
@workingjubilee workingjubilee marked this pull request as draft August 13, 2024 22:45
@workingjubilee workingjubilee marked this pull request as ready for review August 14, 2024 00:01
@workingjubilee
Copy link
Member Author

workingjubilee commented Aug 14, 2024

The packaging test generates a sufficiently large cache that it cannot be done for every version of pgrx in the combinatoric fashion that we usually do, thus, we don't anymore! We simply run it for one version.

@workingjubilee
Copy link
Member Author

Which predictably drops several minutes off CI! Nice. Let's go!

@workingjubilee workingjubilee merged commit 8124b63 into pgcentralfoundation:develop Aug 14, 2024
14 checks passed
@workingjubilee workingjubilee deleted the split-out-pgrx-bindgen branch August 14, 2024 13:15
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.

1 participant