Skip to content

Implement support for registry packages.#24

Merged
peterhuene merged 1 commit intomainfrom
registry
Dec 6, 2023
Merged

Implement support for registry packages.#24
peterhuene merged 1 commit intomainfrom
registry

Conversation

@peterhuene
Copy link
Copy Markdown
Member

This PR implements support for referencing packages from a registry.

A new wac-resolver crate was added and the resolvers implementation was refactored into it; package resolution now occurs before document resolution.

A registry feature was added to the CLI tool; when enabled, a --registry CLI option is accepted to point at the registry to use.

The CLI also supports Warg client configuration files (default or local).

A simple indicatif progress bar was added to display the number of packages that need to be downloaded from the registry.

A new integration test that uses packages from a registry was also implemented.

Copy link
Copy Markdown
Collaborator

@fibonacci1729 fibonacci1729 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

This commit implements support for referencing packages from a registry.

A new `wac-resolver` crate was added and the resolvers implementation was
refactored into it; package resolution now occurs before document resolution.

A `registry` feature was added to the CLI tool; when enabled, a `--registry`
CLI option is accepted to point at the registry to use.

The CLI also supports Warg client configuration files (default or local).

A simple `indicatif` progress bar was added to display the number of packages
that need to be downloaded from the registry.

A new integration test that uses packages from a registry was also implemented.
@peterhuene peterhuene merged commit 2dcd267 into main Dec 6, 2023
@peterhuene peterhuene deleted the registry branch December 6, 2023 18:56
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