You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Neil C Smith <ne...@apache.org> on 2019/05/16 08:17:52 UTC

Release process - update center configuration problem?

Hi,

As part of preparing for the next release (or more accurately,
preparing me for it!) I'm looking through
https://cwiki.apache.org/confluence/display/NETBEANS/Apache+NetBeans+Release+README
and will make some edits soon (eg. removing incubating where
necessary)

In #7 we have the following two lines for the update center configuration -

curl https://dist.apache.org/repos/dist/release/incubator/netbeans/incubating-netbeans/incubating-11.0/nbms/updates.xml.gz
-o updates.xml.gz
echo ' RedirectMatch ^/uc/11.0/(.*)(\?.*)?$
http://www.apache.org/dyn/closer.lua?action=download&filename=incubator/netbeans/incubating-netbeans/incubating-11.0/nbms/$1'
> .htaccess

Unless I'm missing something here, either the first line is
superfluous or the second line is wrong?!  What is the intention here?
 To serve updates.xml.gz from the VM or the distribution mirrors?
Should the redirect just be on *.nbm?

This obviously relates to recent thread on users being banned too.

Best wishes,

Neil

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

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




Re: Release process - update center configuration problem?

Posted by Antonio <an...@vieiro.net>.

El 16/05/2019 a las 11:37, Neil C Smith escribió:
> On Thu, 16 May 2019 at 10:19, Antonio <an...@vieiro.net> wrote:
> Thanks!  That doesn't actually answer the question of where it is/was
> intended for update.xml.gz to be downloaded from though?  It kind of
> suggests it was intended to be only for nbm files?  It does rule out
> my suggestion to hard code the redirect to the mirror in the catalog
> though!
> 

I can't remember whether the update.xml.gz file was expected to be 
hosted in apache.netbeans.org, netbeans-vm.apache.org or in the mirrors.

Maybe NETBEANS-330 [1] is of help for the rationale of this. Jiri was 
leading this, so he may know.

If you find out please update the Confluence page so everybody know 
where the update.xml.gz file is to be hosted.

Thanks,
Antonio

[1]
https://issues.apache.org/jira/browse/NETBEANS-330


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

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




Re: Release process - update center configuration problem?

Posted by Neil C Smith <ne...@apache.org>.
On Thu, 16 May 2019 at 10:19, Antonio <an...@vieiro.net> wrote:
> You may want to read the documentation of the Apache NetBeans Update
> Center in the "infra" section at [1].

Thanks!  That doesn't actually answer the question of where it is/was
intended for update.xml.gz to be downloaded from though?  It kind of
suggests it was intended to be only for nbm files?  It does rule out
my suggestion to hard code the redirect to the mirror in the catalog
though!

> AFAIK the "users being banned" is just for a single user (out of
> thousands) and seems related to the "closer.lua" script, not redirections.

Maybe.  The question is whether it was intended be redirecting to
closer.lua at all for the catalog file though.  If it is, then I'm
trying to understand the reason for also having it on the VM.

I thought I had the same issue using the Ant build harness too, but
tracing it it seems to be a different (earlier) redirect problem - and
that consistently fails.  I need to try on a different network
sometime, or get feedback from someone using the same feature.

Best wishes,

Neil

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

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




Re: Release process - update center configuration problem?

Posted by Antonio <an...@vieiro.net>.
Hi,

You may want to read the documentation of the Apache NetBeans Update 
Center in the "infra" section at [1].

AFAIK the "users being banned" is just for a single user (out of 
thousands) and seems related to the "closer.lua" script, not redirections.

Cheers,
Antonio

[1]
https://cwiki.apache.org/confluence/display/NETBEANS/Update+Center+and+Statistics

El 16/05/2019 a las 10:17, Neil C Smith escribió:
> Hi,
> 
> As part of preparing for the next release (or more accurately,
> preparing me for it!) I'm looking through
> https://cwiki.apache.org/confluence/display/NETBEANS/Apache+NetBeans+Release+README
> and will make some edits soon (eg. removing incubating where
> necessary)
> 
> In #7 we have the following two lines for the update center configuration -
> 
> curl https://dist.apache.org/repos/dist/release/incubator/netbeans/incubating-netbeans/incubating-11.0/nbms/updates.xml.gz
> -o updates.xml.gz
> echo ' RedirectMatch ^/uc/11.0/(.*)(\?.*)?$
> http://www.apache.org/dyn/closer.lua?action=download&filename=incubator/netbeans/incubating-netbeans/incubating-11.0/nbms/$1'
>> .htaccess
> 
> Unless I'm missing something here, either the first line is
> superfluous or the second line is wrong?!  What is the intention here?
>   To serve updates.xml.gz from the VM or the distribution mirrors?
> Should the redirect just be on *.nbm?
> 
> This obviously relates to recent thread on users being banned too.
> 
> Best wishes,
> 
> Neil
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

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