{"id":21874818,"url":"https://github.com/bazelment/galaxy","last_synced_at":"2026-04-29T15:33:29.107Z","repository":{"id":83184820,"uuid":"445047044","full_name":"bazelment/galaxy","owner":"bazelment","description":"A mono repo for everything you need to build a galaxy","archived":false,"fork":false,"pushed_at":"2023-02-01T05:47:49.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-26T17:44:05.755Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Starlark","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bazelment.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-06T05:04:43.000Z","updated_at":"2022-03-14T14:50:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"8f0f73ea-bfd6-4357-b692-083b2e069265","html_url":"https://github.com/bazelment/galaxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelment%2Fgalaxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelment%2Fgalaxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelment%2Fgalaxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelment%2Fgalaxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bazelment","download_url":"https://codeload.github.com/bazelment/galaxy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244881396,"owners_count":20525643,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-28T07:13:26.017Z","updated_at":"2026-04-29T15:33:29.078Z","avatar_url":"https://github.com/bazelment.png","language":"Starlark","funding_links":[],"categories":[],"sub_categories":[],"readme":"# galaxy\nA mono repo for everything you need to build a galaxy with bazel, while\npulling critical libraries in the form of source code part of the\nsource tree.\n\n## Quick Start\n\n* Using this repo requires gclient from\n  [depot_tools](https://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools.html). Please\n  follow the [installation\n  guide](https://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools_tutorial.html#_setting_up)\n  to get started.\n* Create an empty directory and switch to it.\n* run `gclient config https://github.com/bazelment/galaxy` to\n  initialize the config of gclient.\n* run `gclient sync` to check out everything.\n\n## How to add a new library\n\n* Update `DEPS` file to include the SCM link of the given library, and\n  a directory where the library should be included in the source\n  tree. The general rule is most third party libraries should be under\n  third_party.\n  - A optional commit hash/version tag/branch name can be included in\n    the SCM link to pin the version of the library.\n\n* Update the bazel `WORKSPACE` file to include the given library.\n 1. If the given library has bazel `WORKSPACE` file in its directory\n    already, just use `local_repository` to include it.\n 2. If the given library doesn't have bazel `BUILD` file or\n    `WORKSPACE` file. There are two ways to add bazel BUILD support.\n\t- Put its source code inside `third_party/foo/src`, and create\n      bazel BUILD file in `third_party/foo/BUILD`. Then they can be\n      built with `bazel build third_party/foo/...`\n\t- Put its source inside `third_party/foo`', and create a\n      `third_party/foo.BUILD` BUILD file, update `WORKSPACE` file to\n      use `new_local_repository` rule to create another repo, with\n      something like:\n\t  ```\n\t  new_local_repository(\n        name = \"com_github_cares_cares\",\n\t\tpath = \"third_party/c-ares\",\n\t\tbuild_file = \"@com_github_grpc_grpc//third_party:cares/cares.BUILD\",\n\t  )\n\t  ```\n\nFor some other languages like Java, when there is not significant\nbenefit of building from source, and the upstream doesn't change\nfrequently, it might be preferred to just pull in prebuilt artifacts\nfrom maven. The following section talks about how to pull in maven\ndependencies.\n\n### Pull in prebuilt Java jars from maven\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbazelment%2Fgalaxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbazelment%2Fgalaxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbazelment%2Fgalaxy/lists"}