Hi,
 I'm not sure how to manage that. Some sample are one file "easy to put on 
website" others are zip files.

We may have a repo this is not hard to setup. I think donation 3 included 
tutorial but was it also intended for the sample code ?

Having all the source is one point but the user of zipped files still needs 
them in zipped form that implies release.

Best regards
Eric


-----Message d'origine-----
De : Eric Bresie <ebre...@gmail.com> 
Envoyé : dimanche 26 février 2023 15:29
À : dev@netbeans.apache.org
Cc : Michael Bien <mbie...@gmail.com>
Objet : Re: Documentation Review Questions

Regarding source...

If the files on archive.org have reasonable licenses, could they be downloaded 
/ "forked" from the archived files and then updated as needed?
For those without, can they be recreated?

Given over time things have changed (i.e. deprecated APIs, change in 
development [layer.xml / annotations], etc.), maybe just "follow the tutorial", 
create new source code as we go, and add applicable Apache license in place, 
and check in?

But how would that integrate with the netbeans-website links (i.e. ascii doc 
link to github blob file location)?

Would it just be better to have a "src" folder under the netbeans-website and 
check in under that?  Or for each tutorial, have a "src" under each?
There seem to be some source (like
https://github.com/apache/netbeans-website/blob/master/netbeans.apache.org/src/old_content/content/tutorials/80/images/vislib_ShapeNode.java
) but not only is this "old_content", but sure that's right way to capture it 
(i.e. under "images"?).

Eric Bresie
ebre...@gmail.com


On Sat, Feb 25, 2023 at 11:27 AM Antonio <anto...@vieiro.net.invalid> wrote:

> Agreed!
>
> We'll need a sample code repo... and sample code! :-)
>
> Cheers,
> Antonio
>
> On 25/2/23 18:19, Michael Bien wrote:
> > some tutorials link to archive.org I believe. But this is just a 
> > workaround and shouldn't stay like that IMO.
> >
> > Sooner or later we are going to need a sample code repo - I agree.
>
> ---------------------------------------------------------------------
> 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



Reply via email to