You are here: Foswiki>Tasks Web>Item8898 (28 Jan 2015, GeorgeClark)Edit Attach

Item8898: BuildContrib and the core release builder need to generate canonical DEPENDENCIES and MANIFEST files

pencil
Priority: Enhancement
Current State: Confirmed
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: BuildContrib, Packaging
Branches: Release01x01 trunk
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
The ./lib/MANIFEST file shipped with Foswiki is not really useful to the site admins. It's a set of include statements for files that are not provided. These are includes of directories that were used for packaging the release and are not shipped. The 1.0.9 MANIFEST file is shown below - none of these are of any use to a site admin that I can see.

A MANIFEST file, if shipped with Foswiki, should consist of the actual shipped file names, along with their attributes and descriptions.

!include ../BehaviourContrib/lib/Foswiki/Contrib/BehaviourContrib
!include ../CommentPlugin/lib/Foswiki/Plugins/CommentPlugin
!include ../EditTablePlugin/lib/Foswiki/Plugins/EditTablePlugin
!include ../EmptyPlugin/lib/Foswiki/Plugins/EmptyPlugin
!include ../InterwikiPlugin/lib/Foswiki/Plugins/InterwikiPlugin
!include ../JSCalendarContrib/lib/Foswiki/Contrib/JSCalendarContrib
!include ../MailerContrib/lib/Foswiki/Contrib/MailerContrib
!include ../PatternSkin/lib/Foswiki/Contrib/PatternSkin
!include ../PreferencesPlugin/lib/Foswiki/Plugins/PreferencesPlugin
!include ../RenderListPlugin/lib/Foswiki/Plugins/RenderListPlugin
!include ../SlideShowPlugin/lib/Foswiki/Plugins/SlideShowPlugin
!include ../SmiliesPlugin/lib/Foswiki/Plugins/SmiliesPlugin
!include ../SpreadSheetPlugin/lib/Foswiki/Plugins/SpreadSheetPlugin
!include ../TablePlugin/lib/Foswiki/Plugins/TablePlugin
!include ../TipsContrib/lib/Foswiki/Contrib/TipsContrib
!include ../TinyMCEPlugin/lib/Foswiki/Plugins/TinyMCEPlugin
!include ../TopicUserMappingContrib/lib/Foswiki/Contrib/TopicUserMappingContrib
!include ../TwistyPlugin/lib/Foswiki/Plugins/TwistyPlugin
!include ../WysiwygPlugin/lib/Foswiki/Plugins/WysiwygPlugin
!include ../TWikiCompatibilityPlugin/lib/Foswiki/Plugins/TWikiCompatibilityPlugin
!include ../core/lib/Foswiki/Contrib/core
-- GeorgeClark - 13 Apr 2010

And any relative reference in a MANIFEST file should be relative to something sensible - either the file itself (which I think is preferred) or the root. But not SVN, which clearly isn't shipped!

-- TimotheLitt - 23 Jul 2011

I need this to simplify building separated packages - at minimum the core MANIFEST, which resides in core/lib/Contrib/core/MANIFEST.

So I'm going to make it so for 1.1.5 and trunk, and then we can think about the core extensions (which we could achieve by just making the build doit)

-- SvenDowideit - 28 Jan 2012

George would like something different from what I need - a complete list of files that should go into the zipfile. This needs to be generated by BuildContrib when it processes the lib/MANIFEST. Similarly the a generated DEPENDENCIES file should be shipped in the release.

-- SvenDowideit - 31 Jan 2012

Back to the original issue on this, lib/MANIFEST is of no value, and probably should just be omitted from the shipped packages.

-- GeorgeClark - 12 Jan 2015
 
Topic revision: r21 - 28 Jan 2015, GeorgeClark
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