Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy rules_directory to bazel-skylib. #510

Merged
merged 1 commit into from
May 29, 2024
Merged

Conversation

matts1
Copy link
Contributor

@matts1 matts1 commented May 10, 2024

Original implementation is at https://github.com/matts1/rules_directory

@matts1 matts1 force-pushed the directory branch 3 times, most recently from 7051a3d to a1887b0 Compare May 10, 2024 01:25
@matts1 matts1 marked this pull request as ready for review May 10, 2024 01:28
@matts1
Copy link
Contributor Author

matts1 commented May 10, 2024

This is a rather large commit since it's just a copy-paste from rules_directory. I can split it up if that's required, but since that requires some effort on my part I'll just send it as one commit for now, and I can split it up if that's asked of me.

rules/directory/directory.bzl Outdated Show resolved Hide resolved
rules/directory/directory.bzl Outdated Show resolved Hide resolved
rules/directory/directory.bzl Show resolved Hide resolved
rules/directory/directory.bzl Outdated Show resolved Hide resolved
rules/directory/directory.bzl Outdated Show resolved Hide resolved
rules/directory/directory.bzl Outdated Show resolved Hide resolved
rules/directory/directory.bzl Outdated Show resolved Hide resolved
rules/directory/filter.bzl Outdated Show resolved Hide resolved
rules/directory/providers.bzl Show resolved Hide resolved
rules/directory/glob.bzl Outdated Show resolved Hide resolved
rules/directory/directory.bzl Outdated Show resolved Hide resolved
rules/directory/providers.bzl Show resolved Hide resolved
rules/directory/filter.bzl Outdated Show resolved Hide resolved
.ijwb/.blaze/qsyncdata.gz Outdated Show resolved Hide resolved
MODULE.bazel Outdated Show resolved Hide resolved
docs/directory_utils_doc.md Show resolved Hide resolved
docs/directory_utils_doc.md Show resolved Hide resolved
docs/directory_utils_doc.md Show resolved Hide resolved
rules/directory/directory.bzl Outdated Show resolved Hide resolved
rules/directory/subdirectory.bzl Outdated Show resolved Hide resolved
rules/directory/subdirectory.bzl Outdated Show resolved Hide resolved
rules/directory/utils.bzl Outdated Show resolved Hide resolved
tests/directory/BUILD Outdated Show resolved Hide resolved
@matts1 matts1 force-pushed the directory branch 3 times, most recently from 7328152 to dc17363 Compare May 27, 2024 03:13
@matts1 matts1 requested a review from comius May 27, 2024 04:21
tests/directory/directory_test.bzl Outdated Show resolved Hide resolved
@comius comius merged commit a464f69 into bazelbuild:main May 29, 2024
2 checks passed
@matts1 matts1 deleted the directory branch May 29, 2024 05:24
cgrindel-self-hosted-renovate bot referenced this pull request in cgrindel/rules_swiftformat May 31, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [bazel_skylib](https://togithub.com/bazelbuild/bazel-skylib) |
http_archive | minor | `1.6.1` -> `1.7.0` |

---

### Release Notes

<details>
<summary>bazelbuild/bazel-skylib (bazel_skylib)</summary>

###
[`v1.7.0`](https://togithub.com/bazelbuild/bazel-skylib/blob/HEAD/CHANGELOG.md#Release-170)

[Compare
Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.6.1...1.7.0)

**New features**

- Implement `directory` rules by
[@&#8203;matts1](https://togithub.com/matts1) in
[https://github.com/bazelbuild/bazel-skylib/pull/510](https://togithub.com/bazelbuild/bazel-skylib/pull/510)
- Add `is_normalized` and `starts_with` to paths module by
[@&#8203;comius](https://togithub.com/comius) in
[https://github.com/bazelbuild/bazel-skylib/pull/514](https://togithub.com/bazelbuild/bazel-skylib/pull/514)

**New Contributors**

- [@&#8203;matts1](https://togithub.com/matts1) made their first
contribution in
[https://github.com/bazelbuild/bazel-skylib/pull/510](https://togithub.com/bazelbuild/bazel-skylib/pull/510)

**Full Changelog**:
bazelbuild/bazel-skylib@1.6.1...1.7.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDkuNCIsInVwZGF0ZWRJblZlciI6IjM2LjEwOS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
cgrindel-self-hosted-renovate bot referenced this pull request in cgrindel/bazel-starlib May 31, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [bazel_skylib](https://togithub.com/bazelbuild/bazel-skylib) |
http_archive | minor | `1.6.1` -> `1.7.0` |

---

### Release Notes

<details>
<summary>bazelbuild/bazel-skylib (bazel_skylib)</summary>

###
[`v1.7.0`](https://togithub.com/bazelbuild/bazel-skylib/blob/HEAD/CHANGELOG.md#Release-170)

[Compare
Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.6.1...1.7.0)

**New features**

- Implement `directory` rules by
[@&#8203;matts1](https://togithub.com/matts1) in
[https://github.com/bazelbuild/bazel-skylib/pull/510](https://togithub.com/bazelbuild/bazel-skylib/pull/510)
- Add `is_normalized` and `starts_with` to paths module by
[@&#8203;comius](https://togithub.com/comius) in
[https://github.com/bazelbuild/bazel-skylib/pull/514](https://togithub.com/bazelbuild/bazel-skylib/pull/514)

**New Contributors**

- [@&#8203;matts1](https://togithub.com/matts1) made their first
contribution in
[https://github.com/bazelbuild/bazel-skylib/pull/510](https://togithub.com/bazelbuild/bazel-skylib/pull/510)

**Full Changelog**:
bazelbuild/bazel-skylib@1.6.1...1.7.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDkuNCIsInVwZGF0ZWRJblZlciI6IjM2LjEwOS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
rrbutani referenced this pull request in bazel-contrib/toolchains_llvm May 31, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| bazel_skylib | bazel_dep | minor | `1.6.1` -> `1.7.0` |
| [bazel_skylib](https://togithub.com/bazelbuild/bazel-skylib) |
http_archive | minor | `1.6.1` -> `1.7.0` |

---

### Release Notes

<details>
<summary>bazelbuild/bazel-skylib (bazel_skylib)</summary>

###
[`v1.7.0`](https://togithub.com/bazelbuild/bazel-skylib/blob/HEAD/CHANGELOG.md#Release-170)

[Compare
Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.6.1...1.7.0)

**New features**

- Implement `directory` rules by
[@&#8203;matts1](https://togithub.com/matts1) in
[https://github.com/bazelbuild/bazel-skylib/pull/510](https://togithub.com/bazelbuild/bazel-skylib/pull/510)
- Add `is_normalized` and `starts_with` to paths module by
[@&#8203;comius](https://togithub.com/comius) in
[https://github.com/bazelbuild/bazel-skylib/pull/514](https://togithub.com/bazelbuild/bazel-skylib/pull/514)

**New Contributors**

- [@&#8203;matts1](https://togithub.com/matts1) made their first
contribution in
[https://github.com/bazelbuild/bazel-skylib/pull/510](https://togithub.com/bazelbuild/bazel-skylib/pull/510)

**Full Changelog**:
bazelbuild/bazel-skylib@1.6.1...1.7.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in kreempuff/rules_unreal_engine May 31, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [bazel_skylib](https://togithub.com/bazelbuild/bazel-skylib) |
http_archive | minor | `1.6.1` -> `1.7.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>bazelbuild/bazel-skylib (bazel_skylib)</summary>

###
[`v1.7.0`](https://togithub.com/bazelbuild/bazel-skylib/blob/HEAD/CHANGELOG.md#Release-170)

[Compare
Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.6.1...1.7.0)

**New features**

- Implement `directory` rules by
[@&#8203;matts1](https://togithub.com/matts1) in
[https://github.com/bazelbuild/bazel-skylib/pull/510](https://togithub.com/bazelbuild/bazel-skylib/pull/510)
- Add `is_normalized` and `starts_with` to paths module by
[@&#8203;comius](https://togithub.com/comius) in
[https://github.com/bazelbuild/bazel-skylib/pull/514](https://togithub.com/bazelbuild/bazel-skylib/pull/514)

**New Contributors**

- [@&#8203;matts1](https://togithub.com/matts1) made their first
contribution in
[https://github.com/bazelbuild/bazel-skylib/pull/510](https://togithub.com/bazelbuild/bazel-skylib/pull/510)

**Full Changelog**:
bazelbuild/bazel-skylib@1.6.1...1.7.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/kreempuff/rules_unreal_engine).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
renovate bot referenced this pull request in bazel-contrib/rules_bazel_integration_test May 31, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| bazel_skylib | bazel_dep | minor | `1.6.1` -> `1.7.0` |
| [bazel_skylib](https://togithub.com/bazelbuild/bazel-skylib) |
http_archive | minor | `1.6.1` -> `1.7.0` |

---

### Release Notes

<details>
<summary>bazelbuild/bazel-skylib (bazel_skylib)</summary>

###
[`v1.7.0`](https://togithub.com/bazelbuild/bazel-skylib/blob/HEAD/CHANGELOG.md#Release-170)

[Compare
Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.6.1...1.7.0)

**New features**

- Implement `directory` rules by
[@&#8203;matts1](https://togithub.com/matts1) in
[https://github.com/bazelbuild/bazel-skylib/pull/510](https://togithub.com/bazelbuild/bazel-skylib/pull/510)
- Add `is_normalized` and `starts_with` to paths module by
[@&#8203;comius](https://togithub.com/comius) in
[https://github.com/bazelbuild/bazel-skylib/pull/514](https://togithub.com/bazelbuild/bazel-skylib/pull/514)

**New Contributors**

- [@&#8203;matts1](https://togithub.com/matts1) made their first
contribution in
[https://github.com/bazelbuild/bazel-skylib/pull/510](https://togithub.com/bazelbuild/bazel-skylib/pull/510)

**Full Changelog**:
bazelbuild/bazel-skylib@1.6.1...1.7.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bazel-contrib/rules_bazel_integration_test).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
anakinxc referenced this pull request in secretflow/spu Jun 3, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [bazel_skylib](https://togithub.com/bazelbuild/bazel-skylib) |
http_archive | minor | `1.6.1` -> `1.7.0` |

---

### Release Notes

<details>
<summary>bazelbuild/bazel-skylib (bazel_skylib)</summary>

###
[`v1.7.0`](https://togithub.com/bazelbuild/bazel-skylib/blob/HEAD/CHANGELOG.md#Release-170)

[Compare
Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.6.1...1.7.0)

**New features**

- Implement `directory` rules by
[@&#8203;matts1](https://togithub.com/matts1) in
[https://github.com/bazelbuild/bazel-skylib/pull/510](https://togithub.com/bazelbuild/bazel-skylib/pull/510)
- Add `is_normalized` and `starts_with` to paths module by
[@&#8203;comius](https://togithub.com/comius) in
[https://github.com/bazelbuild/bazel-skylib/pull/514](https://togithub.com/bazelbuild/bazel-skylib/pull/514)

**New Contributors**

- [@&#8203;matts1](https://togithub.com/matts1) made their first
contribution in
[https://github.com/bazelbuild/bazel-skylib/pull/510](https://togithub.com/bazelbuild/bazel-skylib/pull/510)

**Full Changelog**:
bazelbuild/bazel-skylib@1.6.1...1.7.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/secretflow/spu).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
meteorcloudy referenced this pull request in bazelbuild/examples Jun 17, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| bazel_skylib | bazel_dep | minor | `1.4.2` -> `1.7.1` |
| bazel_skylib | bazel_dep | minor | `1.6.1` -> `1.7.1` |
| bazel_skylib | bazel_dep | minor | `1.2.0` -> `1.7.1` |
| bazel_skylib | bazel_dep | minor | `1.1.1` -> `1.7.1` |
| [bazel_skylib](https://togithub.com/bazelbuild/bazel-skylib) |
http_archive | minor | `1.4.2` -> `1.7.1` |
| [bazel_skylib](https://togithub.com/bazelbuild/bazel-skylib) |
http_archive | minor | `1.2.0` -> `1.7.1` |
| [bazel_skylib](https://togithub.com/bazelbuild/bazel-skylib) |
http_archive | minor | `1.1.1` -> `1.7.1` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>bazelbuild/bazel-skylib (bazel_skylib)</summary>

###
[`v1.7.1`](https://togithub.com/bazelbuild/bazel-skylib/blob/HEAD/CHANGELOG.md#Release-171)

[Compare
Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.7.0...1.7.1)

**What's Changed**

- Fix distribution tarballs to include directory rules.
([https://github.com/bazelbuild/bazel-skylib/pull/520](https://togithub.com/bazelbuild/bazel-skylib/pull/520))

**Full Changelog**:
bazelbuild/bazel-skylib@1.7.0...1.7.1

###
[`v1.7.0`](https://togithub.com/bazelbuild/bazel-skylib/blob/HEAD/CHANGELOG.md#Release-170)

[Compare
Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.6.1...1.7.0)

**New features**

- Implement `directory` rules by
[@&#8203;matts1](https://togithub.com/matts1) in
[https://github.com/bazelbuild/bazel-skylib/pull/510](https://togithub.com/bazelbuild/bazel-skylib/pull/510)
- Add `is_normalized` and `starts_with` to paths module by
[@&#8203;comius](https://togithub.com/comius) in
[https://github.com/bazelbuild/bazel-skylib/pull/514](https://togithub.com/bazelbuild/bazel-skylib/pull/514)

**New Contributors**

- [@&#8203;matts1](https://togithub.com/matts1) made their first
contribution in
[https://github.com/bazelbuild/bazel-skylib/pull/510](https://togithub.com/bazelbuild/bazel-skylib/pull/510)

**Full Changelog**:
bazelbuild/bazel-skylib@1.6.1...1.7.0

###
[`v1.6.1`](https://togithub.com/bazelbuild/bazel-skylib/blob/HEAD/CHANGELOG.md#Release-161)

[Compare
Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.6.0...1.6.1)

**What's Changed**

- Fix `modules` Bazel 6 compatibility by
[@&#8203;phst](https://togithub.com/phst) in
[https://github.com/bazelbuild/bazel-skylib/pull/499](https://togithub.com/bazelbuild/bazel-skylib/pull/499)

**New Contributors**

- [@&#8203;phst](https://togithub.com/phst) made their first
contribution in
[https://github.com/bazelbuild/bazel-skylib/pull/499](https://togithub.com/bazelbuild/bazel-skylib/pull/499)

**Full Changelog**:
bazelbuild/bazel-skylib@1.6.0...1.6.1

###
[`v1.6.0`](https://togithub.com/bazelbuild/bazel-skylib/blob/HEAD/CHANGELOG.md#Release-160)

[Compare
Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.5.0...1.6.0)

**What's Changed**

- Add helper functions for module extensions as `modules` by
[@&#8203;fmeum](https://togithub.com/fmeum) in
[https://github.com/bazelbuild/bazel-skylib/pull/457](https://togithub.com/bazelbuild/bazel-skylib/pull/457)
- Make `out` on `native_binary` optional by
[@&#8203;tpudlik](https://togithub.com/tpudlik) in
[https://github.com/bazelbuild/bazel-skylib/pull/474](https://togithub.com/bazelbuild/bazel-skylib/pull/474)
- Remove outdated rules_cc dependency
[@&#8203;cpsauer](https://togithub.com/cpsauer) in
[https://github.com/bazelbuild/bazel-skylib/pull/476](https://togithub.com/bazelbuild/bazel-skylib/pull/476)
- Add toolchains argument to unittests.make by
[@&#8203;jylinv0](https://togithub.com/jylinv0) in
[https://github.com/bazelbuild/bazel-skylib/pull/483](https://togithub.com/bazelbuild/bazel-skylib/pull/483)
- Allow `bzl_library` to depend on non-`bzl_library` targets by
[@&#8203;Wyverald](https://togithub.com/Wyverald) in
[https://github.com/bazelbuild/bazel-skylib/pull/495](https://togithub.com/bazelbuild/bazel-skylib/pull/495)

**New Contributors**

- [@&#8203;jylinv0](https://togithub.com/jylinv0) made their first
contribution in
[https://github.com/bazelbuild/bazel-skylib/pull/483](https://togithub.com/bazelbuild/bazel-skylib/pull/483)
- [@&#8203;tpudlik](https://togithub.com/tpudlik) made their first
contribution in
[https://github.com/bazelbuild/bazel-skylib/pull/474](https://togithub.com/bazelbuild/bazel-skylib/pull/474)

**Full Changelog**:
bazelbuild/bazel-skylib@1.5.0...1.6.0

###
[`v1.5.0`](https://togithub.com/bazelbuild/bazel-skylib/releases/tag/1.5.0)

[Compare
Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.4.2...1.5.0)

#### What's Changed

- Bump rules_pkg dep to 0.9.1 to fix build with
--incompatible_config_setting_private_default_visibility by
[@&#8203;tetromino](https://togithub.com/tetromino) in
[https://github.com/bazelbuild/bazel-skylib/pull/452](https://togithub.com/bazelbuild/bazel-skylib/pull/452)
- Expose int- and string-valued build settings as Make variables by
[@&#8203;fmeum](https://togithub.com/fmeum) in
[https://github.com/bazelbuild/bazel-skylib/pull/440](https://togithub.com/bazelbuild/bazel-skylib/pull/440)
- Modify actions in order not to need `toolchain` param by
[@&#8203;kotlaja](https://togithub.com/kotlaja) in
[https://github.com/bazelbuild/bazel-skylib/pull/455](https://togithub.com/bazelbuild/bazel-skylib/pull/455)
- Fix bazel-skylib with Bazel@HEAD by
[@&#8203;meteorcloudy](https://togithub.com/meteorcloudy) in
[https://github.com/bazelbuild/bazel-skylib/pull/462](https://togithub.com/bazelbuild/bazel-skylib/pull/462)
- versions: Don't fail on Bazel dev builds by
[@&#8203;fmeum](https://togithub.com/fmeum) in
[https://github.com/bazelbuild/bazel-skylib/pull/463](https://togithub.com/bazelbuild/bazel-skylib/pull/463)
- Add error for empty bzl_library by
[@&#8203;keith](https://togithub.com/keith) in
[https://github.com/bazelbuild/bazel-skylib/pull/457](https://togithub.com/bazelbuild/bazel-skylib/pull/457)
- Add `doc` param to `unittest.make` by
[@&#8203;UebelAndre](https://togithub.com/UebelAndre) in
[https://github.com/bazelbuild/bazel-skylib/pull/464](https://togithub.com/bazelbuild/bazel-skylib/pull/464)
- Upgrade rules_go by [@&#8203;comius](https://togithub.com/comius) in
[https://github.com/bazelbuild/bazel-skylib/pull/460](https://togithub.com/bazelbuild/bazel-skylib/pull/460)

#### New Contributors

- [@&#8203;kotlaja](https://togithub.com/kotlaja) made their first
contribution in
[https://github.com/bazelbuild/bazel-skylib/pull/455](https://togithub.com/bazelbuild/bazel-skylib/pull/455)
- [@&#8203;keith](https://togithub.com/keith) made their first
contribution in
[https://github.com/bazelbuild/bazel-skylib/pull/457](https://togithub.com/bazelbuild/bazel-skylib/pull/457)

**Full Changelog**:
bazelbuild/bazel-skylib@1.4.2...1.5.0

#### MODULE.bazel setup

```starlark
bazel_dep(name = "bazel_skylib", version = "1.5.0")

### If the Gazelle plugin is needed:
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.5.0", dev_dependency = True)
```

#### WORKSPACE setup

```starlark
load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "bazel_skylib",
    sha256 = "cd55a062e763b9349921f0f5db8c3933288dc8ba4f76dd9416aac68acee3cb94",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz",
        "https://github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz",
    ],
)

load("@&#8203;bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")

bazel_skylib_workspace()
```

***Additional WORKSPACE setup for the Gazelle plugin***

```starlark
http_archive(
    name = "bazel_skylib_gazelle_plugin",
    sha256 = "747addf3f508186234f6232674dd7786743efb8c68619aece5fb0cac97b8f415",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-gazelle-plugin-1.5.0.tar.gz",
        "https://github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-gazelle-plugin-1.5.0.tar.gz",
    ],
)

load("@&#8203;bazel_skylib_gazelle_plugin//:workspace.bzl", "bazel_skylib_gazelle_plugin_workspace")

bazel_skylib_gazelle_plugin_workspace()

load("@&#8203;bazel_skylib_gazelle_plugin//:setup.bzl", "bazel_skylib_gazelle_plugin_setup")

bazel_skylib_gazelle_plugin_setup()
```

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bazelbuild/examples).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
cgrindel-self-hosted-renovate bot referenced this pull request in cgrindel/rules_swift_package_manager Jul 6, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| bazel_skylib | bazel_dep | minor | `1.6.1` -> `1.7.1` |
| bazel_skylib | bazel_dep | minor | `1.5.0` -> `1.7.1` |
| [bazel_skylib](https://togithub.com/bazelbuild/bazel-skylib) |
http_archive | minor | `1.6.1` -> `1.7.1` |

---

### Release Notes

<details>
<summary>bazelbuild/bazel-skylib (bazel_skylib)</summary>

###
[`v1.7.1`](https://togithub.com/bazelbuild/bazel-skylib/blob/HEAD/CHANGELOG.md#Release-171)

[Compare
Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.7.0...1.7.1)

**What's Changed**

- Fix distribution tarballs to include directory rules.
([https://github.com/bazelbuild/bazel-skylib/pull/520](https://togithub.com/bazelbuild/bazel-skylib/pull/520))

**Full Changelog**:
bazelbuild/bazel-skylib@1.7.0...1.7.1

###
[`v1.7.0`](https://togithub.com/bazelbuild/bazel-skylib/blob/HEAD/CHANGELOG.md#Release-170)

[Compare
Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.6.1...1.7.0)

**New features**

- Implement `directory` rules by
[@&#8203;matts1](https://togithub.com/matts1) in
[https://github.com/bazelbuild/bazel-skylib/pull/510](https://togithub.com/bazelbuild/bazel-skylib/pull/510)
- Add `is_normalized` and `starts_with` to paths module by
[@&#8203;comius](https://togithub.com/comius) in
[https://github.com/bazelbuild/bazel-skylib/pull/514](https://togithub.com/bazelbuild/bazel-skylib/pull/514)

**New Contributors**

- [@&#8203;matts1](https://togithub.com/matts1) made their first
contribution in
[https://github.com/bazelbuild/bazel-skylib/pull/510](https://togithub.com/bazelbuild/bazel-skylib/pull/510)

**Full Changelog**:
bazelbuild/bazel-skylib@1.6.1...1.7.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDkuNCIsInVwZGF0ZWRJblZlciI6IjM2LjEwOS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
Co-authored-by: Chuck Grindel <chuck.grindel@gmail.com>
cgrindel-self-hosted-renovate bot referenced this pull request in cgrindel/rules_swift_package_manager Jul 7, 2024
…1129)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| bazel_skylib_gazelle_plugin | bazel_dep | minor | `1.6.1` -> `1.7.1` |
| bazel_skylib_gazelle_plugin | bazel_dep | minor | `1.5.0` -> `1.7.1` |
|
[bazel_skylib_gazelle_plugin](https://togithub.com/bazelbuild/bazel-skylib)
| http_archive | minor | `1.6.1` -> `1.7.1` |

---

### Release Notes

<details>
<summary>bazelbuild/bazel-skylib (bazel_skylib_gazelle_plugin)</summary>

###
[`v1.7.1`](https://togithub.com/bazelbuild/bazel-skylib/blob/HEAD/CHANGELOG.md#Release-171)

[Compare
Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.7.0...1.7.1)

**What's Changed**

- Fix distribution tarballs to include directory rules.
([https://github.com/bazelbuild/bazel-skylib/pull/520](https://togithub.com/bazelbuild/bazel-skylib/pull/520))

**Full Changelog**:
bazelbuild/bazel-skylib@1.7.0...1.7.1

###
[`v1.7.0`](https://togithub.com/bazelbuild/bazel-skylib/blob/HEAD/CHANGELOG.md#Release-170)

[Compare
Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.6.1...1.7.0)

**New features**

- Implement `directory` rules by
[@&#8203;matts1](https://togithub.com/matts1) in
[https://github.com/bazelbuild/bazel-skylib/pull/510](https://togithub.com/bazelbuild/bazel-skylib/pull/510)
- Add `is_normalized` and `starts_with` to paths module by
[@&#8203;comius](https://togithub.com/comius) in
[https://github.com/bazelbuild/bazel-skylib/pull/514](https://togithub.com/bazelbuild/bazel-skylib/pull/514)

**New Contributors**

- [@&#8203;matts1](https://togithub.com/matts1) made their first
contribution in
[https://github.com/bazelbuild/bazel-skylib/pull/510](https://togithub.com/bazelbuild/bazel-skylib/pull/510)

**Full Changelog**:
bazelbuild/bazel-skylib@1.6.1...1.7.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDkuNCIsInVwZGF0ZWRJblZlciI6IjM2LjEwOS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
Co-authored-by: Chuck Grindel <chuck.grindel@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants