You are here: Foswiki>Tasks Web>Item1629 (18 Mar 2010, WillNorris)Edit Attach

Item1629: installation via configure leaves cruft lying about

pencil
Priority: Normal
Current State: No Action Required
Released In: 1.0.6
Target Release: patch
Applies To: Engine
Component: configure
Branches:
Reported By: WillNorris
Waiting For:
Last Change By: WillNorris
partly related: Item1556

I have also noticed all the .bak files everywhere. One of the reasons I personally have stopped using configure to install extensions. It leaves a mess behind of .bak files and installer files in the foswiki root.

-- KennethLavrsen - 17 May 2009

currently:

installation via configure leaves cruft lying about. specifically, this list of files:

  • *Plugin_installer
  • *Plugin.tgz (or .zip)?
  • .bak files for each file listed in MANIFEST
    • .bak.bak (ad infinitum) files


proposed:

during installation, a .bak file should only be created if the file being written and the file already on disk differ
  • current algorithm of appending .bak to be retained

at the end of installation, the following files should be deleted:
  • *Plugin_installer
  • *Plugin.tgz (or .zip)?
note that if the installation "fails" (meaning what?), then those 2 files will be left on disk.

-- WillNorris - 17 May 2009

Makes sense. .bak.bak is probably overkill, too.

-- CrawfordCurrie - 18 May 2009

Agree on Will's spec

-- KennethLavrsen - 18 May 2009

this is made obsolete by the much more ambitious ImproveExtensionBackupProcess.

-- WillNorris - 18 Mar 2010

ItemTemplate edit

Summary installation via configure leaves cruft lying about
ReportedBy WillNorris
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component configure
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease patch
ReleasedIn 1.0.6
Topic revision: r5 - 18 Mar 2010, WillNorris
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy