Bug 719573

Summary: RFE: allow control of updating website navigation for installed/removed books
Product: [Community] Publican Reporter: Jeff Fearn 🐞 <jfearn>
Component: publicanAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: Ruediger Landmann <rlandman+disabled>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: futureCC: mmcallis, publican-list, rlandman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-26 00:42:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jeff Fearn 🐞 2011-07-07 11:16:01 UTC
Description of problem:
When many books are added or removed in a batch then updating the TOC for every book creates a lot of lag. Add a site parameter allowing this to be disabled so the user can control when the TOC is regenerated.

Version-Release number of selected component (if applicable):
2.5

How reproducible:
Always

Steps to Reproduce:
1. Build many book rpms
2. Install all new packages in one yum call

  
Actual results:
Much lag as the toc is continually regenerated

Expected results:
TOC gets regenerated once.

Additional info:

Comment 1 Jeff Fearn 🐞 2011-07-07 11:53:20 UTC
Added manual_toc_update config for web-sites. Sites that set this must run `publican update_site` to update the web-site navigation.

Added to trunk and branches/publican-2x

Committed revision 1816.

Comment 2 Ruediger Landmann 2011-07-21 23:14:10 UTC
Verified in build 2.5-2.fc15.t17:

* set "manual_toc_update: 1" in /etc/publican-website.cfg
* installed book and verified that book did not appear on site ToC
* ran publican update_site and verified that book now appeared in site ToC