4afc3a97cec36e9470e107bfe44398ee5ec65080
braney
  Fri Jul 31 10:33:43 2026 -0700
hgConfCatalog: mark userDbName and sessionDbName as documented refs #37925

Both are now in product/ex.hg.conf, so they get public=True like the four
sibling table-name settings around them.  userDbName was documented under
the wrong name until 225a9ac365d and sessionDbName was not documented at
all, which is why neither carried the flag.

diff --git src/hg/utils/hgConfCatalog/hgConfCatalog.py src/hg/utils/hgConfCatalog/hgConfCatalog.py
index 127d00e9b59..06f4ffa6355 100755
--- src/hg/utils/hgConfCatalog/hgConfCatalog.py
+++ src/hg/utils/hgConfCatalog/hgConfCatalog.py
@@ -557,35 +557,35 @@
 
 CENTRAL_TABLES = {
     "what": "Names of the hgcentral tables.  Nearly all are overridable from "
             "the environment as well, which is how a test instance points at "
             "its own copies without editing hg.conf.",
     "vars": [
         h("dbDbTableName", "table", "hg/lib/hdb.c:87", public=True,
           verified=True, env="HGDB_DBDBTABLE", default="dbDb",
           note="The assembly list."),
         h("defaultDbTableName", "table", "hg/lib/hdb.c:107", public=True,
           verified=True, env="HGDB_DEFAULTDBTABLE", default="defaultDb"),
         h("cladeTableName", "table", "hg/lib/hdb.c:117", public=True,
           verified=True, env="HGDB_CLADETABLE", default="clade"),
         h("genomeCladeTableName", "table", "hg/lib/hdb.c:97", public=True,
           verified=True, env="HGDB_GENOMECLADETABLE", default="genomeClade"),
-        h("userDbName", "table", "hg/lib/cartDb.c:329", verified=True,
-          env="HGDB_USERDBTABLE", default="userDb",
+        h("userDbName", "table", "hg/lib/cartDb.c:329", public=True,
+          verified=True, env="HGDB_USERDBTABLE", default="userDb",
           note="Per-user cart storage."),
-        h("sessionDbName", "table", "hg/lib/cartDb.c:339", verified=True,
-          env="HGDB_SESSIONDBTABLE", default="sessionDb"),
+        h("sessionDbName", "table", "hg/lib/cartDb.c:339", public=True,
+          verified=True, env="HGDB_SESSIONDBTABLE", default="sessionDb"),
         h("defaultCartName", "table", "hg/lib/cartDb.c:319", public=True,
           verified=True, env="HGDB_DEFAULTCARTTABLE"),
         h("namedSessionDbName", "table", "hg/lib/cart.c:382", verified=True,
           env="HGDB_NAMED_SESSION_DB", default="namedSessionDb",
           note="Saved sessions."),
         h("hub.publicTableName", "table",
           "hg/hgHubConnect/hgHubConnect.c:1388", public=True, verified=True,
           env="HGDB_HUB_PUBLIC_TABLE", family="hub"),
         h("hub.statusTableName", "table",
           "hg/hgHubConnect/hgHubConnect.c:1390", public=True, verified=True,
           env="HGDB_HUB_STATUS_TABLE", family="hub"),
         h("hub.genArkTableName", "table", "hg/lib/genark.c:347",
           verified=True, env="HGDB_GENARK_STATUS_TABLE", family="hub"),
         h("hub.assemblyListTableName", "table", "hg/lib/assemblyList.c:433",
           verified=True, env="HGDB_ASSEMBLYLIST_STATUS_TABLE", family="hub"),