Seems pretty straightforward, but it's 1AM here in my timezone 🙂. So, I will probably get to this sometime in the next few days, maybe over the weekend.
Thanks, Peter ________________________________ From: antonio <anto...@vieiro.net> Sent: Tuesday, January 25, 2022 1:04 AM To: dev@netbeans.apache.org <dev@netbeans.apache.org> Subject: Re: "Original" NB tutorials? Of course! images.tgz: https://ufile.io/twj9inhm tutorials.tgz: https://ufile.io/qpk1abf3 Note that "tutorials.tgz" has the original HTML file of each tutorial (i.e., not transformed to asciidoc). For instance "nbm-java-hint.html" is related to "nbm-java-hint.asciidoc" now [1]. What I was thinking is that it would be easier to scan the images in each asciidoc file (with a sed script), find the proper equivalent in "images.tgz", copy the proper image (with a prefix that could be the name of the tutorial, for instance) and update the asciidoc file. Let me know if you need any assistance on this. Thanks & kind regards, Antonio [1] https://github.com/apache/netbeans-website/blob/master/netbeans.apache.org/src/content/tutorials/nbm-java-hint.asciidoc El 25/1/22 a las 8:49, Peter Blemel escribió: > Antonio, > > I have much experience with sed/etc and moving files around en-masse on the > file system using scripting. If you want, I can probably write a script to > give each graphic/illustration a unique name based on its original folder and > merge the directories in pretty short order. I'd just need to get a > tarball/zip of everything from you. > > Peter > > ________________________________ > From: antonio <anto...@vieiro.net> > Sent: Tuesday, January 25, 2022 12:42 AM > To: dev@netbeans.apache.org <dev@netbeans.apache.org> > Subject: Re: "Original" NB tutorials? > > Hi Peter, > > Thanks for detecting this! > > The "/tutorials" path in netbeans.apache.org comes from > "http://platform.netbeans.org/tutorials", this is, it comes from the > domain "platform.netbeans.org" and not from > "www.netbeans.org<http://www.netbeans.org<http://www.netbeans.org<http://www.netbeans.org>>". > So these > are not available in Wade Chandler's copy of > "www.netbeans.org<http://www.netbeans.org<http://www.netbeans.org<http://www.netbeans.org>>". > > The "platform.netbeans.org" web comes from these two svn repositories: > > - https://svn.netbeans.org/svn/platform~platform-content/trunk/tutorials/ > - https://svn.netbeans.org/svn/platform~platform-content/trunk/images/ > > These are not currently available now, but we're lucky I still keep a > clone of these repositories on my hard disk and, as you say, images do > indeed come from different directories and were overwroten in the migration. > > These are 1476 tutorials (for different NetBeans versions which are now > outdated) and possibly even for different languages [1]. > > I'll see what I can do to recover the proper images in each tutorial. > > Thanks & kind regards, > Antonio > > > > [1] > The nbm-java-hint tutorial has these versions online > > https://netbeans.apache.org/tutorials/67/nbm-java-hint.html > https://netbeans.apache.org/tutorials/68/nbm-java-hint.html > https://netbeans.apache.org/tutorials/691/nbm-java-hint.html > https://netbeans.apache.org/tutorials/69/nbm-java-hint.html > https://netbeans.apache.org/tutorials/70/nbm-java-hint.html > https://netbeans.apache.org/tutorials/71/nbm-java-hint.html > https://netbeans.apache.org/tutorials/72/nbm-java-hint.html > https://netbeans.apache.org/tutorials/73/nbm-java-hint.html > https://netbeans.apache.org/tutorials/74/nbm-java-hint.html > https://netbeans.apache.org/tutorials/80/nbm-java-hint.html > https://netbeans.apache.org/tutorials/nbm-java-hint.html > > > > > El 24/1/22 a las 15:50, Peter Blemel escribió: >> I haven't been through all of the tutorials, but many of the ones that I've >> been looking at have problems. For example, >> https://netbeans.apache.org/tutorials/nbm-javacc-lexer.html has "stock >> trader" graphics. >> https://netbeans.apache.org/tutorials/nbm-copyfqn.html has "POV Ray" >> graphics >> https://netbeans.apache.org/tutorials/nbm-code-completion.html Stock trader >> https://netbeans.apache.org/tutorials/nbm-java-hint.html Stock trader >> and so on. >> >> It looks like the tutorials each used to live in its own directory, many >> using the same file name for their individual graphics - which was fine >> because the directory structure at the time kept the file names from >> colliding with each other. When they were subsequently all put into one >> folder, files with the same name became a problem. Each tutorial copied into >> the directory overwrote files already there. Now they all link to the same >> graphic because the individual graphics were not renamed. > > --------------------------------------------------------------------- > 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