Re: Maven packages in Debian (was Re: Progress in preparing the Bazel Build System for Debian (COVID-19 Biohackathon follow-up))

2020-05-23 Thread Sudip Mukherjee
On Sat, May 23, 2020 at 8:10 PM Thorsten Glaser  wrote:
>
> On Sat, 23 May 2020, Sudip Mukherjee wrote:
>
> > I have now made a list with package name, the jar files that it
> > provides and the list of class that the jar provides.
>
> This must be scripted/scriptable though… the list for stable is
> pretty much fixed, but the one for unstable (which is the relevant
> one for packaging) isn’t and needs to be redone every few weeks at
> least…

It was generated using a script. It will not be a problem to redo every week.

>
> > Not sure where to put that or if it is in an usable format. So,
> > initial version is at:
> > https://drive.google.com/open?id=1A0tnTNofdNFuMwzrxV_HQE6npfpUglcS
>
> Ouch, 33M… methinks this is more suited as a web application.
> Not all that easy… due to sheer size, at least.

Yes, I was thinking of making a Debian native package for it, the data
will be in either sqlite or yaml and then an application to read from
it. cmdline will accept either jar or class name and will list the
package containing them. And if package name is given then it will
list everything that the package contains.
Just a thought for now.


-- 
Regards
Sudip



Re: Maven packages in Debian (was Re: Progress in preparing the Bazel Build System for Debian (COVID-19 Biohackathon follow-up))

2020-05-23 Thread Thorsten Glaser
On Sat, 23 May 2020, Sudip Mukherjee wrote:

> I have now made a list with package name, the jar files that it
> provides and the list of class that the jar provides.

This must be scripted/scriptable though… the list for stable is
pretty much fixed, but the one for unstable (which is the relevant
one for packaging) isn’t and needs to be redone every few weeks at
least…

> Not sure where to put that or if it is in an usable format. So,
> initial version is at:
> https://drive.google.com/open?id=1A0tnTNofdNFuMwzrxV_HQE6npfpUglcS

Ouch, 33M… methinks this is more suited as a web application.
Not all that easy… due to sheer size, at least.

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg



Re: Maven packages in Debian (was Re: Progress in preparing the Bazel Build System for Debian (COVID-19 Biohackathon follow-up))

2020-05-23 Thread Sudip Mukherjee
On Wed, May 13, 2020 at 7:33 PM Thorsten Glaser  wrote:
>
> On Wed, 6 May 2020, Andreas Tille wrote:
>
> > > Or perhaps we need a webpage or wiki page generated by parsing the
> > > Contents file and listing the matching Debian package for each class
> > > or, at least, Java package (unless split across multiple packages)…
> >
> > I remember times when such a web page (actually some autogenerated text
> > file) existed which was **extremely** helpful.  I wished this would be
> > back!
> >
> > > … I just volunteerd, didn’t I?
>
> Here you are:
>
> https://wiki.debian.org/Java/MavenPkgs
>
> Sponsored by ⮡ tarent, see below.
>
> This is step 1, the list of all Maven packages ⇒ Debian package name.
> It doesn’t go as far as to map Java packages or even classes… yet.
> For this I’d have to download all those packages, extract them and
> look into the JARs. I’d prefer some central service to offer archive
> contents if possible (diffoscope already extracts archives anyway).

I have now made a list with package name, the jar files that it
provides and the list of class that the jar provides.
Not sure where to put that or if it is in an usable format. So,
initial version is at:
https://drive.google.com/open?id=1A0tnTNofdNFuMwzrxV_HQE6npfpUglcS

I think, next I will make a sorted list so that it will be easy to
make a diff of what has changed.

-- 
Regards
Sudip



Re: Maven packages in Debian (was Re: Progress in preparing the Bazel Build System for Debian (COVID-19 Biohackathon follow-up))

2020-05-13 Thread Andreas Tille
On Wed, May 13, 2020 at 08:33:07PM +0200, Thorsten Glaser wrote:
> > I remember times when such a web page (actually some autogenerated text
> > file) existed which was **extremely** helpful.  I wished this would be
> > back!
> >
> > > … I just volunteerd, didn’t I?
> 
> Here you are:
> 
> https://wiki.debian.org/Java/MavenPkgs

Looks pretty helpful!
 
> Sponsored by ⮡ tarent, see below.

Thanks!

> This is step 1, the list of all Maven packages ⇒ Debian package name.
> It doesn’t go as far as to map Java packages or even classes… yet.
> For this I’d have to download all those packages, extract them and
> look into the JARs. I’d prefer some central service to offer archive
> contents if possible (diffoscope already extracts archives anyway).

Sounds very promising.

Thanks a lot

  Andreas. 

-- 
http://fam-tille.de



Maven packages in Debian (was Re: Progress in preparing the Bazel Build System for Debian (COVID-19 Biohackathon follow-up))

2020-05-13 Thread Thorsten Glaser
On Wed, 6 May 2020, Andreas Tille wrote:

> > Or perhaps we need a webpage or wiki page generated by parsing the
> > Contents file and listing the matching Debian package for each class
> > or, at least, Java package (unless split across multiple packages)…
>
> I remember times when such a web page (actually some autogenerated text
> file) existed which was **extremely** helpful.  I wished this would be
> back!
>
> > … I just volunteerd, didn’t I?

Here you are:

https://wiki.debian.org/Java/MavenPkgs

Sponsored by ⮡ tarent, see below.

This is step 1, the list of all Maven packages ⇒ Debian package name.
It doesn’t go as far as to map Java packages or even classes… yet.
For this I’d have to download all those packages, extract them and
look into the JARs. I’d prefer some central service to offer archive
contents if possible (diffoscope already extracts archives anyway).

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg



Re: Progress in preparing the Bazel Build System for Debian (COVID-19 Biohackathon follow-up)

2020-05-06 Thread Andreas Tille
Hi Thorsten,

On Wed, May 06, 2020 at 05:15:04PM +0200, Thorsten Glaser wrote:
> > Provides or something to make it clear? I saw changes to packages adding
> 
> Or perhaps we need a webpage or wiki page generated by parsing the
> Contents file and listing the matching Debian package for each class
> or, at least, Java package (unless split across multiple packages)…

I remember times when such a web page (actually some autogenerated text
file) existed which was **extremely** helpful.  I wished this would be
back!
 
> … I just volunteerd, didn’t I?

:-)

Kind regards

  Andreas.

-- 
http://fam-tille.de



Re: Progress in preparing the Bazel Build System for Debian (COVID-19 Biohackathon follow-up)

2020-05-06 Thread Sudip Mukherjee
On Wed, May 6, 2020 at 6:43 AM Olek Wojnar  wrote:
>
> Fellow Developers, Maintainers, and Contributors,
>
> This is a quick update on recent progress with packaging the Bazel Build
> System [1] for Debian. My involvement grew out of an urgent need for
> TensorFlow that was identified during the recent COVID-19 Biohackathon
> [2]. Upstream has been very supportive of our efforts and we have had
> many positive interactions with them.
>
> However, we've now reached a point where we need more help in order to
> get these important tools packaged in a timely manner. There are
> currently 10 Java package dependencies that are not available in Debian.
> These are:
> google-api-client
> google-auth
> google-auto
> checker-framework
> diffutils

As mentioned in #959834, diffutils was pretty straight forward and I
can take care of it under Java-Team.

-- 
Regards
Sudip



Re: Progress in preparing the Bazel Build System for Debian (COVID-19 Biohackathon follow-up)

2020-05-06 Thread Olek Wojnar
On Wed, May 6, 2020 at 11:23 AM Thorsten Glaser  wrote:

> Or perhaps we need a webpage or wiki page generated by parsing the
> Contents file and listing the matching Debian package for each class
> or, at least, Java package (unless split across multiple packages)…
>
> …
>
> …
>
> … I just volunteerd, didn’t I?
>

Sure sounds like it! Ha, ha! :)


Re: Progress in preparing the Bazel Build System for Debian (COVID-19 Biohackathon follow-up)

2020-05-06 Thread Olek Wojnar
Hi Emmanuel,

On Wed, May 6, 2020 at 10:03 AM Emmanuel Bourg  wrote:

>
> You can remove javax-annotation from the list, it's already packaged as
> libgeronimo-annotation-1.3-spec-java. Also error-prone and
> checker-framework provide annotations that are not required at runtime,
> patching them out is an option.
>

Excellent, thanks for the info! That's great news. Yes, I was considering
that if we couldn't get those packaged quickly. Those two are my lowest
priority for that reason. I already did something similar in a patch for
libprotobuf-java and it was reasonably painless.

Regarding the other generic dependencies, it would be nice to package
> them under the Java Team umbrella.
>

I absolutely agree but I didn't want to speak for the Java Team. :) I'll
pass that request on to any contributors I interact with.

-Olek


Re: Progress in preparing the Bazel Build System for Debian (COVID-19 Biohackathon follow-up)

2020-05-06 Thread Thorsten Glaser
On Wed, 6 May 2020, Andrej Shadura wrote:

> I wonder could we improve the package description and maybe add some

YES please, me either. Why even Geronimo, why not Jakarta’s, which
is the most latest?

> Provides or something to make it clear? I saw changes to packages adding

Or perhaps we need a webpage or wiki page generated by parsing the
Contents file and listing the matching Debian package for each class
or, at least, Java package (unless split across multiple packages)…

…

…

… I just volunteerd, didn’t I?

Mraw,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg



Re: Progress in preparing the Bazel Build System for Debian (COVID-19 Biohackathon follow-up)

2020-05-06 Thread Emmanuel Bourg
Hi Olek,

Le 06/05/2020 à 07:42, Olek Wojnar a écrit :

> We have more information available, including links to RFP bugs, on our
> Workplan wiki [3]. If you have Java experience and are willing to assist
> in this effort, even packaging one of these would be a great help. If
> you also want to help with the main Bazel-packaging effort, please feel
> free to join the team!

You can remove javax-annotation from the list, it's already packaged as
libgeronimo-annotation-1.3-spec-java. Also error-prone and
checker-framework provide annotations that are not required at runtime,
patching them out is an option.

Regarding the other generic dependencies, it would be nice to package
them under the Java Team umbrella.


Emmanuel Bourg