I'm doing a blatant ripoff of other people's code, and tossing in a
GuidPlugin that generates Globally/Universally Unique Identifiers (GUIDs/UUIDs). It uses the Perl/CPAN Data::UUID module (
http://search.cpan.org/dist/Data-UUID/UUID.pm) to do all the real work, and I just re-worked
MS work to make the plugin. This is my first shot at a TWiki plugin (and contribution), so be gentle
--
BruceDillahunty - 25 Feb 2004
Hi Bruce, thanks for contributing this Plugin. I moved it from the Codev web to the Plugins web, renamed it from GUIDPlugIn to
GuidPlugin (more Wiki like), and did some reformatting of the Plugin page (you can take back for the next release). Remember that normal
WikiWord links do not work once the Plugin is installed on a system, so use
InterwikiPlugin links to point to the Codev, Main and Plugins webs at TWiki.org.
Also, you could package the files into a zip file as documented in
TWikiPlugins. And possibly rename the module from
TWiki::Plugins::GUIDPlugin
to
TWiki::Plugins::GuidPlugin
.
--
PeterThoeny - 25 Feb 2004
Bruce, FYI and reference, the
ActionTrackerPlugin generates unique IDs as well. See lib/TWiki/Plugins/ActionTrackerPlugin/Action.pm function _getNewUid. If anyone wants to tackle the job of converting it to use Data:UUID (thereby reinforcing UUID as a TWiki standard) they are welcome to do so.
--
CrawfordCurrie - 25 Feb 2004
Thanks Peter, for the cleanup... sorry I got it in the wrong web... just wasn't paying attention. I've made it a zip file and uploaded it... not sure if you can remove the old, non-zip files, but I'm not seeing how right now... of course I'm asleep too
--
BruceDillahunty - 25 Feb 2004
.zip
checked into
CVSplugins:GuidPlugin
--
WillNorris - 24 Nov 2004
I found that this module did not work at all on my install (pre-built VM, Dakar release), and there were some places where the documentation was incorrect. I've updated the code and documentation, but am unclear on how to submit:
PluginsInSubversion indicates we can just upload but implies that's for new plugins only; our company uses something other than Subversion so I don't want to install it if they're going to fight with each other; guidance would be appreciated. Thanks.
--
NeilRichardson - 12 Feb 2007
Thanks for the offer to participate! Please see
ReadmeFirst and
PluginsInSubversion.
--
PeterThoeny - 13 Feb 2007
Please remove file GuidPluginV1_001.zip, it has been superceeded by GuidPluginV1_001b.zip due to minor documentation changes. My thanks (and apologies for not catching it before upload.)
--
NeilRichardson - 13 Feb 2007
Neil, I added you to the
TWikiCommunityGroup so that you can rename/move/delete content. Please review the notes on that topic and use this responsibly.
Please overwrite
GuidPlugin.zip
, TWiki's version control takes care of revisioning the releases. Do not add the version number to the package name.
Thanks again for helping out.
--
PeterThoeny - 13 Feb 2007
Done and done; thanks for your help!
--
NeilRichardson - 13 Feb 2007