--
You received this message because you are subscribed to the Google Groups "bazel-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-dev/CAOZBPs4jBm6dPSf-Rkof2QKiR-MXfmD-AKuDf0iKFBOajb%2B7iQ%40mail.gmail.com.
So we unfortunately still have version 4.2.3 in Debian. I had hoped to upgrade to 5.x before the freeze but life did not cooperate with me. :(
(It's very close though and I'm planning to backport it to stable after release)
Regarding java_tools, we still don't have that packaged in Debian so I'm not sure where those flags would be coming from. Yun, that was one of the things we had the mock repos for, right? I looked through that patch and only saw a reference to Jacoco. Or is there some extra magic hidden somewhere that I'm missing?
-Olek
On February 21, 2023 4:02:26 PM UTC, Yun Peng <pcl...@google.com> wrote:
>I think it's in the java_tools defined in the WORKSPACE file and
>jdk.WORKSPACE (they need to be in sync as the comment indicates):
>
>> +Lars Clausen <lar...@google.com> +Liam Miller-Cushon <cus...@google.com> +Ivo
>> Ristovski List <il...@google.com>
Could it be sensible to have a "bazelisk" package and a "bazel_is_bazelisk" package instead in Debian?Cheers,Andreas--Am Fr., 24. Feb. 2023 um 00:08 Uhr schrieb Filip Filmar <fil...@gmail.com>:--On Wed, Feb 22, 2023 at 1:56 PM Olek Wojnar <ol...@debian.org> wrote:Any other suggestions?Frankly, why not just drop the package altogether?Various projects supporting bazel lock the version with `.bazelversion`, and you can at most offer one. Because of this, anyone who needs bazel to work will have to download bazelisk anyways.F
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAKaOXijX%2BSN9hM2r9pDzhNacyAdXBJVchpcpd8fKO540J1WGtA%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAHAfzDnuiJ7VYwXkptkdLnDVNMDLy55-NBA_osUErh%3DoG3%3DW5A%40mail.gmail.com.
I would find a Debian package with only these useful:* The shell completions* Empty `/etc/bazel.bazelrc` registered as a conffile* `/usr/bin/bazel` shell script that looks for `tools/bazel`.Having `/usr/bin/bazel-real` as bazelisk (or teaching the shell script to look for `/usr/bin/bazelisk` or something) seems fine too, but I still want my `tools/bazel`-which-is-bazelisk to be used.
I never use the installed `/usr/bin/bazel-real` on purpose, I don't keep the package up to date so it's never relevant.Setting up something with Debian's alternatives system to allow choosing bazelisk or something as the bazel-real binary could work too, for maximum flexibility.On Fri, Feb 24, 2023 at 12:12 AM Andreas Ames <andreas.0...@gmail.com> wrote:Could it be sensible to have a "bazelisk" package and a "bazel_is_bazelisk" package instead in Debian?Cheers,Andreas--Am Fr., 24. Feb. 2023 um 00:08 Uhr schrieb Filip Filmar <fil...@gmail.com>:--On Wed, Feb 22, 2023 at 1:56 PM Olek Wojnar <ol...@debian.org> wrote:Any other suggestions?Frankly, why not just drop the package altogether?Various projects supporting bazel lock the version with `.bazelversion`, and you can at most offer one. Because of this, anyone who needs bazel to work will have to download bazelisk anyways.F
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAKaOXijX%2BSN9hM2r9pDzhNacyAdXBJVchpcpd8fKO540J1WGtA%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAHAfzDnuiJ7VYwXkptkdLnDVNMDLy55-NBA_osUErh%3DoG3%3DW5A%40mail.gmail.com.
Google Germany GmbH
Erika-Mann-Straße 33
80636 München
Geschäftsführer: Paul Manicle, Liana Sebastian
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Diese E-Mail ist vertraulich. Falls Sie diese fälschlicherweise erhalten haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, dass die E-Mail an die falsche Person gesendet wurde.
This e-mail is confidential. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person.
Uh, oh...I think I might have just realized the little detail that I felt I was missing......
On February 21, 2023 4:20:23 PM UTC, Yun Peng <pcl...@google.com> wrote:
>We only made sure Bazel bootstrap without internet access, but when running
>tests, Bazel still can download extra dependencies defined in WORKSPACE
>suffix (jdk.WORKSPACE) I guess that's how the flag was pulled in.
I think you're right! We're not *supposed* to use Internet resources for tests and, if we need to download any test data, we're supposed to mark that as a test restriction. I don't have that restriction marked and therefore we all assumed that nothing was being downloaded. Rereading some of the autopkgtest documentation more carefully, it sounds like it doesn't actively *prevent* Internet access, it just trusts that you aren't doing it. And I didn't realize that on Bazel execution it was downloading those resources. For normal usage, it wouldn't matter. But it does for the test!
Ok, so does anyone know which java_tools we could use that would prevent this problem?
And I definitely need to work on packaging java_tools for Debian since a native java_tools would have allowed us to just patch the problematic flags...
-Olek