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: rework go dependencies #321

Merged
merged 5 commits into from
Jul 21, 2023
Merged

chore: rework go dependencies #321

merged 5 commits into from
Jul 21, 2023

Conversation

cgrindel
Copy link
Owner

Reworked the Go dependencies for this repository so that we do not need to list the transitive dependencies in MODULE.bazel. Because github.com/ekalinin/github-markdown-toc.go references its dependencies in its main package, go get ... does not add the transitive dependencies to go.mod. The bzlmod-aware update-repos does not find the transitive dependencies. To fix this, we add direct dependency for github.com/ekalinin/github-markdown-toc.go to this repo and use it in cmd/go_deps.

Related to bazel-contrib/bazel-gazelle#1585.

@cgrindel cgrindel self-assigned this Jul 21, 2023
@cgrindel cgrindel enabled auto-merge (squash) July 21, 2023 19:07
@cgrindel cgrindel merged commit 3a902c4 into main Jul 21, 2023
@cgrindel cgrindel deleted the rework_gh_markdown_build branch July 21, 2023 19:20
cgrindel-self-hosted-renovate bot referenced this pull request in cgrindel/github_snippets Jul 24, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [cgrindel_bazel_starlib](https://togithub.com/cgrindel/bazel-starlib)
| http_archive | patch | `v0.16.1` -> `v0.16.2` |

---

### Release Notes

<details>
<summary>cgrindel/bazel-starlib (cgrindel_bazel_starlib)</summary>

###
[`v0.16.2`](https://togithub.com/cgrindel/bazel-starlib/releases/tag/v0.16.2)

[Compare
Source](https://togithub.com/cgrindel/bazel-starlib/compare/v0.16.1...v0.16.2)

#### What's Changed

- chore: update README.md for v0.16.1 by
[@&#8203;cgrindel-app-token-generator](https://togithub.com/cgrindel-app-token-generator)
in
[https://github.com/cgrindel/bazel-starlib/pull/313](https://togithub.com/cgrindel/bazel-starlib/pull/313)
- chore: remove obsolete go_sdk references by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/314](https://togithub.com/cgrindel/bazel-starlib/pull/314)
- chore(deps): update dependency io_bazel_rules_go to v0.41.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/cgrindel/bazel-starlib/pull/315](https://togithub.com/cgrindel/bazel-starlib/pull/315)
- chore(deps): update dependency bazel_gazelle to v0.32.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/cgrindel/bazel-starlib/pull/316](https://togithub.com/cgrindel/bazel-starlib/pull/316)
- chore(deps): update dependency buildifier_prebuilt to v6.1.2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/cgrindel/bazel-starlib/pull/317](https://togithub.com/cgrindel/bazel-starlib/pull/317)
- chore: address ShellCheck issues by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/318](https://togithub.com/cgrindel/bazel-starlib/pull/318)
- feat: implement `tidy_all` by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/319](https://togithub.com/cgrindel/bazel-starlib/pull/319)
- chore: rework go dependencies by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/321](https://togithub.com/cgrindel/bazel-starlib/pull/321)
- chore: run all integration tests in CI by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/323](https://togithub.com/cgrindel/bazel-starlib/pull/323)
- chore(deps): update dependency bazel to v6.3.0 by
[@&#8203;cgrindel-self-hosted-renovate](https://togithub.com/cgrindel-self-hosted-renovate)
in
[https://github.com/cgrindel/bazel-starlib/pull/325](https://togithub.com/cgrindel/bazel-starlib/pull/325)
- chore: add postUpgradeTasks in renovate.json by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/327](https://togithub.com/cgrindel/bazel-starlib/pull/327)
- fix: use bazelisk instead of bazel for renovate post-upgrade task by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/329](https://togithub.com/cgrindel/bazel-starlib/pull/329)
- chore: install bazelisk during post upgrade by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/330](https://togithub.com/cgrindel/bazel-starlib/pull/330)

#### New Contributors

-
[@&#8203;cgrindel-self-hosted-renovate](https://togithub.com/cgrindel-self-hosted-renovate)
made their first contribution in
[https://github.com/cgrindel/bazel-starlib/pull/325](https://togithub.com/cgrindel/bazel-starlib/pull/325)

**Full Changelog**:
cgrindel/bazel-starlib@v0.16.1...v0.16.2

#### Bazel Module Snippet

```python
bazel_dep(name = "cgrindel_bazel_starlib", version = "0.16.2")
```

#### Workspace Snippet

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

http_archive(
    name = "cgrindel_bazel_starlib",
    sha256 = "8814c7dbbac4f1a7c20b7f39c590fd0b5e39174718fbb3a0522e149ed085a84f",
    urls = [
        "https://github.com/cgrindel/bazel-starlib/releases/download/v0.16.2/bazel-starlib.v0.16.2.tar.gz",
    ],
)

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

bazel_starlib_dependencies()

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

bazel_skylib_workspace()
```

</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:eyJjcmVhdGVkSW5WZXIiOiIzNi4yMS4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

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/rules_swiftformat Jul 24, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| cgrindel_bazel_starlib | bazel_dep | patch | `0.16.1` -> `0.16.2` |
| [cgrindel_bazel_starlib](https://togithub.com/cgrindel/bazel-starlib)
| http_archive | patch | `v0.16.1` -> `v0.16.2` |

---

### Release Notes

<details>
<summary>cgrindel/bazel-starlib (cgrindel_bazel_starlib)</summary>

###
[`v0.16.2`](https://togithub.com/cgrindel/bazel-starlib/releases/tag/v0.16.2)

[Compare
Source](https://togithub.com/cgrindel/bazel-starlib/compare/v0.16.1...v0.16.2)

#### What's Changed

- chore: update README.md for v0.16.1 by
[@&#8203;cgrindel-app-token-generator](https://togithub.com/cgrindel-app-token-generator)
in
[https://github.com/cgrindel/bazel-starlib/pull/313](https://togithub.com/cgrindel/bazel-starlib/pull/313)
- chore: remove obsolete go_sdk references by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/314](https://togithub.com/cgrindel/bazel-starlib/pull/314)
- chore(deps): update dependency io_bazel_rules_go to v0.41.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/cgrindel/bazel-starlib/pull/315](https://togithub.com/cgrindel/bazel-starlib/pull/315)
- chore(deps): update dependency bazel_gazelle to v0.32.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/cgrindel/bazel-starlib/pull/316](https://togithub.com/cgrindel/bazel-starlib/pull/316)
- chore(deps): update dependency buildifier_prebuilt to v6.1.2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/cgrindel/bazel-starlib/pull/317](https://togithub.com/cgrindel/bazel-starlib/pull/317)
- chore: address ShellCheck issues by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/318](https://togithub.com/cgrindel/bazel-starlib/pull/318)
- feat: implement `tidy_all` by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/319](https://togithub.com/cgrindel/bazel-starlib/pull/319)
- chore: rework go dependencies by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/321](https://togithub.com/cgrindel/bazel-starlib/pull/321)
- chore: run all integration tests in CI by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/323](https://togithub.com/cgrindel/bazel-starlib/pull/323)
- chore(deps): update dependency bazel to v6.3.0 by
[@&#8203;cgrindel-self-hosted-renovate](https://togithub.com/cgrindel-self-hosted-renovate)
in
[https://github.com/cgrindel/bazel-starlib/pull/325](https://togithub.com/cgrindel/bazel-starlib/pull/325)
- chore: add postUpgradeTasks in renovate.json by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/327](https://togithub.com/cgrindel/bazel-starlib/pull/327)
- fix: use bazelisk instead of bazel for renovate post-upgrade task by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/329](https://togithub.com/cgrindel/bazel-starlib/pull/329)
- chore: install bazelisk during post upgrade by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/330](https://togithub.com/cgrindel/bazel-starlib/pull/330)

#### New Contributors

-
[@&#8203;cgrindel-self-hosted-renovate](https://togithub.com/cgrindel-self-hosted-renovate)
made their first contribution in
[https://github.com/cgrindel/bazel-starlib/pull/325](https://togithub.com/cgrindel/bazel-starlib/pull/325)

**Full Changelog**:
cgrindel/bazel-starlib@v0.16.1...v0.16.2

#### Bazel Module Snippet

```python
bazel_dep(name = "cgrindel_bazel_starlib", version = "0.16.2")
```

#### Workspace Snippet

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

http_archive(
    name = "cgrindel_bazel_starlib",
    sha256 = "8814c7dbbac4f1a7c20b7f39c590fd0b5e39174718fbb3a0522e149ed085a84f",
    urls = [
        "https://github.com/cgrindel/bazel-starlib/releases/download/v0.16.2/bazel-starlib.v0.16.2.tar.gz",
    ],
)

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

bazel_starlib_dependencies()

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

bazel_skylib_workspace()
```

</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:eyJjcmVhdGVkSW5WZXIiOiIzNi4yMS4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

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/rules_swift_package_manager Jul 24, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| cgrindel_bazel_starlib | bazel_dep | patch | `0.16.1` -> `0.16.2` |
| [cgrindel_bazel_starlib](https://togithub.com/cgrindel/bazel-starlib)
| http_archive | patch | `v0.16.1` -> `v0.16.2` |

---

### Release Notes

<details>
<summary>cgrindel/bazel-starlib (cgrindel_bazel_starlib)</summary>

###
[`v0.16.2`](https://togithub.com/cgrindel/bazel-starlib/releases/tag/v0.16.2)

[Compare
Source](https://togithub.com/cgrindel/bazel-starlib/compare/v0.16.1...v0.16.2)

#### What's Changed

- chore: update README.md for v0.16.1 by
[@&#8203;cgrindel-app-token-generator](https://togithub.com/cgrindel-app-token-generator)
in
[https://github.com/cgrindel/bazel-starlib/pull/313](https://togithub.com/cgrindel/bazel-starlib/pull/313)
- chore: remove obsolete go_sdk references by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/314](https://togithub.com/cgrindel/bazel-starlib/pull/314)
- chore(deps): update dependency io_bazel_rules_go to v0.41.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/cgrindel/bazel-starlib/pull/315](https://togithub.com/cgrindel/bazel-starlib/pull/315)
- chore(deps): update dependency bazel_gazelle to v0.32.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/cgrindel/bazel-starlib/pull/316](https://togithub.com/cgrindel/bazel-starlib/pull/316)
- chore(deps): update dependency buildifier_prebuilt to v6.1.2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/cgrindel/bazel-starlib/pull/317](https://togithub.com/cgrindel/bazel-starlib/pull/317)
- chore: address ShellCheck issues by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/318](https://togithub.com/cgrindel/bazel-starlib/pull/318)
- feat: implement `tidy_all` by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/319](https://togithub.com/cgrindel/bazel-starlib/pull/319)
- chore: rework go dependencies by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/321](https://togithub.com/cgrindel/bazel-starlib/pull/321)
- chore: run all integration tests in CI by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/323](https://togithub.com/cgrindel/bazel-starlib/pull/323)
- chore(deps): update dependency bazel to v6.3.0 by
[@&#8203;cgrindel-self-hosted-renovate](https://togithub.com/cgrindel-self-hosted-renovate)
in
[https://github.com/cgrindel/bazel-starlib/pull/325](https://togithub.com/cgrindel/bazel-starlib/pull/325)
- chore: add postUpgradeTasks in renovate.json by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/327](https://togithub.com/cgrindel/bazel-starlib/pull/327)
- fix: use bazelisk instead of bazel for renovate post-upgrade task by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/329](https://togithub.com/cgrindel/bazel-starlib/pull/329)
- chore: install bazelisk during post upgrade by
[@&#8203;cgrindel](https://togithub.com/cgrindel) in
[https://github.com/cgrindel/bazel-starlib/pull/330](https://togithub.com/cgrindel/bazel-starlib/pull/330)

#### New Contributors

-
[@&#8203;cgrindel-self-hosted-renovate](https://togithub.com/cgrindel-self-hosted-renovate)
made their first contribution in
[https://github.com/cgrindel/bazel-starlib/pull/325](https://togithub.com/cgrindel/bazel-starlib/pull/325)

**Full Changelog**:
cgrindel/bazel-starlib@v0.16.1...v0.16.2

#### Bazel Module Snippet

```python
bazel_dep(name = "cgrindel_bazel_starlib", version = "0.16.2")
```

#### Workspace Snippet

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

http_archive(
    name = "cgrindel_bazel_starlib",
    sha256 = "8814c7dbbac4f1a7c20b7f39c590fd0b5e39174718fbb3a0522e149ed085a84f",
    urls = [
        "https://github.com/cgrindel/bazel-starlib/releases/download/v0.16.2/bazel-starlib.v0.16.2.tar.gz",
    ],
)

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

bazel_starlib_dependencies()

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

bazel_skylib_workspace()
```

</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:eyJjcmVhdGVkSW5WZXIiOiIzNi4yMS4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.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