• 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.

Item7485: installing extensions in configure installs files twice, resulting in unnecessary .bak files

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine Configuration Normal New   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

During installation of an extension from the configure script, the extension archive can be download and extracted twice, once by EXTEND.pm and again by tools/extender.pl if the archive contains an installer script. During the second extraction, the files created by EXTEND.pm are moved to names ending in ".bak" to preserve them before being replaced by identical copies.

A possible fix would be for EXTEND.pm to download the archive to the TWiki root directory, and only extract the installer script (if it has one). When the installer script is called, tools/extender.pl would use the previously downloaded archive and would complete the installation without creating unnecessary .bak files. For archives that don't contain an installer script, the current behavior will have to be retained.

-- TWiki:Main/DavidDAllen - 2014-04-16

ItemTemplate
Summary installing extensions in configure installs files twice, resulting in unnecessary .bak files
ReportedBy TWiki:Main.DavidDAllen
Codebase 6.0.0
SVN Range TWiki-6.0.1-trunk, Wed, 16 Apr 2014, build 27287
AppliesTo Engine
Component Configuration
Priority Normal
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Topic revision: r1 - 2014-04-17 - DavidDAllen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback