Project

General

Profile

Feature #936

fhicl - exclude absolute paths when in production mode

Added by Rob Kutschke over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Low
Category:
Infrastructure
Target version:
Start date:
02/06/2011
Due date:
% Done:

100%

Estimated time:
Scope:
Internal
Experiment:
-
SSI Package:
Duration:

Description

I would like fhicl, and the framework, to have the concept of "production mode" in which certain convenience features are disabled in favour of a more rigorous audit trail. When in production mode, fhicl should only resolve its input files from the defined search path; fhicl should throw if it encounters an absolute path name when in production mode.

We leave it open for now which mode should default under which circumstances.

History

#1 Updated by Christopher Green over 8 years ago

  • Category set to Infrastructure
  • Status changed from New to Resolved
  • Assignee set to Walter E Brown

The tools are now available to do this: interpret the command line (or exec name, or something else) and choose / create your own lookup policy inheriting from art::filepath_maker.

See cetlib/filepath_maker.{h,cc} and art/Utilities/FirstAbsoluteOrLookupWithDotPolicy.{h,cc} for examples.

#2 Updated by Christopher Green over 8 years ago

  • % Done changed from 0 to 100

#3 Updated by Christopher Green over 8 years ago

  • Target version set to 0.4.3

#4 Updated by Christopher Green over 8 years ago

  • Status changed from Resolved to Reviewed

#5 Updated by Christopher Green over 8 years ago

  • Status changed from Reviewed to Closed


Also available in: Atom PDF