Thoughts on a patching system

The team I work with was thinking about how to build a patching process for the software that we have inherited (which none of us like). So I quickly came up with the following solution and emailed it to the team (I changed some software and team names here…):

[java]public class Patcher {

public void patchIt() {
try {

File repositoryDirectory = Software.getRepository();
repositoryDirectory.backup( “/backup/repository” );

Software.uninstall();
Software.wipeFromDrive();

Team.designApplicationFromScratch();
Team.codeApplication();

AwesomeApplication app = Team.installApplication();
app.importFromBackup( “/backup/repository” );
app.start();

Team.celebrateInstallation();
Team.patEachOtherOnBack();
Team.revelInTheGloryOfBeautifulCode();

Team.maintainAppWithoutFrustration();
}
catch( ResistanceToDoingItRightException e ) {
Team.cry();
patchItAnyway();
Team.eraseJunkSoftwareFromMemory();
}
}
}

[/java]



Don't miss anything, subscribe!

Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

Comments

No comments yet.

Leave a comment

(required)

(required)