Re: GitHub Actions not run

2021-01-03 Thread Tomáš Procházka

Good news - Infra guys approved setup-php action and workflow runs again:

https://github.com/apache/netbeans/actions/runs/459628332

Tom

On 02. 01. 21 16:26, Tomáš Procházka wrote:
I can't read the message (I'm not committer so no ASF account), but 
notice at https://infra.apache.org/github-actions-secrets.html gives 
rough idea.


This issue already requested approval of setup-php action: 
https://issues.apache.org/jira/browse/INFRA-21253


With Regards,

Tom

On 29. 12. 20 12:53, Neil C Smith wrote:

On Tue, 29 Dec 2020 at 09:15, Tomáš Procházka  wrote:

Can anyone with knowledge and permissions permit use of
"shivammathur/setup-php", please.

Probably not.  Yes, infra changes to be aware of there - see
https://lists.apache.org/thread.html/r900f8f9a874006ed8121bdc901a0d1acccbb340882c1f94dad61a5e9%40%3Cusers.infra.apache.org%3E 


  You'll need an ASF account to read it.

Possibly needs forking into an ASF repo, or other options investigated?

Best wishes,

Neil



-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

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





Re: Work on Python [NETBEANS-4538] - Licenses for Python Code

2021-01-03 Thread Geertjan Wielenga
Yes, I’ve asked for him to provide an update. However, ETAs don’t really
work for these kinds of things — it’s going to take quite a while still, I
believe. And, even then, it will take a lot of work to integrate into
NetBeans. Probably an LSP based approach might work better, i.e., starting
from scratch.

Gj

On Sun, 3 Jan 2021 at 22:06, John Mc  wrote:

> Geertjan,
>
> Is the person responsible for Oracle on the mailing list? is there any way
> to get an ETA on it?  While we know it takes a while, we've not had much
> info on this donation in a long time...
>
> Regards
>
> John
>
> On Sun, 3 Jan 2021 at 21:04, Geertjan Wielenga 
> wrote:
>
> > Yes, it is in the next and final donation, the 6th donation. Others in
> > Oracle have taken over the task from me and as always this is going to
> take
> > some time. I recommend you forget about Python for a while and look at
> > other things — really try to pick one thing, just one thing, not a
> massive
> > thing, but a small thing, to focus on.
> >
> > My 2c.
> >
> > Gj
> >
> > On Sun, 3 Jan 2021 at 20:45, Eric Bresie  wrote:
> >
> > > Geertjan, what is the status of Donation 6? And is the status still
> > > tracked at the link below?  The page doesn't show who is assigned to
> the
> > > work so not sure who to ask on this for further details.
> > >
> > > If the donation is complete, where are the zip file(s)?
> > >
> > > Eric Bresie
> > > ebre...@gmail.com
> > >
> > >
> > > On Sat, Jan 2, 2021 at 12:24 PM John Mc 
> > wrote:
> > >
> > >> Might be one for Geertjan, to see how took over ownership in Oracle
> for
> > >> managing the donations when he left...
> > >>
> > >> Regards
> > >>
> > >> John
> > >>
> > >> On Sat 2 Jan 2021, 18:00 Eric Bresie,  wrote:
> > >>
> > >> > > EB ==> Okay sounds like a big misunderstanding on my part (assumed
> > hg
> > >> > > > was a
> > >> > > > valid "donation" source which is not the case)
> > >> > > > EB ==> Where are the officially donated .zip file for the python
> > >> > > > (contrib)
> > >> > > > files?
> > >> > > > EB ==> I find some details here (1) but beyond that I don't see
> > more
> > >> > > > specifics.
> > >> > > > EB ==> (1)
> > >> > > >
> > >>
> https://cwiki.apache.org/confluence/display/NETBEANS/Apache+Transition
> > >> > >
> > >> > > The python modules are part of the 6th donation package, which has
> > not
> > >> > > been done yet (at least to my knowledge).
> > >> > >
> > >> >
> > >> > Can anyone speak on the status of donation 6 then?
> > >> >
> > >> > Eric
> > >> >
> > >>
> > >
> >
>


Re: Work on Python [NETBEANS-4538] - Licenses for Python Code

2021-01-03 Thread John Mc
Geertjan,

Is the person responsible for Oracle on the mailing list? is there any way
to get an ETA on it?  While we know it takes a while, we've not had much
info on this donation in a long time...

Regards

John

On Sun, 3 Jan 2021 at 21:04, Geertjan Wielenga  wrote:

> Yes, it is in the next and final donation, the 6th donation. Others in
> Oracle have taken over the task from me and as always this is going to take
> some time. I recommend you forget about Python for a while and look at
> other things — really try to pick one thing, just one thing, not a massive
> thing, but a small thing, to focus on.
>
> My 2c.
>
> Gj
>
> On Sun, 3 Jan 2021 at 20:45, Eric Bresie  wrote:
>
> > Geertjan, what is the status of Donation 6? And is the status still
> > tracked at the link below?  The page doesn't show who is assigned to the
> > work so not sure who to ask on this for further details.
> >
> > If the donation is complete, where are the zip file(s)?
> >
> > Eric Bresie
> > ebre...@gmail.com
> >
> >
> > On Sat, Jan 2, 2021 at 12:24 PM John Mc 
> wrote:
> >
> >> Might be one for Geertjan, to see how took over ownership in Oracle for
> >> managing the donations when he left...
> >>
> >> Regards
> >>
> >> John
> >>
> >> On Sat 2 Jan 2021, 18:00 Eric Bresie,  wrote:
> >>
> >> > > EB ==> Okay sounds like a big misunderstanding on my part (assumed
> hg
> >> > > > was a
> >> > > > valid "donation" source which is not the case)
> >> > > > EB ==> Where are the officially donated .zip file for the python
> >> > > > (contrib)
> >> > > > files?
> >> > > > EB ==> I find some details here (1) but beyond that I don't see
> more
> >> > > > specifics.
> >> > > > EB ==> (1)
> >> > > >
> >> https://cwiki.apache.org/confluence/display/NETBEANS/Apache+Transition
> >> > >
> >> > > The python modules are part of the 6th donation package, which has
> not
> >> > > been done yet (at least to my knowledge).
> >> > >
> >> >
> >> > Can anyone speak on the status of donation 6 then?
> >> >
> >> > Eric
> >> >
> >>
> >
>


Re: Work on Python [NETBEANS-4538] - Licenses for Python Code

2021-01-03 Thread Geertjan Wielenga
Yes, it is in the next and final donation, the 6th donation. Others in
Oracle have taken over the task from me and as always this is going to take
some time. I recommend you forget about Python for a while and look at
other things — really try to pick one thing, just one thing, not a massive
thing, but a small thing, to focus on.

My 2c.

Gj

On Sun, 3 Jan 2021 at 20:45, Eric Bresie  wrote:

> Geertjan, what is the status of Donation 6? And is the status still
> tracked at the link below?  The page doesn't show who is assigned to the
> work so not sure who to ask on this for further details.
>
> If the donation is complete, where are the zip file(s)?
>
> Eric Bresie
> ebre...@gmail.com
>
>
> On Sat, Jan 2, 2021 at 12:24 PM John Mc  wrote:
>
>> Might be one for Geertjan, to see how took over ownership in Oracle for
>> managing the donations when he left...
>>
>> Regards
>>
>> John
>>
>> On Sat 2 Jan 2021, 18:00 Eric Bresie,  wrote:
>>
>> > > EB ==> Okay sounds like a big misunderstanding on my part (assumed hg
>> > > > was a
>> > > > valid "donation" source which is not the case)
>> > > > EB ==> Where are the officially donated .zip file for the python
>> > > > (contrib)
>> > > > files?
>> > > > EB ==> I find some details here (1) but beyond that I don't see more
>> > > > specifics.
>> > > > EB ==> (1)
>> > > >
>> https://cwiki.apache.org/confluence/display/NETBEANS/Apache+Transition
>> > >
>> > > The python modules are part of the 6th donation package, which has not
>> > > been done yet (at least to my knowledge).
>> > >
>> >
>> > Can anyone speak on the status of donation 6 then?
>> >
>> > Eric
>> >
>>
>


Re: Bug reports with only exception log

2021-01-03 Thread Eric Bresie
Put a similar comment on the earlier infr ticket but was wondering if it
might help to have some of these made into fields needed which can be made
compulsory which if not entered would prevent creation of the ticket (i.e.
why create the ticket if all the info is not available)?

Eric Bresie
ebre...@gmail.com


On Sun, Jan 3, 2021 at 3:42 AM Tomáš Procházka  wrote:

> Thanks for the link. Proposed template looks good.
>
> I also proposed change to Participate page on website to promote issue
> validation as another way to help with NetBeans project.
>
> https://github.com/apache/netbeans-website/pull/514
>
> Tom
>
> On 03. 01. 21 2:47, John Neffenger wrote:
> > On 1/2/21 3:56 PM, Tomáš Procházka wrote:
> >> Having some form of guidance for reporter would be useful.
> >
> > Please see:
> >
> > INFRA-19430 - Add an issue description template
> > https://issues.apache.org/jira/browse/INFRA-19430
> >
> > I'm not sure what's still holding up the change, but it may help for
> > the infrastructure group to hear from someone besides Christian Lenz
> > and me.
> >
> > John
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> > For additional commands, e-mail: dev-h...@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-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: License Converter Tool Issues

2021-01-03 Thread Matthias Bläsing
Am Sonntag, den 03.01.2021, 13:39 -0600 schrieb Eric Bresie:
However I noticed the following possible further issues:
(1) When dealing with many of the properties files, it seemed to
strip comments starting with # all together.  Assume this may require
changes to the logic where it's replacing the header to avoid this.

It would help if you could provide a stand-alone sample, that
reproduces the problem. I won't comment one theoretic questions without
reference.

(2) If there is no header presently, it does not modify this. Assume
this would be a case where when an existing header is not present then
add
it as well where applicable

Running "ant rat" on a clean tree (no build artifacts) will check the
files for licenses. It highly depends on the number of files that are
affected whether or not automation will help. You will never get 100%
succcess for this, the tools are there to help, not make all work go
away.

(3) When iterating through, it seems to iterate through some binary
files (i.e. class and jar files).  Not sure if it tries to modify
these but seems like that might be unnecessary.  Maybe need some
additional
"exclude" logics with some defaults included in some way (maybe a
properties
file with exclusions or a parameter with exclusions included)

There should be no binaries in the tree when the tool runs - even so,
it should be trivial to exclude these, either from the
scan/modification or the final commit.

If I was to make some of these changes, are changes for this tracked
in the Netbeans JIRA (i.e. does a ticket need raising here or elsewhere
[git
Issue?]).  Or would making the changes with a PR suffice?

The netbeans-tools are a mixed bunch of code. For the convert tool
fixing it with a PR and maybe getting a second opinion should be
enough.

Greetings

Matthias


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

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





Re: Work on Python [NETBEANS-4538] - Licenses for Python Code

2021-01-03 Thread Eric Bresie
Geertjan, what is the status of Donation 6? And is the status still tracked
at the link below?  The page doesn't show who is assigned to the work so
not sure who to ask on this for further details.

If the donation is complete, where are the zip file(s)?

Eric Bresie
ebre...@gmail.com


On Sat, Jan 2, 2021 at 12:24 PM John Mc  wrote:

> Might be one for Geertjan, to see how took over ownership in Oracle for
> managing the donations when he left...
>
> Regards
>
> John
>
> On Sat 2 Jan 2021, 18:00 Eric Bresie,  wrote:
>
> > > EB ==> Okay sounds like a big misunderstanding on my part (assumed hg
> > > > was a
> > > > valid "donation" source which is not the case)
> > > > EB ==> Where are the officially donated .zip file for the python
> > > > (contrib)
> > > > files?
> > > > EB ==> I find some details here (1) but beyond that I don't see more
> > > > specifics.
> > > > EB ==> (1)
> > > >
> https://cwiki.apache.org/confluence/display/NETBEANS/Apache+Transition
> > >
> > > The python modules are part of the 6th donation package, which has not
> > > been done yet (at least to my knowledge).
> > >
> >
> > Can anyone speak on the status of donation 6 then?
> >
> > Eric
> >
>


License Converter Tool Issues

2021-01-03 Thread Eric Bresie
On Sat, Jan 2, 2021 at 11:56 AM Matthias Bläsing 
wrote:

> Hi,
>
> Am Samstag, den 02.01.2021, 11:38 -0600 schrieb Eric Bresie:
> > On Thu, Dec 31, 2020 at 1:41 AM Matthias Bläsing <
> > mblaes...@doppel-helix.eu>
> > wrote:
> >
> > > Am Mittwoch, den 30.12.2020, 16:24 -0600 schrieb Eric Bresie:
> > >
> > > Licenses from Oracle can be directly replaced, if there are files
> > > found, that are not owned by oracle, more analysis is required.
> > >
> > > See the "Convert" Tool, this might help with the correct mostly
> > > automatic translation:
> > >
> > >
> https://github.com/apache/netbeans-tools/blob/master/convert/src/convert/Convert.java
> > >
> > > This is part of the netbeans-tools repository:
> > >
> > > https://github.com/apache/netbeans-tools/
> > >
> > > And the whole project is here:
> > >
> > > https://github.com/apache/netbeans-tools/tree/master/convert
> > >
> >
> > EB ==>  Pulled the tool and started attempting to use this on the local
> > codebase.
> >
> > EB ==> However when attempting it finds a "META-INF\LICENSE" file without
> > an extension which when attempting the "name.indexOf(".") on the file
> > causes an index out of bound issue (i.e. there is no extension so checks
> on
> > specific extensions fails).
>
> Feel free to fix. The netbeans-tools repository is also just an Apache
> repository holding tools (as the name implies).


Okay with a minor tweak to account for this case I was able to get it to
iterate through each of the files and replace the header with the Apache
licenses in most cases.

However I noticed the following possible further issues:
(1) When dealing with many of the properties files, it seemed to strip
comments starting with # all together.  Assume this may require changes to
the logic where it's replacing the header to avoid this.
(2) If there is no header presently, it does not modify this. Assume this
would be a case where when an existing header is not present then add it as
well where applicable
(3) When iterating through, it seems to iterate through some binary
files (i.e. class and jar files).  Not sure if it tries to modify these but
seems like that might be unnecessary.  Maybe need some additional "exclude"
logics with some defaults included in some way (maybe a properties file
with exclusions or a parameter with exclusions included)

If I was to make some of these changes, are changes for this tracked in the
Netbeans JIRA (i.e. does a ticket need raising here or elsewhere [git
Issue?]).  Or would making the changes with a PR suffice?

Eric Bresie
ebre...@gmail.com


Netbean Java Modular (JPMS) Migration Functionality

2021-01-03 Thread Eric Bresie
Not sure if this is better here or in the user list but...

In Netbeans, are there any "tips", "hints" or "migration" features to help
in converting Java code (pre Java 9) to a Java Modular based module code?

If yes then where is this accessible or available?

If no (assume ticket might be needed), then assume basics would need to
support
(1) Generation/Read/Update of module-info.java files
(2) Support MANIFEST.MF Updates were applicable
(3) Support refactoring from reflective / internal classes interfaces to
new modularized java modules based code

Eric Bresie
ebre...@gmail.com


Re: [VOTE] Release 1.7.1 of NetBeans HTML/Java API

2021-01-03 Thread John Kostaras
Hallo.

Mac High Sierra (10.13.6).
JDK 8u221.

Build failed at last step, so after rebuilt (and removing
hs_err_pid12622.log from the crashed test):
mvn clean install -rf :webkit

build was successful.

Looking at the history I couldn't find the fix for the toc-tou. Isn't it
not included in this release?

Kind regards,

Ioannis.

On Sun, 3 Jan 2021 at 09:06, Anton Epple  wrote:

> +1
>
> Built on Mac OS X (10.15.7) with  openjdk 15.0.1
>
> Am 01.01.21, 12:29 schrieb "Anton Epple" :
>
> Hi,
>
>
>
> happy new year everyone. I hope it’s going to be a great year for all
> of you and for Apache NetBeans.
>
>
>
> Wouldn’t it be nice to start the new year with a new release ☺? I’d
> like to initialize voting for a bug fix release of html4j (Version 1.7.1).
>
>
>
> The sources of this release are available at:
>
>
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-html4j
>
>
>
> This is the tag in github:
>
>
>
> https://github.com/apache/netbeans-html4j/tree/release-1.7.1
>
>
>
> The staged Maven artefacts are at:
>
>
>
>
> https://repository.apache.org/content/repositories/orgapachenetbeans-1079/
>
>
>
>
>
> Please cast your vote during next 72h.
>
>
>
> Please help by verifying:
>
>
>
> ## checksums, signatures, etc.
>
>
>
> It’s the first time I’m signing those, so please help ensure I didn’t
> screw up.
>
>
>
> ## if it builds
>
>
>
> I used "mvn package -DskipTests" and the compilation should succeed on
> JDK11, JDK15
>
>
>
> ## if the tests pass
>
>
>
> Copying this from the last release as it still is true:
>
>
>
> Use "mvn package". They may not - especially the newly donated modules
> are
>
> very sensitive to surrounding environment. Getting them run on all
>
> important platforms may take some time.
>
>
>
> If you want to report your findings, then please include the version of
>
> operating system, version of JDK, version of the browser, etc. You may
> also
>
> want to run them individually. E.g. "mvn -f browser test" or "mvn -f
> webkit
>
> test".
>
>
>
> Best Regards and happy voting
>
>
>
> Toni Epple
>
>
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: Bug reports with only exception log

2021-01-03 Thread Tomáš Procházka

Thanks for the link. Proposed template looks good.

I also proposed change to Participate page on website to promote issue 
validation as another way to help with NetBeans project.


https://github.com/apache/netbeans-website/pull/514

Tom

On 03. 01. 21 2:47, John Neffenger wrote:

On 1/2/21 3:56 PM, Tomáš Procházka wrote:

Having some form of guidance for reporter would be useful.


Please see:

INFRA-19430 - Add an issue description template
https://issues.apache.org/jira/browse/INFRA-19430

I'm not sure what's still holding up the change, but it may help for 
the infrastructure group to hear from someone besides Christian Lenz 
and me.


John

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

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