-
Notifications
You must be signed in to change notification settings - Fork 323
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 [email protected] #355
Conversation
I triggered the pipeline, it fails with what looks like real issues. Given that there is another |
f105ebb
to
4da696c
Compare
Based on my fumbling but persistent effort chronicled in the "bzlmod" channel of the "Bazel" Slack workspace, I think that I fixed those problems.
I do see a few other rules_kustomize GitHub repositories. None of them have MODULE.bazel files yet. @Wyverald had mentioned in Slack discussion that he thought that claiming rules_kustomize for my repository was acceptable. How should we proceed here? Should I prefix my module name with "bisontralis_?" Should I poll the authors of the other few repositories to learn whether any of them intend to submit their repositories to the BCR? |
4da696c
to
dec2379
Compare
The CI failure in the test module is due to not running with the |
CI is failing with what looks like a real "non-Bzlmod" error. Given that there aren't any rules about who can name what in which way, I don't see a problem with this just being called |
@seh You should be able to specify |
It's not strictly required, but it helps. I documented the considerations in the "Bazel's Sandbox and Load Restrictors" section of the repository documentation. If any of the information I offer there is now obsolete, since it's been over a year and a half since I wrote it, I'd like to update it. I'll consider how best to accommodate the need in the CI workflow, and post an update either later today or tomorrow. |
dec2379
to
6e0cc37
Compare
I decided to specify the "build_flags" and "test_flags" fields in the presubmit.yml file. If you find that sufficiently distasteful, I can instead change the "load restrictor" that kustomize uses, making it more liberal such that it will accept symlinked files. |
ed63cfc
to
f912689
Compare
f912689
to
4072c2f
Compare
As much as I love to be a namespace purist and a "land grab" for shorter names is contentious (I'll probably be sad if someone takes "rules_js") I can also see a case that the better maintained or more widely used rulesets will more likely have someone to write the MODUlE.Bazel and any needed extensions. |
My take is that this one is fine as it's not super high profile. As Alex said, I'd be much more careful giving away names like "rules_js". |
After much discussion with @fmeum in Slack (on execroot layout, repository mapping, runfiles, |
See bazelbuild/continuous-integration#1536 for the cause of the file permissions problems (lost executable bit). |
4072c2f
to
a7fc6f8
Compare
In order to work around bazelbuild/continuous-integration#1536, I switched from using ZIP archive to a Tar archive of the GitHub-hosted repository. I don't expect the Windows tests to pass yet, as I still have to figure out how to handle runfiles on Windows. |
a7fc6f8
to
e1bea96
Compare
@seh not a blocker for this PR - I don't remember in the many long threads on this, whether we discussed just shipping a source archive of the repo like most other rulesets. https://github.com/bazel-contrib/rules-template for example - then you wouldn't have to struggle with the archive format and it would probably simplify things for you. |
4f348d2
to
4192ad0
Compare
Impound Bazel rules for the Kubernetes-related "kustomize" tool defined in the "bisontrails/rules_kustomize" GitHub repository.
4192ad0
to
3b2f56b
Compare
Impound Bazel rules for the Kubernetes-related kustomize tool defined in the bisontrails/rules_kustomize GitHub repository.