651392e779790538b17faea2a79ffce9b6f01487 lrnassar Tue Dec 14 16:19:17 2021 -0800 Updating the hubCheck message to reflect it can take up to 20 minutes, refs #28646 diff --git src/hg/hgHubConnect/hgHubConnect.c src/hg/hgHubConnect/hgHubConnect.c index 74402b1..fcb25b5 100644 --- src/hg/hgHubConnect/hgHubConnect.c +++ src/hg/hgHubConnect/hgHubConnect.c @@ -1533,31 +1533,31 @@ puts("<link rel='stylesheet' href='../style/HGStyle.css' type='text/css'>"); printIncludes(); jsInline("trackData = [];\n"); char *hubUrl = cgiOptionalString("validateHubUrl"); jsInline("document.body.style.margin = 0;\n"); // simulate the look and feel of a dialog window with a blue bar at the top puts("<div id='titlebar' style='background: #D9E4F8; border: 1px outset #000088; padding: 10px'>" "<span id='title' style='font-weight: bold; margin: .2em 0 .1em; color: #000088'>Hub Check</span>" "<a href='#' id='windowX' style='float: right' class='ui-dialog-titlebar-close ui-corner-all ui-state-hover' role='button'>" "<span class='ui-icon ui-icon-closethick'>close</span></a></div>"); puts("<div id='content' style='margin:10px; padding: 2px'>"); jsOnEventByIdF("click", "windowX", "closeIframe()"); if (isEmpty(hubUrl)) - printf("Please wait, loading and checking hub, this can take 15 seconds to 5 minutes."); + printf("Please wait, loading and checking hub. This usually takes a minute or two but can take up to 20 minutes for big hubs."); else { puts("<p><button id='reloadButton'>Check again</button>"); puts(" <button id='closeButton'>Close this window</button></p>"); jsOnEventByIdF("click", "reloadButton", "reloadIframe()"); jsOnEventByIdF("click", "closeButton", "closeIframe()"); jsInline("document.onkeydown = function(evt) { if (evt.keyCode===27) { closeIframe() } };"); int retVal = doValidateNewHub(hubUrl); if (retVal == 0) printf("<div>Finished checking %s</div>", hubUrl); puts("<hr>"); puts("<p>Our command line tool <a target=_blank href='https://hgdownload.soe.ucsc.edu/downloads.html#utilities_downloads'>hubCheck</a> " "can be used to obtain the same output from a Unix command line.</p>"); puts("<p>To download the hubCheck tool for Linux, run these commands"