This question about Developing extensions (plugins skins etc.): Task closed
How to offer RegexCacheSearchPlugin?
I have developed this plugin and search algorithm, which really improves the performance of our Foswiki site. It works well in all my testing and I will attach a zip to this topic with the three files required to be installed (the plugin, the search algorithm and the plugin topic.)
A window of opportunity is closing on me at work now and I cannot spend the time to package this up nicely.
As I say it really helps us and I'm sure it will helps others, I do not want to wait 6 months before its available to others.
How can I upload this without the full build contrib et al?
Finally, my testing is to run PurePerl against my own PurePerlCached and check output and timings. The output is identical as far as I can see, but I was wondering if there are any test cases out there for the search routines?
--
JulianLevens - 03 Jun 2010
Yes you can upload the plugin without using
BuildContrib. The layout of your zip is fine, so just create
Extensions.RegexCacheSearchPlugin and copy/paste your documentation from RegexCacheSearchPlugin.txt, then upload your zip to the topic.
Unfortunately I don't think people will be able to install the plugin using
configure
, but they will be able to manually install it. However, once its there someone else may be willing to check it into SVN and build the plugin properly.
--
AndrewJones - 04 Jun 2010
When you run the unit tests in a Foswiki that has your new search algorithm installed, it will automatically be picked up and tested.
I would recommend you check out from subversion, configure it to be web-visible, and do a
$ perl pseudo-install.pl -e developer
That will install the unit tests in your checkout. There is a bunch of info in Development web describing how to do this.
--
CrawfordCurrie - 04 Jun 2010
Julian, I've mare a task
Tasks.Item9110 and am in the process of importing you code into svn and will upload it to the
Extensions for you. Please consider
RequestAccessToSubversion now, so when you next have time, you can quickly continue work ..
see
http://foswiki.org/Extensions/RegexCacheSearchPlugin
(which means it should also be installable via configure
--
SvenDowideit - 07 Jun 2010
Thanks very much for your responses and Sven for getting this uploaded properly.
--
JulianLevens - 10 Jun 2010