fbca0ee885a9c343e160f7ab7d584d44fa1cf8a5 mspeir Thu Sep 3 18:36:22 2026 -0700 trackLists: emit the page in the standard static-page style, refs #37781 Drops the hand-rolled stylesheet and uses the house shape instead: the gbPageStart/gbPageEnd SSI includes for the menu bar and footer, h2 per section with an h6 contents list, and bare tables, which gbStatic.css already styles through the .gbsPage wrapper. Source is ASCII-only, lowercase tags, and no line over 100 characters, per the QA conventions; long cells wrap rather than run off. The deploy step now chmods the page to 775. Apache runs the SSI includes on a .html file only when its execute bit is set (XBitHack), so without it the page is served verbatim and the reader gets bare content with no menu bar and no stylesheets. allTips.html is in that state on the RR today, which is how the behaviour came to light. Co-Authored-By: Claude Opus 5 (1M context) diff --git src/hg/utils/otto/trackLists/README.txt src/hg/utils/otto/trackLists/README.txt index 6727cf595f2..e73e96178fb 100644 --- src/hg/utils/otto/trackLists/README.txt +++ src/hg/utils/otto/trackLists/README.txt @@ -39,26 +39,32 @@ The GenArk crawl walks /gbdb/genark and takes more than ten minutes, so it is cached in cache/contrib.txt and re-run only when the cache is over a week old (--refresh-contrib forces it). The crawl writes to a temp file and renames, because a crawl cut short mid-write leaves a shorter list that still looks plausible. hgdownload directory listings are cached for a day. A run that hits warm caches takes a couple of minutes; a cold run with the crawl takes fifteen or so. Publishing ---------- The script writes /usr/local/apache/htdocs/trackLists.html on hgwdev. Pushing that to the RR needs a /root/AutoPush script added to /etc/crontab by cluster-admin; ask them for it, and use the existing lines as the template (tipsAutoPush, thumbNailAutoPush, asmAliasAutoPush). +The page must be mode 775 in htdocs. Apache runs the SSI includes on a .html +file only when its execute bit is set (XBitHack); without it the page is served +verbatim and the reader sees the bare content with no menu bar and no +stylesheets. allTips.html is in exactly that state on the RR today, so this is +an easy mistake to repeat. trackLists.sh chmods the page after copying it. + The generated page is deliberately not in the kent tree. That matches the other generated pages: allTips.html and thumbNailLinks.html live only in htdocs and are not tracked in git. Only the generator is committed. (assemblyRequest.html looks like a precedent but is not one; it is now just a redirect stub.) Where the page should finally live is not settled. The ticket says only that it is "autoPushed out on a cycle and linked to the mirror site", naming no path, so the top-level htdocs location here is a choice, not a requirement, and it can be moved. The natural reading of "the mirror site" is a link from goldenPath/help/mirror.html, but that is an inference from Lou's wording rather than something the ticket states.