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

chore(deps): update dependency nicklockwood/swiftformat to from: "0.54.1" #1165

Conversation

cgrindel-self-hosted-renovate[bot]
Copy link
Contributor

This PR contains the following updates:

Package Update Change
nicklockwood/SwiftFormat patch from: "0.54.0" -> from: "0.54.1"

Release Notes

nicklockwood/SwiftFormat (nicklockwood/SwiftFormat)

v0.54.1

Compare Source

  • The --nilInit insert option is no longer applied to lazy or attributed properties
  • The blankLinesBetweenChainedFunctions rule now correctly handles comments in the chain
  • Fixed indenting of wrapped arguments in --fragment mode
  • Fixed bug where attributes were mistaken for an accessor in a computer property
  • Fixed indenting of commented code after an opening bracket
  • Fixed spurious removal of return in conditional blocks
  • Fixed --lint mode reporter output when using stdin

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 if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@cgrindel-self-hosted-renovate
Copy link
Contributor Author

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: undefined
Command failed: ./do_renovate_post_upgrade
2024/07/10 21:06:58 Downloading https://releases.bazel.build/7.2.1/release/bazel-7.2.1-linux-x86_64...
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
WARNING: Option 'experimental_remote_build_event_upload' is deprecated: Use --remote_build_event_upload instead
Computing main repo mapping: 
Computing main repo mapping: 
WARNING: For repository 'bazel_skylib', the root module requires module version bazel_skylib@1.4.2, but got bazel_skylib@1.6.1 in the resolved dependency graph.
WARNING: For repository 'apple_support', the root module requires module version apple_support@1.11.1, but got apple_support@1.15.1 in the resolved dependency graph.
WARNING: For repository 'rules_cc', the root module requires module version rules_cc@0.0.6, but got rules_cc@0.0.9 in the resolved dependency graph.
WARNING: For repository 'platforms', the root module requires module version platforms@0.0.6, but got platforms@0.0.9 in the resolved dependency graph.
WARNING: Option 'experimental_remote_build_event_upload' is deprecated: Use --remote_build_event_upload instead
Loading: 
Loading: 1 packages loaded
Loading: 1 packages loaded
    currently loading: 
Analyzing: target //:tidy_modified (2 packages loaded, 0 targets configured)
Analyzing: target //:tidy_modified (2 packages loaded, 0 targets configured)
[0 / 1] checking cached actions
Analyzing: target //:tidy_modified (56 packages loaded, 477 targets configured)
[1 / 1] checking cached actions
INFO: Analyzed target //:tidy_modified (63 packages loaded, 579 targets configured).
[1 / 5] [Prepa] Writing repo mapping manifest for //:tidy_modified
INFO: Found 1 target...
Target //:tidy_modified up-to-date:
  bazel-bin/tidy_modified
INFO: Elapsed time: 8.684s, Critical Path: 0.04s
INFO: 5 processes: 5 internal.
INFO: Build completed successfully, 5 total actions
INFO: Running command line: bazel-bin/tidy_modified --mode modified --tidy_target //:tidy
WARNING: Option 'experimental_remote_build_event_upload' is deprecated: Use --remote_build_event_upload instead
Computing main repo mapping: 
WARNING: Option 'experimental_remote_build_event_upload' is deprecated: Use --remote_build_event_upload instead
Loading: 
Loading: 1 packages loaded
Analyzing: target //:tidy (1 packages loaded, 0 targets configured)
Analyzing: target //:tidy (1 packages loaded, 0 targets configured)
[0 / 1] checking cached actions
Analyzing: target //:tidy (57 packages loaded, 551 targets configured)
[1 / 1] checking cached actions
INFO: Analyzed target //:tidy (63 packages loaded, 580 targets configured).
[1 / 5] [Prepa] Writing repo mapping manifest for //:tidy
INFO: Found 1 target...
Target //:tidy up-to-date:
  /home/ubuntu/.cache/bazel/_bazel_ubuntu/3a059290653385b46a71d02f443c5ae6/execroot/_main/bazel-out/k8-fastbuild/bin/tidy
INFO: Elapsed time: 2.764s, Critical Path: 0.04s
INFO: 5 processes: 5 internal.
INFO: Build completed successfully, 5 total actions
INFO: Running command line: /home/ubuntu/.cache/bazel/_bazel_ubuntu/3a059290653385b46a71d02f443c5ae6/execroot/_main/bazel-out/k8-fastbuild/bin/tidy :update_build_files
WARNING: Option 'experimental_remote_build_event_upload' is deprecated: Use --remote_build_event_upload instead
Computing main repo mapping: 
WARNING: Option 'experimental_remote_build_event_upload' is deprecated: Use --remote_build_event_upload instead
Loading: 
Loading: 0 packages loaded
Analyzing: target //:update_build_files (0 packages loaded, 0 targets configured)
Analyzing: target //:update_build_files (0 packages loaded, 0 targets configured)
[0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt
Analyzing: target //:update_build_files (44 packages loaded, 1187 targets configured)
[1 / 1] checking cached actions
ERROR: Traceback (most recent call last):
	File "/home/ubuntu/.cache/bazel/_bazel_ubuntu/3a059290653385b46a71d02f443c5ae6/external/rules_swift_package_manager~/swiftpkg/bzlmod/swift_deps.bzl", line 184, column 43, in _swift_deps_impl
		_declare_pkgs_from_package(
	File "/home/ubuntu/.cache/bazel/_bazel_ubuntu/3a059290653385b46a71d02f443c5ae6/external/rules_swift_package_manager~/swiftpkg/bzlmod/swift_deps.bzl", line 97, column 40, in _declare_pkgs_from_package
		dep_pkg_info = pkginfos.get(
	File "/home/ubuntu/.cache/bazel/_bazel_ubuntu/3a059290653385b46a71d02f443c5ae6/external/rules_swift_package_manager~/swiftpkg/internal/pkginfos.bzl", line 117, column 39, in _get
		dump_manifest = _get_dump_manifest(
	File "/home/ubuntu/.cache/bazel/_bazel_ubuntu/3a059290653385b46a71d02f443c5ae6/external/rules_swift_package_manager~/swiftpkg/internal/pkginfos.bzl", line 49, column 57, in _get_dump_manifest
		return repository_utils.parsed_json_from_spm_command(
	File "/home/ubuntu/.cache/bazel/_bazel_ubuntu/3a059290653385b46a71d02f443c5ae6/external/rules_swift_package_manager~/swiftpkg/internal/repository_utils.bzl", line 82, column 49, in _parsed_json_from_spm_command
		json_str = repository_utils.exec_spm_command(
	File "/home/ubuntu/.cache/bazel/_bazel_ubuntu/3a059290653385b46a71d02f443c5ae6/external/rules_swift_package_manager~/swiftpkg/internal/repository_utils.bzl", line 69, column 39, in _execute_spm_command
		repo_name = repository_ctx.attr.name,
Error: 'module_ctx' value has no field or method 'attr'
Analyzing: target //:update_build_files (44 packages loaded, 1187 targets configured)
[1 / 1] checking cached actions
ERROR: Analysis of target '//:update_build_files' failed; build aborted: error evaluating module extension swift_deps in @@rules_swift_package_manager~//:extensions.bzl
INFO: Elapsed time: 2.841s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
ERROR: Build did NOT complete successfully
FAILED: 
ERROR: Build failed. Not running target

@cgrindel-self-hosted-renovate cgrindel-self-hosted-renovate bot merged commit c6c6767 into main Jul 11, 2024
32 of 33 checks passed
@cgrindel-self-hosted-renovate cgrindel-self-hosted-renovate bot deleted the github-renovate/nicklockwood-swiftformat-0.x branch July 11, 2024 13:38
renovate bot added a commit to bazel-contrib/rules_bazel_integration_test that referenced this pull request Jul 31, 2024
…#347)

[![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.35.1` -> `0.36.0`
|
|
[rules_swift_package_manager](https://github.com/cgrindel/rules_swift_package_manager)
| http_archive | minor | `v0.35.1` -> `v0.36.0` |

---

### Release Notes

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

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

[Compare
Source](https://github.com/cgrindel/rules_swift_package_manager/compare/v0.35.1...v0.36.0)

#### What Has Changed

#### What's Changed

- chore: update README.md for v0.35.1 by
[@&#8203;cgrindel-app-token-generator](https://github.com/cgrindel-app-token-generator)
in
[cgrindel/rules_swift_package_manager#1164
- chore(deps): update dependency airbnb/lottie-spm to from: "4.5.0" by
[@&#8203;cgrindel-self-hosted-renovate](https://github.com/cgrindel-self-hosted-renovate)
in
[cgrindel/rules_swift_package_manager#1159
- chore(deps): update dependency nicklockwood/swiftformat to from:
"0.54.1" by
[@&#8203;cgrindel-self-hosted-renovate](https://github.com/cgrindel-self-hosted-renovate)
in
[cgrindel/rules_swift_package_manager#1165
- docs: document how to handle deprecated byName references by
[@&#8203;cgrindel](https://github.com/cgrindel) in
[cgrindel/rules_swift_package_manager#1146
- docs: update patch instructions for bzlmod by
[@&#8203;cgrindel](https://github.com/cgrindel) in
[cgrindel/rules_swift_package_manager#1167
- chore(deps): update dependency apple_support to v1.16.0 by
[@&#8203;cgrindel-self-hosted-renovate](https://github.com/cgrindel-self-hosted-renovate)
in
[cgrindel/rules_swift_package_manager#1160
- docs: generate bzlmod extension docs by
[@&#8203;cgrindel](https://github.com/cgrindel) in
[cgrindel/rules_swift_package_manager#1169
- chore(deps): update dependency vapor/fluent-sqlite-driver to v4.7.4 by
[@&#8203;cgrindel-self-hosted-renovate](https://github.com/cgrindel-self-hosted-renovate)
in
[cgrindel/rules_swift_package_manager#1171
- chore: remove legacy code and docs by
[@&#8203;cgrindel](https://github.com/cgrindel) in
[cgrindel/rules_swift_package_manager#1179
- fix: Update bundle name generator to match SPM by
[@&#8203;jflan-dd](https://github.com/jflan-dd) in
[cgrindel/rules_swift_package_manager#1183
- docs: clarify when to enable `declare_swift_deps_info` by
[@&#8203;cgrindel](https://github.com/cgrindel) in
[cgrindel/rules_swift_package_manager#1185
- chore: refactor resource accessors for Swift and ObjC by
[@&#8203;cgrindel](https://github.com/cgrindel) in
[cgrindel/rules_swift_package_manager#1184

**Full Changelog**:
cgrindel/rules_swift_package_manager@v0.35.1...v0.36.0

#### Bazel Module Snippet

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

#### Workspace Snippet

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

http_archive(
    name = "rules_swift_package_manager",
    sha256 = "902bdcfd77e2037f889443024087784b49aac42581b07a6b80442177ae2f806d",
    urls = [
        "https://github.com/cgrindel/rules_swift_package_manager/releases/download/v0.36.0/rules_swift_package_manager.v0.36.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 was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/bazel-contrib/rules_bazel_integration_test).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

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.

1 participant