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

refactor: bring deb_index on par with bzlmod api #111

Merged
merged 2 commits into from
Nov 14, 2024
Merged

Conversation

thesayyn
Copy link
Collaborator

@thesayyn thesayyn commented Nov 13, 2024

  • removes workspace file from root workspace and only test with bzlmod
  • renames deb_index to apt.install to make bzlmod and nonbzlmod api similar.
  • updates CI to test against Bazel 8 and Bazel 7
  • drop support for Bazel 6

MODULE.bazel Show resolved Hide resolved
@@ -4,26 +4,41 @@
"https://bcr.bazel.build/bazel_registry.json": "8a28e4aff06ee60aed2a8c281907fb8bcbf3b753c91fb5a5c57da3215d5b3497",
"https://bcr.bazel.build/modules/abseil-cpp/20210324.2/MODULE.bazel": "7cd0312e064fde87c8d1cd79ba06c876bd23630c83466e9500321be55c96ace2",
"https://bcr.bazel.build/modules/abseil-cpp/20211102.0/MODULE.bazel": "70390338f7a5106231d20620712f7cccb659cd0e9d073d1991c038eb9fc57589",
"https://bcr.bazel.build/modules/abseil-cpp/20211102.0/source.json": "7e3a9adf473e9af076ae485ed649d5641ad50ec5c11718103f34de03170d94ad",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this file should be checked in? Looks like it already was though 🤷‍♂️

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it's fine to check this in imho.

@@ -15,8 +15,8 @@ bzl_library(
)

bzl_library(
name = "index",
srcs = ["index.bzl"],
name = "apt",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're ok with beginning changes?


http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these be marked as dev?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for some reason use_repo_rule rejects dev_dependency attribute.

@thesayyn thesayyn merged commit 27242f4 into main Nov 14, 2024
10 checks passed
@thesayyn thesayyn deleted the remove_workspace branch November 14, 2024 19:32
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