Skip to content

Commit

Permalink
DNM Revert "[build] Silence console spam from the snopt repository rule"
Browse files Browse the repository at this point in the history
This reverts commit 70016f2.
  • Loading branch information
jwnimmer-tri committed Jan 13, 2025
1 parent 504c222 commit f2964fe
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions tools/workspace/snopt/repository.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,13 @@ def snopt_repository(
commit = "0254e961cb8c60193b0862a0428fd6a42bfb5243"
shallow_since = "1546539374 -0500"

# Passing None to the repository rule causes DEBUG output spam from Bazel
# asking us to drop the unused argument, so we'll only pass non-None.
kwargs = dict()
if commit != None:
kwargs.update(commit = commit)
if shallow_since != None:
kwargs.update(shallow_since = shallow_since)
if tag != None:
kwargs.update(tag = tag)
if branch != None:
kwargs.update(branch = branch)

_snopt_repository(
name = name,
remote = remote,
**kwargs
commit = commit,
shallow_since = shallow_since,
tag = tag,
branch = branch,
)

def _setup_git(repo_ctx):
Expand Down

0 comments on commit f2964fe

Please sign in to comment.