Hi,

Thanks for thoughts.

On Sat, 30 May 2020 at 17:27, antonio <[email protected]> wrote:
> As far as I understand the PP2 will remain untouched. This is so because
> URLs are already fixed in code and because NetBeans < 12.0 uses plain
> http for plugins, whereas 12.0+ uses https.

It's only fixed in code for 11.0 and below.  I'm fairly sure the JSON
file is accurate for the old builds too thanks to Eric -
https://github.com/apache/netbeans-jenkins-lib/blob/master/meta/netbeansrelease.json

I switched plugins to https and via NAO in 11.1.

As soon as we decide to stop supporting 11.0 we're in a better
position, although that links direct to old plugin portal anyway.

> What about this?
>
> https://NAO/nb/updates/dev -302-> https://PNAO/dev/updates
> https://NAO/nb/plugins/dev -302-> https://PNAO/dev/plugins
> https://NAO/nb/updates -302-> https://PNAO/12.0/updates
> https://NAO/nb/plugins -302-> https://PNAO/12.0/plugins

We already redirect updates via the NetBeans VM - there's probably no
point in hitting the plugin centre for it - the NBMs are actually
downloaded from Apache mirrors for all releases.  But the catalog XML
file itself must be on the VM.

Also, the point would be to have updates/12.0, updates/dev, etc. on
the other end so we can blanket redirect nb/plugins/* and nb/updates/*
 We only need two redirects then.

> Of course this will require hosting the binaries in PNAO (which may be
> somewhat slow, but faster than hosting them in the Jenkins builds).

Release update NBMs are already served by the Apache mirrors.  The key
thing served from Jenkins for dev (as is already the case with all the
12.0 betas) would be the catalog XML for update checking.  Unless a
spec version in that is updated, no NBM will be downloaded.  It will
be a seldom used testing thing for developers, if it's useful at all?!
 And we could just keep the dev UC pointing at the last release 12.0
as we have done.  It's just better if we can handle this on the other
end with the others, rather than treat dev differently IMO.

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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



Reply via email to