You are here: Foswiki>Tasks Web>Item13744 (10 Oct 2015, GeorgeClark)Edit Attach

Item13744: Document that EmptyPlugin is documentation only, and cannot be enabled.

pencil
Priority: Low
Current State: Closed
Released In: 2.0.2
Target Release: patch
Applies To: Extension
Component: EmptyPlugin
Branches: master
Reported By: MaikGlatki
Waiting For:
Last Change By: GeorgeClark
The EmptyPlugin somehow made it into the release tar ball.

~#tar -tf Foswiki-2.0.1.tgz | grep Empty                                                                                                                                                                                  [15:39]
Foswiki-2.0.1/data/Sandbox/PluginTestEmptyPlugin.txt
Foswiki-2.0.1/data/System/EmptyPlugin.txt
Foswiki-2.0.1/lib/Foswiki/Plugins/EmptyPlugin/
Foswiki-2.0.1/lib/Foswiki/Plugins/EmptyPlugin/Config.spec
Foswiki-2.0.1/lib/Foswiki/Plugins/EmptyPlugin.pm

I could not find the script to actually build a release tarball (would be nice to add that to the repository), and could therefore not fix it directly for future use.

-- MaikGlatki - 23 Sep 2015

The EmptyPlugin is considered part of our release documentation. That's where all the handler calls are documented. See System.PerlDoc

It needs to remain part of the release. Is there a problem with including it in the build?

The release process is documented in BuildingARelease It needs BuildContrib installed along with some other tools and builds from a git checkout. Not all the pieces to build are included in the tarball.

-- Main.GeorgeClark - 23 Sep 2015 - 16:36

Hi,

Thank you for linking to the build process. I noticed perceived the existance of the EmptyPlugin as an error, because the pm exists, but it can not be enabled, which makes it unique in the release.

# ./tools/configure -save -noprompt -set "{Plugins}{Enabled}{EmptyPlugin}"="1"
#### ERROR: {Plugins}{Enabled}{EmptyPlugin} was not found in any Config.spec

Really more unexpected behaviour than an error.

-- Main.MaikGlatki - 24 Sep 2015 - 07:09

Updated the EmptyPlugin documentation topic to state that this plugin cannot be enabled. Also added a link to the PerlDoc page to get the plugin API documentation.

-- Main.GeorgeClark - 24 Sep 2015 - 19:52

ItemTemplate edit

Summary Document that EmptyPlugin is documentation only, and cannot be enabled.
ReportedBy MaikGlatki
Codebase 2.0.1, 2.0.0
SVN Range
AppliesTo Extension
Component EmptyPlugin
Priority Low
CurrentState Closed
WaitingFor
Checkins distro:b710b2a04184
TargetRelease patch
ReleasedIn 2.0.2
CheckinsOnBranches master
trunkCheckins
masterCheckins distro:b710b2a04184
ItemBranchCheckins
Release01x01Checkins
Topic revision: r6 - 10 Oct 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