Re: Summary of How/where exactly to host the NBMs for the 9.0 release

2018-04-14 Thread Jan Lahoda
On Sat, Apr 14, 2018 at 8:57 AM, Emilian Bold 
wrote:

> Ah, so it's a matter of repackaging them?
>

Yes, the (my) current idea for OSGi bundles is to wrap them into NBMs with
LICENSE, etc. This is when creating an update center for the NB
distribution, others may still produce update centers with plain OSGi
wrappers, and it should still work as before.

Jan


> --emi
>
> ‐‐‐ Original Message ‐‐‐
>
> On 14 April 2018 9:54 AM, Antonio  wrote:
>
> > On 14/04/18 08:27, Emilian Bold wrote:
> >
> > > > 1- It seems we won't be able to host some OSGi bundles in the mirror
> > > >
> > > > system due to licensing issues?
> > >
> > > If we are able to make a release with this dependency how are we not
> allowed to distribute the binaries?
> >
> > As Jan said 2018/04/10 (13:08), quoting:
> >
> > "One open issue is what to do with (third-party) OSGi bundles - these
> >
> > are not currently wrapped into NBMs, and it is unclear to me if we can
> >
> > release them as ordinary jars (given these are "upstream" jars which
> >
> > don't have LICENSE, etc.)"
> >
> > Cheers,
> >
> > Antonio
> >
> >
> > 
> 
> 
> 
> ---
> >
> > To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> >
> > For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> >
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: Summary of How/where exactly to host the NBMs for the 9.0 release

2018-04-14 Thread Antonio

AFAIK Jan is currently working on that:

https://github.com/apache/incubator-netbeans/pull/494

Un abrazo,
Antonio

P.S.: Current generated artifacts are at:

https://builds.apache.org/view/Incubator%20Projects/job/incubator-netbeans-linux/lastSuccessfulBuild/artifact/nbbuild/nbms/


On 14/04/18 08:57, Emilian Bold wrote:

Ah, so it's a matter of repackaging them?

--emi

‐‐‐ Original Message ‐‐‐

On 14 April 2018 9:54 AM, Antonio  wrote:


On 14/04/18 08:27, Emilian Bold wrote:


1- It seems we won't be able to host some OSGi bundles in the mirror

system due to licensing issues?


If we are able to make a release with this dependency how are we not allowed to 
distribute the binaries?


As Jan said 2018/04/10 (13:08), quoting:

"One open issue is what to do with (third-party) OSGi bundles - these

are not currently wrapped into NBMs, and it is unclear to me if we can

release them as ordinary jars (given these are "upstream" jars which

don't have LICENSE, etc.)"

Cheers,

Antonio


---

To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org

For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:

https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Summary of How/where exactly to host the NBMs for the 9.0 release

2018-04-14 Thread Emilian Bold
Ah, so it's a matter of repackaging them?

--emi

‐‐‐ Original Message ‐‐‐

On 14 April 2018 9:54 AM, Antonio  wrote:

> On 14/04/18 08:27, Emilian Bold wrote:
> 
> > > 1- It seems we won't be able to host some OSGi bundles in the mirror
> > > 
> > > system due to licensing issues?
> > 
> > If we are able to make a release with this dependency how are we not 
> > allowed to distribute the binaries?
> 
> As Jan said 2018/04/10 (13:08), quoting:
> 
> "One open issue is what to do with (third-party) OSGi bundles - these
> 
> are not currently wrapped into NBMs, and it is unclear to me if we can
> 
> release them as ordinary jars (given these are "upstream" jars which
> 
> don't have LICENSE, etc.)"
> 
> Cheers,
> 
> Antonio
> 
> 
> ---
> 
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> 
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> 
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Summary of How/where exactly to host the NBMs for the 9.0 release

2018-04-14 Thread Antonio


On 14/04/18 08:27, Emilian Bold wrote:

1- It seems we won't be able to host some OSGi bundles in the mirror

system due to licensing issues?

If we are able to make a release with this dependency how are we not allowed to 
distribute the binaries?



As Jan said 2018/04/10 (13:08), quoting:

"One open issue is what to do with (third-party) OSGi bundles - these 
are not currently wrapped into NBMs, and it is unclear to me if we can 
release them as ordinary jars (given these are "upstream" jars which 
don't have LICENSE, etc.)"


Cheers,
Antonio


-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Summary of How/where exactly to host the NBMs for the 9.0 release

2018-04-14 Thread Emilian Bold
> 1- It seems we won't be able to host some OSGi bundles in the mirror 
system due to licensing issues?

If we are able to make a release with this dependency how are we not allowed to 
distribute the binaries?

--emi

‐‐‐ Original Message ‐‐‐

On 11 April 2018 9:39 AM, Antonio  wrote:

> Hi all,
> 
> In order to understand this long thread (about NETBEANS-330 [1]) I tried
> 
> to summarize it. Please review and send corrections & questions as
> 
> appropriate.
> 
> Kind regards,
> 
> Antonio
> 
> == Objectives
> 
> Host the NetBeans 9.0 Update Center on Apache infrastructure.
> 
> == Constraints/facts/options
> 
> -   We cannot host it on a website due to bandwidth requirements of 3-5
> 
> Tb/month.
> 
> -   We must use the Apache Mirror system and their "closer.cgi,
> 
> closer.lua" cgi scripts [2] to select the closest mirror to the user.
> 
> This script can either redirect directly to the closest binary file
> 
> (ready to download), or return a JSON response with a list of closest
> 
> mirrors.
> 
> -   Distributing through the Apache Mirror system requires a proper
> 
> release, with voting, approval and signing, etc.
> 
> -   Geertjan says that prior to the final release we could do an rc
> 
> release to have this feature tested.
> 
> -   The UC catalog xml file can be hosted in the mirror system. For this
> 
> to work the catalog xml file must contain relative paths, so when aged
> 
> releases are moved away from the mirror system and into the archive
> 
> things keep working.
> 
> -   We can HTTP redirect to the proper catalog.xml file...
> 
> a) ... From our website, redirecting to the Apache mirror system or to
> 
> the archive with an .htaccess file (under our control).
> 
> b) ... Idem, by asking infra to modify our server configuration (more
> 
> performant but requires Infra tickets).
> 
> c) ... Using a script of ours hosted at the "VM" (a web server ours
> 
> currently hosting selenium), that may also track/log some statistics.
> 
> -   The NetBeans UC module will make a request for the XML file to our
> 
> website, from there will be redirected to the mirror/archive. Later on
> 
> it will build up proper URLs (using some prefix and the relative paths
> 
> inside the catalog xml file) for the final NBM downloads.
> 
> -   Mirror download statistics may be currently downloaded from
> 
> https://www.apache.org/dyn/stats/netbeans.log
> 
> -   Web server statistics are available through a very detailed request to
> 
> infra. They say they're not in the "counting business" :-)
> 
> -   Jan is working in NBM generation (with NOTICE & LICENSE, etc.).
> 
> Jenkins now generates these artifacts:
> 
> https://builds.apache.org/view/Incubator 
> Projects/job/incubator-netbeans-linux/lastSuccessfulBuild/artifact/nbbuild/nbms/
> 
> == Open issues & questions
> 
> 1- It seems we won't be able to host some OSGi bundles in the mirror
> 
> system due to licensing issues?
> 
> 2- Mirrors are not as reliable as a CDN: files can be corrupt, or
> 
> whatever. The UC module should verify the integrity of the downloaded
> 
> files, etc.
> 
> 3- We may want to select a small set of NBM files for the first run, to
> 
> workaround previous licensing problems.
> 
> [1]
> 
> https://issues.apache.org/jira/browse/NETBEANS-330
> 
> [2]
> 
> https://reference.apache.org/pmc/mirror_scripts
> 
> On 05/04/18 14:38, Geertjan Wielenga wrote:
> 
> 
> > Hi all,
> > 
> > We need to nail down this one and I think the key blocker is that there are
> > 
> > different ideas about what this is about:
> > 
> > https://issues.apache.org/jira/browse/NETBEANS-330
> > 
> > The above is not about the Plugin Portal.
> > 
> > If I understand it correctly, this is about where the NBMs (which ones? how
> > 
> > many? do we know?) and the related XML file (a.k.a. update center) will be
> > 
> > hosted.
> > 
> > AFAIK, the XML file and the NBMs could be put onto our Apache NetBeans VM
> > 
> > just like Synergy:
> > 
> > http://netbeans-vm.apache.org/synergy
> > 
> > The key question remains, which NBMs are we talking about here, applicable
> > 
> > to the 9.0 release, I think.
> > 
> > Thanks,
> > 
> > Gj
> 
> --
> 
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> 
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> 
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: