Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #11666

Re: ITP: google-http-client-java -- Google HTTP Client Library for Java

From Olek Wojnar <olek@debian.org>
Newsgroups linux.debian.maint.java, linux.debian.bugs.dist
Subject Re: ITP: google-http-client-java -- Google HTTP Client Library for Java
Date 2020-06-03 09:40 +0200
Message-ID <AdvQR-6AS-1@gated-at.bofh.it> (permalink)
References <AcMTM-4Ju-3@gated-at.bofh.it> <AcYBA-3dW-13@gated-at.bofh.it> <Ad1SO-5jy-13@gated-at.bofh.it> <AdgI9-5TN-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Sudip,

Thanks for taking a look!

On Tue, Jun 2, 2020 at 11:03 AM Sudip Mukherjee <sudipm.mukherjee@gmail.com>
wrote:

>
> > > I'm hardly a Java expert so I'm interested to hear what they say when
> they chime in. My one input here is have you tried excluding the modules we
> don't need using the "--ignore" functionality in d/*.poms? Perhaps that
> might eliminate some of the problems you're seeing? It looks like we
> definitely need google-http-client-*.jar and
> google-http-client-jackson2-*.jar but perhaps we can do without some of the
> others?
> >
> <snip>
> >
> > If you need "google-http-client-*.jar" then that will mean you will
> > need all the modules,
>

Sorry, I think I was unclear. The "*" was referring to the version number.


> From a quick look at bazel
> (https://github.com/bazelbuild/bazel/tree/master/third_party/api_client)
> , it seems only "google-http-client" and "google-http-client-jackson2"
> is needed. So, another quick look at the source code and it seems we
> don't have "com.google.j2objc" and "io.opencensus". I think
> com.google.j2objc can be ignored but we will need io.opencensus. And
> you already have ITP for that. #959838. imho, "io.opencensus" needs to
> be packaged before "google-http-client-java", and from that you will
> mostly need "io.opencensus.common, io.opencensus.contrib and
> io.opencensus.trace".
>

Correct, those are the only two artifacts we need. The problem with the
dependencies is that opencensus depends on google-auth which in turn
depends on http-client-java. ;) Yay dependencies! :) So we need to figure
out how to either build http-client without opencensus or the other way
around. Ideas are very welcome!

-Olek

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Bug#960984: ITP: google-http-client-java -- Google HTTP Client Library for Java Andreas Tille <andreas@an3as.eu> - 2020-06-01 09:20 +0200
  Re: ITP: google-http-client-java -- Google HTTP Client Library for Java Olek Wojnar <olek@debian.org> - 2020-06-01 22:10 +0200
    Re: ITP: google-http-client-java -- Google HTTP Client Library for Java Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-06-02 01:20 +0200
      Re: ITP: google-http-client-java -- Google HTTP Client Library for Java Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-06-02 17:10 +0200
        Re: ITP: google-http-client-java -- Google HTTP Client Library for Java Olek Wojnar <olek@debian.org> - 2020-06-03 09:40 +0200
          Re: ITP: google-http-client-java -- Google HTTP Client Library for Java Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-06-03 13:50 +0200
            Re: ITP: google-http-client-java -- Google HTTP Client Library for Java Olek Wojnar <olek@debian.org> - 2020-06-03 16:20 +0200
              Re: ITP: google-http-client-java -- Google HTTP Client Library for Java Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-06-04 14:40 +0200
                Re: ITP: google-http-client-java -- Google HTTP Client Library for Java Olek Wojnar <olek@debian.org> - 2020-06-04 16:40 +0200

csiph-web