def compute_path(self, name):
        base_dir = self.pre_release_dir if is_pre_release(name) else self.release_dir
        path = join(base_dir, basename(name))
        self.logger.debug("Computed path: {} for: {}".format(path, name))
        return path
Apply configurational options to the factory.
dataset/ETHPy150Open jessemyers/cheddar/cheddar/index/storage.py/DistributionStorage.compute_path--crossover with--dataset/ETHPy150Open openstack/oslo.db/oslo_db/sqlalchemy/enginefacade.py/_TransactionContextManager.configure