Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

jsonnet_library to support ext_code param

Open
#89 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Domain
build-system

Research direction

Start by locating the jsonnet_library rule definition and reviewing how its existing parameters and Bazel BUILD-file inputs are handled. Clarify the intended ext_code and BUILD_USER behavior, then consider the issue done when jsonnet_library targets can pass BUILD-file values into a library and reuse the resulting value elsewhere.

Written by the indexing model from the issue text.

Description

I have a use case where I want to take values fetched from bazel BUILD files and pipe them into my jsonnet_library targets. More notably I want to pipe in the BUILD_USER into a value in my library, then use that library elsewhere. This is similar to the "data" param common in other bazel rules, but this one routes variables in BUILD files rather than the contents of files in.

Dominant language
Starlark
Stars
72
Forks
88
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bazel-contrib/rules_jsonnet

All issues in bazel-contrib/rules_jsonnet

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.