On Mon, 1 Sep 2025, Jonathan Wakely wrote: >>>> -rw-rw-r--. 1 gccadmin gcc 1132364 2. Jun 2015 lwg-active.html >>>> -rw-rw-r--. 1 gccadmin gcc 1414040 2. Jun 2015 lwg-closed.html >>>> -rw-rw-r--. 1 gccadmin gcc 4344911 2. Jun 2015 lwg-defects.html >> I just recalled that in 2017 you were in favor of removing these: >> >> https://gcc.gnu.org/legacy-ml/libstdc++/2017-01/msg00165.html > Ah yes, and you removed them in r7-6571-gca314fbd250943 so the files > really are orphans from an old installation of the docs. > > Those three can be removed then.
Great memory teamwork - and the power of open source and transparency with public lists and git. :-) I removed those three ... On Mon, 1 Sep 2025, Jonathan Wakely wrote: >> drwxrwxr-x. 2 gccadmin gcc 20480 25. Mai 2011 pb_ds > The pb_ds docs were converted from HTML files under > libstdc++/doc/html/ext/pb_ds to part of the XML DocBook manual in 2011 > with r0-110490-gce1140e3f2f7cd so that directory looks like a > leftover from before then. So that can be removed too. ... and this (onlinedocs/libstdc++/ext/pb_ds) and also the now empty ext/ directory. >> $ ll /www/gcc/htdocs/onlinedocs/libstdc++/dated/ >> drwxrwsr-x. 2 gccadmin gcc 4096 15. Jul 2010 17_intro : > I think these were all removed by r0-85736-g620039adfb7162 (or even > earlier) so I think the whole 'dated' dir can go. Gone as well. >> And there is /www/gcc/htdocs/onlinedocs/libstdc++/latest-doxygen/ >> where everything is one year, eight days old. > That symlink (and the dir it points to) should stay. Roger that. For reference, below what I am going to push and run on gcc.gnu.org. (I'll also send a proper patch to gcc-patches.) Gerald diff --git a/maintainer-scripts/update_web_docs_libstdcxx_git b/maintainer-scripts/update_web_docs_libstdcxx_git index 570e7fffb13..6fbf2f84ecb 100755 --- a/maintainer-scripts/update_web_docs_libstdcxx_git +++ b/maintainer-scripts/update_web_docs_libstdcxx_git @@ -35,8 +35,9 @@ cd $WORKDIR git -C $GITROOT archive master $GETTHIS | tar xf - cd $GETTHIS -# copy the tree to the onlinedocs area, preserve directory structure -find . -depth -print | cpio -pd $WWWDIR 2>&1 | egrep -v "$FILTER" +# Copy the tree to the libstdc++ onlinedocs area and remove orphans (taking +# care to keep some directories coming from a different source). +rsync -ahv --delete-after -f '- /images/*' -f '- /libstdc*' -f '- latest-doxygen' . $WWWDIR 2>&1 | egrep -v "$FILTER" err=${PIPESTATUS[1]} if [ $err -gt 0 ]; then