bazel-mirror usage

558 views
Skip to first unread message

ekue...@google.com

unread,
Aug 7, 2019, 3:21:54 PM8/7/19
to bazel-dev
In https://github.com/bazelbuild/rules_groovy/pull/42, we'd like to update the default Groovy SDK version. The current version references bazel-mirror.storage.googleapis.com. Do we still recommend using bazel-mirror over direct linking? Are there instructions somewhere for how we can upload new artifacts there?

Tony Aiuto

unread,
Aug 8, 2019, 11:52:54 PM8/8/19
to ekue...@google.com, bazel-dev
On Wed, Aug 7, 2019 at 3:21 PM ekuefler via bazel-dev <baze...@googlegroups.com> wrote:
In https://github.com/bazelbuild/rules_groovy/pull/42, we'd like to update the default Groovy SDK version. The current version references bazel-mirror.storage.googleapis.com. Do we still recommend using bazel-mirror over direct linking?

The bazel team mirrors everything we depend on to mirrors. We also prefer to use both URLS so we get the
faster download at build time, but also list the canonical source. Your stanze would look like
http_archive(
  name = "groovy_sdk_artifact",
  urls = [
  ],
  sha256 = "3d905dfe4f739c8c0d9dd181e6687ac816e451bf327a9ec0740da473cfebc9e0",
)

Are there instructions somewhere for how we can upload new artifacts there?

It's just cloud storage, so you would have to be in the right cloud project.
I don't know if we have a request page for updates, but I just downloaded 2.5.7 from dl.bintray.com
and uploaded it for you


 

--
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/d1428fa4-b070-4feb-b013-da183a934385%40googlegroups.com.

Erik Kuefler

unread,
Aug 12, 2019, 11:43:20 PM8/12/19
to bazel-dev

On Thursday, August 8, 2019 at 8:52:54 PM UTC-7, Tony Aiuto wrote:
On Wed, Aug 7, 2019 at 3:21 PM ekuefler via bazel-dev <baze...@googlegroups.com> wrote:
In https://github.com/bazelbuild/rules_groovy/pull/42, we'd like to update the default Groovy SDK version. The current version references bazel-mirror.storage.googleapis.com. Do we still recommend using bazel-mirror over direct linking?

The bazel team mirrors everything we depend on to mirrors. We also prefer to use both URLS so we get the
faster download at build time, but also list the canonical source. Your stanze would look like
http_archive(
  name = "groovy_sdk_artifact",
  urls = [
  ],
  sha256 = "3d905dfe4f739c8c0d9dd181e6687ac816e451bf327a9ec0740da473cfebc9e0",
)

Are there instructions somewhere for how we can upload new artifacts there?

It's just cloud storage, so you would have to be in the right cloud project.
I don't know if we have a request page for updates, but I just downloaded 2.5.7 from dl.bintray.com
and uploaded it for you


 

--
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 baze...@googlegroups.com.

Tony Aiuto

unread,
Aug 12, 2019, 11:52:02 PM8/12/19
to Erik Kuefler, bazel-dev
On Mon, Aug 12, 2019 at 11:43 PM Erik Kuefler <ekue...@gmail.com> wrote:
Thank you. Would you mind also uploading these artifacts?



On Thursday, August 8, 2019 at 8:52:54 PM UTC-7, Tony Aiuto wrote:
On Wed, Aug 7, 2019 at 3:21 PM ekuefler via bazel-dev <baze...@googlegroups.com> wrote:
In https://github.com/bazelbuild/rules_groovy/pull/42, we'd like to update the default Groovy SDK version. The current version references bazel-mirror.storage.googleapis.com. Do we still recommend using bazel-mirror over direct linking?

The bazel team mirrors everything we depend on to mirrors. We also prefer to use both URLS so we get the
faster download at build time, but also list the canonical source. Your stanze would look like
http_archive(
  name = "groovy_sdk_artifact",
  urls = [
  ],
  sha256 = "3d905dfe4f739c8c0d9dd181e6687ac816e451bf327a9ec0740da473cfebc9e0",
)

Are there instructions somewhere for how we can upload new artifacts there?

It's just cloud storage, so you would have to be in the right cloud project.
I don't know if we have a request page for updates, but I just downloaded 2.5.7 from dl.bintray.com
and uploaded it for you


 

--
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 baze...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-dev/d1428fa4-b070-4feb-b013-da183a934385%40googlegroups.com.

--
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/b3d05b05-9dda-44a4-a39c-84c9db9d595b%40googlegroups.com.

Erik Kuefler

unread,
Aug 12, 2019, 11:55:49 PM8/12/19
to bazel-dev

Tony Aiuto

unread,
Aug 13, 2019, 9:12:28 AM8/13/19
to Erik Kuefler, bazel-dev
On Mon, Aug 12, 2019 at 11:55 PM Erik Kuefler <ekue...@gmail.com> wrote:

Done
Yuch.  The extra 1.3-groovy-2.5 in the path adds another manual step.

Done 

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/43dfb241-9c96-4627-80a5-9bba7af92fc1%40googlegroups.com.

Philipp Wollermann

unread,
Aug 13, 2019, 12:40:35 PM8/13/19
to Tony Aiuto, Erik Kuefler, bazel-dev
Hi,


They both refer to the same backend, but the first one goes through our load balancer which uses Cloud CDN for faster download speeds across the world, uses our canonical URL instead of a Google Cloud specific one, supports HTTPS and is shorter / easier to read than the latter.

Cheers,
Philipp




--
Philipp Wollermann | Software Engineer | phi...@google.com
Google Germany GmbH | Erika-Mann-Straße 33 | 80636 München

Geschäftsführer: Paul Manicle, Halimah DeLaine Prado
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg

Erik Kuefler

unread,
Aug 13, 2019, 3:15:54 PM8/13/19
to Philipp Wollermann, Tony Aiuto, bazel-dev
Done. Thank you!
Reply all
Reply to author
Forward
0 new messages