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 trunk metadata helper functions #474

Merged
merged 14 commits into from
Jan 12, 2024
Merged

Add trunk metadata helper functions #474

merged 14 commits into from
Jan 12, 2024

Conversation

ianstanton
Copy link
Member

@ianstanton ianstanton commented Jan 9, 2024

This PR lays down some ground work related to https://linear.app/tembo/issue/TEM-2773/tembo-operator-handle-extensions-enabled-with-load. Opening this up in a series of PRs to avoid one massive PR.

Add helper functions for working with Trunk metadata:

  • get_trunk_projects
  • get_trunk_project_names
  • get_trunk_project_metadata
  • get_trunk_project_metadata_for_version
  • extension_name_matches_trunk_project
  • get_trunk_project_for_extension
  • is_control_file_absent
  • get_loadable_library_name

Also add TrunkProjectMetadata type definition. In the future, we can publish this as a crate lib and share across projects such as Trunk CLI and Registry

@ianstanton ianstanton changed the title DRAFT: Handle extensions enabled with LOAD Add trunk metadata helper functions Jan 11, 2024
@ianstanton ianstanton marked this pull request as ready for review January 11, 2024 16:28
@vrmiguel vrmiguel merged commit 5faac5f into main Jan 12, 2024
9 checks passed
@vrmiguel vrmiguel deleted the tem-2773 branch January 12, 2024 14:45
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.

3 participants