plainblack.com
Username Password
search
Bookmark and Share

WGDev

WGDev is a pluggable script for WebGUI developers.  Contains a number of commands to make development, and is easily extended to provide more.  Among the included commands are:

db: Connect to your WebGUI database with the mysql command line client.  Can also load and dump database scripts.

edit: Edit assets specified by URL or asset ID using your prefered editor, or an arbitrary command.

package: Import or export packages, with an option to place files in the correct upgrade directory.

reset: Resets a site to the default state, including extensive options for cleanups to perform after doing so.

Additional commands can be written using WGDev and WebGUI's API.  Full documentation of all command line options is provided.  WGDev can be installed either as a single script with all included commands, or as a standard CPAN style distribution.  To install the single script, download the 'wgd' file, place it in your path, and mark it as executable.  Alternatively, download the .tar.gz file and install as any other CPAN distribution.

Release Notes for Version 0.5.0 (2/26/2010)
  • Fix misc small documentation issues
  • Fix some typos in WGDev::Command
  • export-branch command has been added to export a tree of assets in serialized form
  • More complete testing
  • Fixed help text for items with multiple paragraphs
  • Fixed test failure when ran as root
  • Allow using options with dashes
  • Proper handling of broken WebGUI configuration files
  • Group command added to list groups
  • Dist command learned to --builddir option to place build files in a specific directory
  • Version command learned the --dist option for outputting the version in version-status format
  • Reset command learned --autologon option to automatically set up admin sessions in a web browser
  • Test command learned --debug option for setting WEBGUI_TEST_DEBUG
  • Mail command learned --list option to show items in the mail queue
  • Mail command learned --delete option to delete items from the mail queue
  • Mail command learned --processQueue option force sending items in the mail queue
  • Ls command filter now accepts negative smart match (!~)
  • Reset command now allows the --import option to accept a filename to import
  • Added test prerequisites and resources metadata to Build.PL
  • Reset command will always tell upgrade.pl to skip deleting the cache
  • Build command will create more consistant and compatible SQL scripts
  • Mail command speed-ups for some options
  • Fixed clearing a database with foreign keys
  • Test command will always pass -r to prove
  • Removed -S option shortcut from Test command
  • Clean up output output from version command
Comments
5perlDreamer: "This package rocks!  It's saved me tons of time, especially in dealing with templates."
5patspam: "Totally agreed, I pretty much can't live without wgd nowadays. Ridiculously useful. And great for building custom functionality on top of. Hats off to Haarg!"
DownloadWGDev-v0.5.0.tar.gz WGDev-v0.5.0.tar.gz
wgd wgd
LinksPlain Black Corporation
More Information
Support
Screenshotswgd.png wgd-reset-help.png wgd-reset-run.png
Statistics Downloads: 384
Views: 775
Rating: 5
Updated: 2/26/2010
Keywords development utility
NavigationMore from Plain Black Corporation
Back to the Bazaar
© 2010 Plain Black Corporation | All Rights Reserved