This is the multi-page printable view of this section. Click here to print.
Repo map
Extension to download several versions of a repository depending on a platform
- 1: al_repo_map
- 2: Bazel targets
- 3: Changelog
1 - al_repo_map
al_repo_map
al_repo_map = use_extension("@com_alwaldend_src//bzl/rules/repo_map:al_repo_map.bzl", "al_repo_map")
al_repo_map.download(name, build_file_content, build_file_native_binary, download_type, executable,
repos, strip_prefix)
Extension to create several repos from a map
TAG CLASSES
download
Attributes
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | Name | Name | required | |
| build_file_content | Build file content | String | optional | "" |
| build_file_native_binary | Args for a native binary build file | Dictionary: String -> String | optional | {} |
| download_type | Download type | String | optional | "http_archive" |
| executable | Field executable for http_file | Boolean | optional | False |
| repos | Map of repos | Dictionary: String -> List of strings | required | |
| strip_prefix | Strip prefix | String | optional | "" |
2 - Bazel targets
| Name | Info | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| al_repo_map |
|
||||||||||
| al_repo_map.stardoc |
|
||||||||||
| al_repo_map.stardoc_raw |
|
||||||||||
| al_repo_map.stardoc_raw.extract |
|
||||||||||
| changelog |
|
||||||||||
| changelog.changelog |
|
||||||||||
| changelog.changelog_data |
|
||||||||||
| changelog.changelog_files |
|
||||||||||
| changelog.template |
|
||||||||||
| libs |
|
||||||||||
| libs.stardoc |
|
||||||||||
| libs.stardoc_src |
|
||||||||||
| readme |
|
||||||||||
| readme.srcs |
|
||||||||||
| readme.with_children |
|
3 - Changelog
- Fix al_hugo_run_binary, add al_http_server_binary (1bf299)
- Add al_go_platform rules, add native_binary support to al_repo_map (8ca07d)
- Add external ansible collections, rename some deps (99b3c7)
- Move changelog rules to bzl/rules/git, improve ansible rules (c94123)
- Move changelog rules to bzl/rules/changelog (4d59d6)
- Move readme rules to bzl/rules/readme (95ea8d)
- Move bzl rules to bzl/rules/bzl (57930e)
- Move transitive_sources rules to bzl/rules/transitive_sources (a4223b)
- Move hugo rules to bzl/rules/hugo, move go rules to /bzl/rules/go (cb079f)
- Move al_repo_map to bzl/rules (a77a38)