-
Notifications
You must be signed in to change notification settings - Fork 320
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
Add repository fields to all metadata.json files #3103
base: main
Are you sure you want to change the base?
Conversation
Hello @fmeum, modules you maintain (bazel_env.bzl, rules_jni, toolchains_musl) have been updated in this PR. Please review the changes. |
Hello @Vertexwahn, modules you maintain (nasm) have been updated in this PR. Please review the changes. |
Hello @comius, modules you maintain (rules_cc) have been updated in this PR. Please review the changes. |
Hello @armandomontanez, @tpudlik, @cramertj, modules you maintain (rules_libusb) have been updated in this PR. Please review the changes. |
Hello @avdv, @aherrmann, modules you maintain (rules_sh) have been updated in this PR. Please review the changes. |
Hello @jmillikin, modules you maintain (sqlite3) have been updated in this PR. Please review the changes. |
Hello @illicitonion, modules you maintain (toolchains_musl) have been updated in this PR. Please review the changes. |
Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (bzip2, darts-clone) have been updated in this PR. Please review the changes. |
@@ -7,6 +7,9 @@ | |||
"name": "John Millikin" | |||
} | |||
], | |||
"repository": [ | |||
"github:sqlite/sqlite" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the official GitHub mirror. SQLite is developed in a custom VCS so I thought a Git repository link would be more useful
We should probably add bazel-central-registry/metadata.schema.json Lines 35 to 40 in 28b3835
to make sure future modules are not missing this attribute? /cc @alexeagle |
Modules with a GitHub repository set are required to use source archives hosted on GitHub: bazel-central-registry/tools/bcr_validation.py Lines 143 to 173 in 28b3835
Wouldn't this change break uploads of modules that have GitHub projects, but host their releases elsewhere? |
http url is also supported as source repo, but yeah, we should make sure they actually match what's being used. |
I think I'm -1 on this as currently written, after spot-checking a few modules:
It seems like there's a conflict of purposes between using |
I agree with @jmillikin -- IMO the "repository" field should only be set if we want to check the archive URL, and shouldn't be set just to document the location of the repository (the "homepage" field is perfectly fine for that). However, it could just mean that this PR should be updated to use generic URLs where appropriate instead of |
There were ten
metadata.json
files that had no repository set:This PR sets all the missing repositories.