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

feat: add support for Package.resolved version 3 #1108

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

jpsim
Copy link
Collaborator

@jpsim jpsim commented Jun 17, 2024

Addresses #1059.

@cgrindel cgrindel merged commit 896f5c8 into main Jun 17, 2024
37 of 38 checks passed
@cgrindel cgrindel deleted the feat-add-support-for-package.resolved-version-3 branch June 17, 2024 23:51
renovate bot referenced this pull request in bazel-contrib/rules_bazel_integration_test Jun 24, 2024
…#326)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| rules_swift_package_manager | bazel_dep | minor | `0.32.0` -> `0.33.0`
|
|
[rules_swift_package_manager](https://togithub.com/cgrindel/rules_swift_package_manager)
| http_archive | minor | `v0.32.0` -> `v0.33.0` |

---

### Release Notes

<details>
<summary>cgrindel/rules_swift_package_manager
(rules_swift_package_manager)</summary>

###
[`v0.33.0`](https://togithub.com/cgrindel/rules_swift_package_manager/releases/tag/v0.33.0)

[Compare
Source](https://togithub.com/cgrindel/rules_swift_package_manager/compare/v0.32.0...v0.33.0)

#### What's Changed

- chore: update README.md for v0.32.0 by
[@&#8203;cgrindel-app-token-generator](https://togithub.com/cgrindel-app-token-generator)
in
[https://github.com/cgrindel/rules_swift_package_manager/pull/1106](https://togithub.com/cgrindel/rules_swift_package_manager/pull/1106)
- chore: README.md typo by
[@&#8203;baksha97](https://togithub.com/baksha97) in
[https://github.com/cgrindel/rules_swift_package_manager/pull/1100](https://togithub.com/cgrindel/rules_swift_package_manager/pull/1100)
- feat: add support for `Package.resolved` version 3 by
[@&#8203;jpsim](https://togithub.com/jpsim) in
[https://github.com/cgrindel/rules_swift_package_manager/pull/1108](https://togithub.com/cgrindel/rules_swift_package_manager/pull/1108)
- fix: improve xcframework archive file link type detection by
[@&#8203;stephanecopin](https://togithub.com/stephanecopin) in
[https://github.com/cgrindel/rules_swift_package_manager/pull/1102](https://togithub.com/cgrindel/rules_swift_package_manager/pull/1102)

#### New Contributors

- [@&#8203;baksha97](https://togithub.com/baksha97) made their first
contribution in
[https://github.com/cgrindel/rules_swift_package_manager/pull/1100](https://togithub.com/cgrindel/rules_swift_package_manager/pull/1100)
- [@&#8203;stephanecopin](https://togithub.com/stephanecopin) made their
first contribution in
[https://github.com/cgrindel/rules_swift_package_manager/pull/1102](https://togithub.com/cgrindel/rules_swift_package_manager/pull/1102)

**Full Changelog**:
cgrindel/rules_swift_package_manager@v0.32.0...v0.33.0

#### Bazel Module Snippet

```python
bazel_dep(name = "rules_swift_package_manager", version = "0.33.0")
```

#### Workspace Snippet

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

http_archive(
    name = "rules_swift_package_manager",
    sha256 = "e35ad91bcea292df5c1f95a0c9bedf3eaff43ffe97a86cc9c25d86f3382cef66",
    urls = [
        "https://github.com/cgrindel/rules_swift_package_manager/releases/download/v0.33.0/rules_swift_package_manager.v0.33.0.tar.gz",
    ],
)

load("@&#8203;rules_swift_package_manager//:deps.bzl", "swift_bazel_dependencies")

swift_bazel_dependencies()

load("@&#8203;cgrindel_bazel_starlib//:deps.bzl", "bazel_starlib_dependencies")

bazel_starlib_dependencies()

### MARK: - Gazelle
### gazelle:repo bazel_gazelle

load("@&#8203;bazel_gazelle//:deps.bzl", "gazelle_dependencies")
load("@&#8203;rules_swift_package_manager//:go_deps.bzl", "swift_bazel_go_dependencies")
load("@&#8203;io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")

### Declare Go dependencies before calling go_rules_dependencies.
swift_bazel_go_dependencies()

go_rules_dependencies()

go_register_toolchains(version = "1.21.1")

gazelle_dependencies()

### MARK: - Swift Toolchain

http_archive(
    name = "build_bazel_rules_swift",

### Populate with your preferred release 
### https://github.com/bazelbuild/rules_swift/releases
)

load(
    "@&#8203;build_bazel_rules_swift//swift:repositories.bzl",
    "swift_rules_dependencies",
)
load("//:swift_deps.bzl", "swift_dependencies")

### gazelle:repository_macro swift_deps.bzl%swift_dependencies
swift_dependencies()

swift_rules_dependencies()

load(
    "@&#8203;build_bazel_rules_swift//swift:extras.bzl",
    "swift_rules_extra_dependencies",
)

swift_rules_extra_dependencies()
```

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.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