Skip to content

Instantly share code, notes, and snippets.

View perlDreamer's full-sized avatar

Colin Kuskie perlDreamer

View GitHub Profile
So why is this a design issue? Because the slow addition of these little inappropriate fixes is like the growth of barnacles on a boat's hull: eventually you are not sailing a boat but sailing a rock. The initial stable design is made with great clarity as to the roles involved, but the junior programmer may not be aware of how important this issue can be: they don't see themselves as designers, and they may try to shoehorn all enhancements into the running system without considering the accumulated impact on the system's design.
Rick Jeliffe,
http://broadcast.oreilly.com/2009/08/a-design-trap-of-the-maintenan.html
diff shunt/admin_console.tmplt upgrade/admin_console.tmplt
31c31
< isPackage: '1'
---
> isPackage: '0'
diff shunt/carousel-default.tmplt upgrade/carousel-default.tmplt
4c4
< Parent : root/import
---
> Parent : root/import/carousel
diff shunt-20/carousel-default.tmplt upgrade/carousel-default.tmplt
4c4
< Parent : root/import
---
> Parent : root/import/carousel
diff shunt-20/carousel-hidden-textareas.tmplt upgrade/carousel-hidden-textareas.tmplt
4c4
< Parent : root/import
---
> Parent : root/import/carousel
diff shunt/admin_console.tmplt shunt-20/admin_console.tmplt
31c31
< isPackage: '1'
---
> isPackage: '0'
diff shunt/carousel-hidden-textareas.tmplt shunt-20/carousel-hidden-textareas.tmplt
34c34
< isPackage: '1'
---
> isPackage: '0'
diff shuntv4/admin_console.tmplt upgrade/admin_console.tmplt
31c31
< isPackage: '1'
---
> isPackage: '0'
diff shuntv4/carousel-default.tmplt upgrade/carousel-default.tmplt
4c4
< Parent : root/import
---
> Parent : root/import/carousel
* The RSSCapable class and RSSFromParent asset have been removed.
Any custom assets using those are recommended to switch to the new
RssFeed AssetAspect. If not used by custom assets, the tables
used by them will be removed from the database.
This will change the URLs for your RSS Feeds from "myAsset.rss" to
"myAsset?func=viewRss". You will need to update all Syndicated Content
assets and other content aggregators that had the old URLs. Alternately,
you can use Redirect assets to forward the old URL to the new one.
# vim:syntax=perl
#-------------------------------------------------------------------
# WebGUI is Copyright 2001-2008 Plain Black Corporation.
#-------------------------------------------------------------------
# Please read the legal notices (docs/legal.txt) and the license
# (docs/license.txt) that came with this distribution before using
# this software.
#------------------------------------------------------------------
# http://www.plainblack.com info@plainblack.com
#------------------------------------------------------------------
# Used to generate user facing URLs.
# If you are not running your web server on the standard
# port (80) then use this setting to specify that. If you
# are running WebGUI behind a proxy, then webServerPort should
# be set to which ever port the proxy is listening to.
sub sm_upgradeConfigFiles {
my ($session) = @_;
print "\tAdding Story Manager to config file... " unless $quiet;
my $config = $session->config;
$config->addToHash(
'assets',
'WebGUI::Asset::Wobject::StoryTopic' => {
'category' => 'community'
},
);
sub createTag {
print "Creating a release tag for ".$version." in git.\n";
my $tag_name = $version;
$tag_name =~ s/-\w+$//;
system <<"EOCMD";
cd /data/git/webgui
git checkout $branch
git pull
git tag -a v$tag_name -m ''
git push origin