You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Matthias Bläsing <mb...@doppel-helix.eu> on 2021/01/28 20:54:54 UTC

Disabled mirroring of hg.netbeans.org -> netbeans.osuosl.org (was: Re: Missing platform-launchers-12.2.zip?)

Hi,

Am Mittwoch, den 27.01.2021, 17:25 +0100 schrieb Svata Dedic:
> in fact all the binaries are present at 
> https://ftp.osuosl.org/pub/netbeans/binaries/ but are not linked from 
> the web (see note at 
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=115507251).
> 
> If someone suggests a procedure how to refresh the index file info, I'll 
> do that (neither README or confluence page gave a guidance). The 
> 'index.html*' files regenerated somehow today, but do not include link 
> for the added files.

it should be fixed now. There was a cronjob, that mirrored the content
of https://hg.netbeans.org/binaries/ to
https://netbeans.osuosl.org/binaries/. The mirroring was done using a
one level deep recursive wget. That also happily created the index
files from hg.netbeans.org. As hg.netbeans.org is not used anymore to
upload files, it only held the old binaries and this was reflected in
the index files.

The relevant file is crontab-sync.sh, which was called from the upload
users crontab. I disabled the the call in the crontab, created a
directory "unused" and moved the now unused scripts there.

Greetings

Matthias


---------------------------------------------------------------------
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: Disabled mirroring of hg.netbeans.org -> netbeans.osuosl.org (was: Re: Missing platform-launchers-12.2.zip?)

Posted by Neil C Smith <ne...@apache.org>.
On Tue, 9 Feb 2021 at 13:48, Eric Bresie <eb...@gmail.com> wrote:
> I appreciate the mirroring of the binaries (based on recent GitPackages
> discussion)....however this still makes me wonder why is are these mirrored
> binaries needed and why not just use another existing (maven) repository
> with the artifacts?

We already do support using artefacts from Maven Central, and you'll
find them in use across the build.  I'm not sure if there's a list
somewhere of what still isn't and why?

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: Disabled mirroring of hg.netbeans.org -> netbeans.osuosl.org (was: Re: Missing platform-launchers-12.2.zip?)

Posted by Matthias Bläsing <mb...@doppel-helix.eu>.
Hi Eric,

Am Dienstag, den 09.02.2021, 07:48 -0600 schrieb Eric Bresie:
> I appreciate the mirroring of the binaries (based on recent GitPackages
> discussion)....however this still makes me wonder why is are these mirrored
> binaries needed and why not just use another existing (maven) repository
> with the artifacts?

the assumption, that there is another repository is just not correct.
Most artifacts still distributed from that system are custom build.

This can give you a list of files, that are not on maven central:

find . -name binaries-list | xargs grep -h -v "^#" | egrep -v ".*:.*:.*"  | sort -u  | cut --delimiter=" " -f2

There are some, that come from the contrib directory, but the main
build also needs binaries from the osuosl server.

Matthias


---------------------------------------------------------------------
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: Disabled mirroring of hg.netbeans.org -> netbeans.osuosl.org (was: Re: Missing platform-launchers-12.2.zip?)

Posted by Eric Bresie <eb...@gmail.com>.
I appreciate the mirroring of the binaries (based on recent GitPackages
discussion)....however this still makes me wonder why is are these mirrored
binaries needed and why not just use another existing (maven) repository
with the artifacts?

Using these repositories could address having newer already built
artifacts.

If it they are unavailable (raising a ticket to resolve that), then for
legacy support I could see using it until such time as an alternative
artifact can be identified and/or replacing the older dependency.

Eric

On Thu, Jan 28, 2021 at 2:55 PM Matthias Bläsing <mb...@doppel-helix.eu>
wrote:

> Hi,
>
> Am Mittwoch, den 27.01.2021, 17:25 +0100 schrieb Svata Dedic:
> > in fact all the binaries are present at
> > https://ftp.osuosl.org/pub/netbeans/binaries/ but are not linked from
> > the web (see note at
> >
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=115507251
> ).
> >
> > If someone suggests a procedure how to refresh the index file info, I'll
> > do that (neither README or confluence page gave a guidance). The
> > 'index.html*' files regenerated somehow today, but do not include link
> > for the added files.
>
> it should be fixed now. There was a cronjob, that mirrored the content
> of https://hg.netbeans.org/binaries/ to
> https://netbeans.osuosl.org/binaries/. The mirroring was done using a
> one level deep recursive wget. That also happily created the index
> files from hg.netbeans.org. As hg.netbeans.org is not used anymore to
> upload files, it only held the old binaries and this was reflected in
> the index files.
>
> The relevant file is crontab-sync.sh, which was called from the upload
> users crontab. I disabled the the call in the crontab, created a
> directory "unused" and moved the now unused scripts there.
>
> Greetings
>
> Matthias
>
>
> ---------------------------------------------------------------------
> 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
>
>
>
> --
Eric Bresie
ebresie@gmail.com