{"id":17362154,"url":"https://github.com/calebfroese/rules_yaml","last_synced_at":"2026-05-09T04:33:56.523Z","repository":{"id":100592925,"uuid":"214347341","full_name":"calebfroese/rules_yaml","owner":"calebfroese","description":"Bazel rules for interacting with YAML files 💚","archived":false,"fork":false,"pushed_at":"2019-10-11T05:35:08.000Z","size":4,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T16:54:32.158Z","etag":null,"topics":["bazel","bazel-rules","build-tools","skylark","yaml","yq"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/calebfroese.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-11T05:02:33.000Z","updated_at":"2019-10-11T06:05:08.000Z","dependencies_parsed_at":"2023-05-16T05:00:18.593Z","dependency_job_id":null,"html_url":"https://github.com/calebfroese/rules_yaml","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/calebfroese/rules_yaml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebfroese%2Frules_yaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebfroese%2Frules_yaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebfroese%2Frules_yaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebfroese%2Frules_yaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/calebfroese","download_url":"https://codeload.github.com/calebfroese/rules_yaml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebfroese%2Frules_yaml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32807265,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bazel","bazel-rules","build-tools","skylark","yaml","yq"],"created_at":"2024-10-15T19:37:12.383Z","updated_at":"2026-05-09T04:33:56.503Z","avatar_url":"https://github.com/calebfroese.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rules_yaml\n\nThis project provides [Bazel](http://bazel.build) rules for operating with YAML.\n\n## Setup\n\nIn your WORKSPACE file, include the following snippets.\nThis will tell Bazel to fetch the YAML rules archive, extract it, and prepare it for use in your application.\n\n```bzl\nload(\"@bazel_tools//tools/build_defs/repo:http.bzl\", \"http_archive\")\n\nhttp_archive(\n    name = \"rules_yaml\",\n    sha256 = \"\u003csee github releases page for checksum\u003e\",\n    url = \"https://github.com/calebfroese/rules_yaml/archive/0.0.1.zip\",\n)\n\nload(\"@rules_yaml//:defs.bzl\", \"yaml_repositories\")\n\n# This sets up the dependencies for rules_yaml\nyaml_repositories()\n```\n\n## Usage\n\nYou can pull elements into new YAML files using the `yaml_excerpt` rule.\n\n```bzl\n# Extract elements nested under the path into a new file\nyaml_excerpt(\n    name = \"first_car_info\",\n    src = \"template.yml\",\n    path = \"config.properties.cars[0].Details\",\n)\n# Which can then be passed in to other rules as \":first_car_info\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalebfroese%2Frules_yaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalebfroese%2Frules_yaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalebfroese%2Frules_yaml/lists"}