Message ID | 20240707211059.90E8733EA6@hamza.pair.com |
---|---|
State | New |
Headers | show |
Series | [pushed] maintainer-scripts: Switch bug reporting URL to https | expand |
On Sun, 7 Jul 2024, Gerald Pfeifer wrote: > However, wouldn't it be so much better if we could import (or "import") > BUGURL from gcc/ where it is also set? Yes, it would seem reasonable to parse the ACX_BUGURL line in gcc/configure.ac. (It's not obvious that the URL should change more frequently than that line changes for other reasons that might break the parsing - but still, if there's an obvious error for failing to parse a plausible URL, that might be better than having the information in two places. The parsing would need to take place after update_web_docs_git clones the repository, and before it removes all files that are not documentation sources - or alternatively, consider gcc/configure.ac to be part of the documentation sources and so don't remove it at that stage.
diff --git a/maintainer-scripts/update_web_docs_git b/maintainer-scripts/update_web_docs_git index c651e567424..0d7b6c90fe9 100755 --- a/maintainer-scripts/update_web_docs_git +++ b/maintainer-scripts/update_web_docs_git @@ -45,7 +45,7 @@ MANUALS="cpp libiberty porting" -BUGURL="http://gcc.gnu.org/bugs/" +BUGURL="https://gcc.gnu.org/bugs/" CSS=/texinfo-manuals.css WWWBASE=${WWWBASE:-"/www/gcc/htdocs"}