Project

General

Profile

Feature #14946

Add command line option to force use of parser cache

Added by Dominic Cleal over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

A command line option to Kafo would be useful to force use of the parser cache, even if a manifest has been edited since and the mtime is newer than the cache. This would allow editing of class contents while still assuming the class signature is unchanged without needing to install a parser (e.g. puppet-strings).


Related issues

Related to Kafo - Feature #14447: Add serialised cache of parsed manifestsClosed2016-04-04

Associated revisions

Revision 8ddfbc4b (diff)
Added by Dominic Cleal almost 5 years ago

fixes #14946 - add --[no-]parser-cache argument to force cache (#200)

With --parser-cache, outdated cache entries will be forced if present,
even if a parser is available. With --no-parser-cache, cache entries
will be ignored even if they appear up to date (same as the existing
kafo-export-params argument).

The default behaviour with neither argument remains the same, to only
use the cache when it appears current.

History

#1 Updated by Dominic Cleal over 5 years ago

  • Related to Feature #14447: Add serialised cache of parsed manifests added

#2 Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Dominic Cleal
  • Pull request https://github.com/theforeman/kafo/pull/200 added

#3 Updated by Dominic Cleal almost 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF