• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item7892: TWiki::Store::SearchAlgorithms::Forking to be able to ignore grep command error

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Waiting for Release   patch  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


TWiki::Store::SearchAlgorithms::Forking executes the grep command. If grep faces errors (e.g. unreadable *.txt files), the module raises an exception. That's the sensible behavor in most cases. All *.txt files corresponding to topics are supposed to be readable. However, there are cases where that needs to be tolerated rather than causes an exception.

$TWiki::cfg{RCS}{ForkingSearchIgnoreError} will be introduced. It's set true to ignore grep errors.

-- TWiki:Main/HideyoImazu - 2020-05-20

Summary TWiki::Store::SearchAlgorithms::Forking to be able to ignore grep command error
ReportedBy TWiki:Main.HideyoImazu
Codebase ~twiki4
SVN Range TWiki-6.1.0-trunk, Thu, 29 Aug 2019, build 30672
AppliesTo Engine

Priority Normal
CurrentState Waiting for Release

Checkins TWikirev:30752 TWikirev:30753
TargetRelease patch

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r3 - 2020-05-20 - HideyoImazu
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback