f07f43476ae7ac72bdbd83603c63191bb699104a galt Tue Nov 4 12:05:12 2025 -0800 Allows local curated genomes by checking for /gbdb/$db. Does not allow those local bigDataUrl directories to be used for custom tracks. Allows those hub URLs with local paths to be loaded in the background for better speed. Allows for vcfTabix etc to work with hs1. Removes need for udc.localDir setting in hg.conf for hgwdev, hgwbeta, RR, and mirrors. Warning do not set udc.localDir= to an empty string since it is completely permissive suffix matches all URLs. fixes #rm34544 diff --git src/hg/inc/customFactory.h src/hg/inc/customFactory.h index 47d36e89187..42027dc4767 100644 --- src/hg/inc/customFactory.h +++ src/hg/inc/customFactory.h @@ -134,25 +134,25 @@ /* return initial setting by user for track line */ void customTrackUpdateFromConfig(struct customTrack *ct, char *genomeDb, char *config, struct slName **retBrowserLines); /* update custom track from config containing track line and browser lines * Return browser lines */ char *customTrackUserConfig(struct customTrack *ct); /* return user-defined track line and browser lines */ void customFactoryEnableExtraChecking(boolean enable); /* Enable/disable extra checking of custom tracks in customFactoryParse. * E.g. extra checking is great the first time we read in a custom track, * but we don't need it for every hgTracks call. */ -boolean isValidBigDataUrl(char *url, boolean doAbort); +boolean isValidBigDataUrl(char *url, boolean doAbort, char *db, boolean allowLocals); /* return True if the URL is a valid bigDataUrl. * It can be a local filename if this is allowed by udc.localDir */ -boolean customFactoryParallelLoad(char *bdu, char *type); +boolean customFactoryParallelLoad(char *bdu, char *type, char *db, boolean allowLocals); /* Is this a data type that should be loaded in parallel ? */ #endif /* CUSTOMFACTORY_H */