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

update-repos: add or update repository rules by import path #107

Merged
merged 1 commit into from
Jan 31, 2018

Conversation

jayconrod
Copy link
Contributor

The update-repos command can now add or update go_repository rules by
import path. To use:

gazelle update-repos example.com/repo1 example.com/repo2

This will automatically discover the remote, VCS, and latest commit
for each repository containing the named packages. If a repository
already exists in WORKSPACE, it will be updated in place.

This functionality replaces wtool, which will be deleted soon after
this lands.

Related #56

The update-repos command can now add or update go_repository rules by
import path. To use:

    gazelle update-repos example.com/repo1 example.com/repo2

This will automatically discover the remote, VCS, and latest commit
for each repository containing the named packages. If a repository
already exists in WORKSPACE, it will be updated in place.

This functionality replaces wtool, which will be deleted soon after
this lands.

Related bazel-contrib#56
@jayconrod jayconrod merged commit aec2916 into bazel-contrib:master Jan 31, 2018
@jayconrod jayconrod deleted the add-repo branch January 31, 2018 00:06
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