-
Notifications
You must be signed in to change notification settings - Fork 12
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
Feature/registry alias #273
Draft
dgehriger
wants to merge
52
commits into
helsing-ai:main
Choose a base branch
from
globusmedical:feature/registry-alias
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
+1,911
−566
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add .buffrs/config.toml registries and hierarchical packages
Bumps [gix-path](https://github.com/Byron/gitoxide) from 0.10.7 to 0.10.10. - [Release notes](https://github.com/Byron/gitoxide/releases) - [Changelog](https://github.com/Byron/gitoxide/blob/main/CHANGELOG.md) - [Commits](GitoxideLabs/gitoxide@gix-path-v0.10.7...gix-path-v0.10.10) --- updated-dependencies: - dependency-name: gix-path dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
# Conflicts: # Cargo.lock # Cargo.toml # src/main.rs # src/manifest.rs # src/registry/mod.rs # tests/cmd/publish/in # tests/cmd/publish/out
Enable registry alias in Proto.toml
Implement buf.yaml file generation
Fix repeated arguments when using default args
Ensure dependencies are sorted alphabetically
# Conflicts: # Cargo.lock
dgehriger
force-pushed
the
feature/registry-alias
branch
from
November 21, 2024 20:48
2914175
to
91ad212
Compare
dgehriger
force-pushed
the
feature/registry-alias
branch
from
November 21, 2024 20:55
2e07e81
to
cc56d33
Compare
Prepare for upstream Prepare for upstream Prepare for upstream Move config file to .config/buffrs.toml Reformat
dgehriger
force-pushed
the
feature/registry-alias
branch
from
November 21, 2024 20:57
cc56d33
to
d8e78d1
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces these features:
This release introduces several key updates and new features:
New Command-Line Options
-k
/--insecure
: Skip SSL validation during operations. Useful for environments with self-signed certificates or testing scenarios.Enhancements to
buffrs install
Subcommand--buf-yaml
Flag:Adding this flag during
buffrs install
(e.g.,buffrs install --buf-yaml
) generates a buf.yaml file matching installed dependencies during dependency resolution.buf
for linting and generating proxies/stubs from proto files.--only-dependencies
Flag:Only installs vendor dependencies.
Default Arguments in Configuration
Users can now define default arguments for commands. For example, to always generate buf.yaml files during
buffrs install
:Support for Registry Aliases
The
registry
field in Proto.toml now supports aliases. For instance:Normalized Proto.toml for Compatibility
Buffrs resolves registry aliases when packing or publishing to an upstream repository. To ensure compatibility, the original Proto.toml is preserved as Proto.toml.orig, while the normalized version is used during operations.
This mirrors Cargo's behavior, providing a seamless user experience.
Example: Alias Normalization
Original Proto.toml:
Generated Proto.toml: