17
Sun, Nov
2 New Articles

Open-Source Technologies for Change Management Systems

Change Management
Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

The use of open-source software has become more widely accepted in today's business world. This is, in large part, because of the increased popularity and reliability of products like Linux-based operating systems and Apache and Tomcat Web servers. The smaller cost (i.e., free) of acquiring open-source software is another reason this is an attractive option. And because open-source software means that the source code itself is freely available, you have the option of modifying the software to meet your specific needs. But operating systems and Web servers aren't the only open-source products out there. With the onset of regulatory initiatives like Sarbanes-Oxley, change management has become a necessary component of any IT organization. In this article, we'll explore using open-source technologies for handling your change management system needs.

Exploring Change Management Systems

According to the Information Technology Infrastructure Library, the goal of the change management process is to ensure that standardized methods and procedures are used for efficient and prompt handling of all changes in order to minimize the impact of change-related incidents upon service quality and to consequently improve the day-to-day operations of the organization. Change management systems help facilitate this goal. The general purpose goal of any change management system is to reduce the impact of a proposed change on your production systems or applications. Exactly how this is accomplished can vary greatly from one change management methodology to another. A change management system can be as simple as a means for tracking changes from initial request through approval to production. More robust change management systems allow for full control over separation of duties to ensure that the person who develops a change cannot move that change into a production environment. No matter which level of change management system you require, there are many open-source options to meet your needs.

Straight from the (Open) Source

Often, the most difficult part of locating the right open-source solution can be knowing exactly where to look for that solution. The premier location on the Internet for locating open-source application projects is SourceForge.net. At the time of this writing, SourceForge.net lists 137,384 active projects. One of the premier open-source software change management applications is the Subversion project. This project was originally developed as a replacement for another popular open-source change management application known as Concurrent Versions System (CVS), which is a means by which multiple developers can work on a single project. In the open-source world, this is a "must have" tool because of the number of developers lending their time and abilities to a project.

Like much of the open-source software available, both of these applications were initially developed primarily for use on the Linux operating system. However, a port of Subversion has been released for OS/400 and i5/OS. This port, developed and supported by SoftLanding Systems, gives iSeries users a way to achieve version control on the iSeries itself over Java and Web development objects. Subversion/400 can be used with WebSphere Development Studio Client (WDSC) and can be integrated with Eclipse using the open-source Subclipse add-in. SoftLanding Systems also released an open-source version of its popular iSeries-based commercial change management package, TurnOver. TurnOverSVN gives iSeries developers source version control capabilities over Java-, PC-, and Web-based development projects. Through this integration into the TurnOver change management product, iSeries developers can now use a single application to handle change management for their legacy (RPG, ILE, etc.) applications along with their Java and Web applications.

One of the main purposes for using a system like Subversion is to provide a means by which to deal with multiple developers working on the same source at the same time. This is handled by storing the source in a central repository. Without a system to keep track of multiple versions of the same source, there's no way to keep all versions of the same source in sync. This means that if two developers are working with the same version of the same source, the second developer's changes will overwrite the first developer's changes when the two versions are moved back to the repository. Subversion handles the version control through what is known as the copy-modify-merge method. This method involves copying the source from its original location in the repository to a working copy stored on a local computer. Each developer has his own working copy. When the first developer saves changes, that copy is moved back into the repository. When another developer attempts to save changes to the repository, he will be notified his working copy is out-of-date. That developer can then request that his changes be merged into the new version in the repository. Assuming that there are no overlapping changes between the two versions, the changes are merged and this new version is saved back to the repository. This example is illustrated in Figures 1 through 4.

http://www.mcpressonline.com/articles/images/2002/Open%20Source%20Source%20Code%20ManagementV4--01100700.png
Figure 1: Initial source is checked out from the repository by both developers. (Click images to enlarge.)

http://www.mcpressonline.com/articles/images/2002/Open%20Source%20Source%20Code%20ManagementV4--01100701.png
Figure 2: Developer 1 completes coding and returns his version to the repository.

http://www.mcpressonline.com/articles/images/2002/Open%20Source%20Source%20Code%20ManagementV4--01100702.png
Figure 3: Developer 2 attempts to returns his version, but is informed that his copy is out-of-date.

http://www.mcpressonline.com/articles/images/2002/Open%20Source%20Source%20Code%20ManagementV4--01100703.png
Figure 4: Developer 2 receives the updated version, merges changes, and returns the merged version.

These diagrams illustrate what is a fairly clean method of handling this process. If, however, there are overlapping changes, the merge process will need to be performed manually prior to saving the file to the repository. Subversion acts as a server component, which can be accessed from a variety of clients, including TurnOverSVN. The basic Subversion client is a command-line client called "svn." The additional components are listed in the table below.

Subversion Modules
Module
Description
svn
The command-line client program
svnversion
A program for reporting the revisions of a working copy
svnlook
A program for inspecting a Subversion repository
svnadmin
A program to administer a Subversion repository
svndumpfilter
A program to filter Subversion repository dump streams
mod_dav_svn
An Apache plug-in that allows a Subversion repository to be shared with others


The Subversion command-line utility (svn) supports a series of subcommands to perform tasks on objects within a repository. The svn checkout command is used to check out a working copy from a repository. A sample is shown below:

$ svn checkout http://respositoryname/test localfolder

This example performs a checkout from an HTTP-enabled repository to a folder named localfolder.

The svn commit command is used to commit changes made in a working copy back into the repository. A sample is indicated below:

$ svn commit -m "corrected program logic error."

This example commits changes from the working copy along with a log message indicating the reason for the commit.

For a complete list of svn subcommand syntax, see the free Version Control with Subversion PDF.

The svnadmin utility is used to administer Subversion. As with the svn utility, svnadmin supports a series of subcommands to perform tasks. The svnadmin create command is used to build a new repository. An example is shown below:

$ svnadmin create /usr/local/svn/repos

Again, a complete reference for the svnadmin subcommands can be found in the Version Control with Subversion manual.

While these command line interfaces will get the job done, they're obviously not the most user-friendly option for working with Subversion. Luckily, a multitude of GUI-based Subversion clients are available. One of the most popular for the Windows platform is the TortoiseSVN client. This utility is actually a shell extension to Windows Explorer and adds Subversion functionality that is accessible within any Explorer window. Figure 5 shows how this appears in Explorer.

http://www.mcpressonline.com/articles/images/2002/Open%20Source%20Source%20Code%20ManagementV4--01100704.png

Figure 5: TortoiseSVN integrates into Windows Explorer.

Note that you not only have the ability to perform checkouts directly from within Explorer, but you can also perform svadmin tasks like creating repositories right from within Explorer. The SVN Checkout option displays the Checkout dialog shown in Figure 6.

http://www.mcpressonline.com/articles/images/2002/Open%20Source%20Source%20Code%20ManagementV4--01100705.png
Figure 6: The TortoiseSVN option displays the Checkout dialog.

In this example, the repository URL is actually a simple file location, and the checkout directory points to the location where the working copy will be stored. To commit changes to the server, locate the working copy directory and select the Commit option from the TortoiseSVN context menu. The dialog shown in Figure 7 is displayed.

http://www.mcpressonline.com/articles/images/2002/Open%20Source%20Source%20Code%20ManagementV4--01100706.png
Figure 7: This dialog is displayed for committing a working copy.

This example illustrates the ease-of-use of this type of svn client. In addition to TortoiseSVN, there's also an open-source Eclipse plug-in for performing svn client tasks. This package, called Subclipse, extends the Eclipse interface used by WDSC by adding Subversion client capabilities to allow developers to check out source from a Subversion repository and commit source changes back to the repository when complete. This plug-in can be incorporated into your existing Eclipse workspace through the Help menu by accessing the Software Updates submenu and selecting the Find and Install option. From the wizard, select the Search For New Features To Install radio button and then click Next. From the dialog shown in Figure 8, select the New Remote Site button.

http://www.mcpressonline.com/articles/images/2002/Open%20Source%20Source%20Code%20ManagementV4--01100707.png
Figure 8: Use this dialog within Eclipse to install Subclipse.

The dialog presented will request a name and URL associated with the site containing the update. Enter the values shown here:

  • Name: Subclipse
  • URL: http://subclipse.tigris.org/update_1.0.x

After you accept the license term, the plug-in will be installed automatically. When the wizard completes, you'll be forced to restart Eclipse. At this point, you are ready to work with the Subclipse plug-in by going to the Window menu and selecting the Open Perspective submenu and then selecting Other. The dialog shown in Figure 9 is displayed.

http://www.mcpressonline.com/articles/images/2002/Open%20Source%20Source%20Code%20ManagementV4--01100708.png
Figure 9: The Subclipse plug-in is now active.

Once you've selected SVN Repository Exploring, you'll have the ability to work with Subversion repositories from directly within the Eclipse workspace. This gives you one central location from which you can build your projects and handle version control.

Open Your Mind

If you haven't considered using an open-source solution for your change management needs, you really should. The options are endless and limitless. So open your mind to the open-source possibilities.

Mike Faust is Applications Support Manager for Invivo Corp in Orlando, Florida. Mike is also the author of the books The iSeries and AS/400 Programmer's Guide to Cool Things and Active Server Pages Primer and SQL Built-in Functions and Stored Procedures. You can contact Mike at This email address is being protected from spambots. You need JavaScript enabled to view it..

Mike Faust

Mike Faust is a senior consultant/analyst for Retail Technologies Corporation in Orlando, Florida. Mike is also the author of the books Active Server Pages Primer, The iSeries and AS/400 Programmer's Guide to Cool Things, JavaScript for the Business Developer, and SQL Built-in Functions and Stored Procedures. You can contact Mike at This email address is being protected from spambots. You need JavaScript enabled to view it..


MC Press books written by Mike Faust available now on the MC Press Bookstore.

Active Server Pages Primer Active Server Pages Primer
Learn how to make the most of ASP while creating a fully functional ASP "shopping cart" application.
List Price $79.00

Now On Sale

JavaScript for the Business Developer JavaScript for the Business Developer
Learn how JavaScript can help you create dynamic business applications with Web browser interfaces.
List Price $44.95

Now On Sale

SQL Built-in Functions and Stored Procedures SQL Built-in Functions and Stored Procedures
Unleash the full power of SQL with these highly useful tools.
List Price $49.95

Now On Sale

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  • SB Profound WC 5536 Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application. You can find Part 1 here. In Part 2 of our free Node.js Webinar Series, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Brian will briefly discuss the different tools available, and demonstrate his preferred setup for Node development on IBM i or any platform. Attend this webinar to learn:

  • SB Profound WP 5539More than ever, there is a demand for IT to deliver innovation. Your IBM i has been an essential part of your business operations for years. However, your organization may struggle to maintain the current system and implement new projects. The thousands of customers we've worked with and surveyed state that expectations regarding the digital footprint and vision of the company are not aligned with the current IT environment.

  • SB HelpSystems ROBOT Generic IBM announced the E1080 servers using the latest Power10 processor in September 2021. The most powerful processor from IBM to date, Power10 is designed to handle the demands of doing business in today’s high-tech atmosphere, including running cloud applications, supporting big data, and managing AI workloads. But what does Power10 mean for your data center? In this recorded webinar, IBMers Dan Sundt and Dylan Boday join IBM Power Champion Tom Huntington for a discussion on why Power10 technology is the right strategic investment if you run IBM i, AIX, or Linux. In this action-packed hour, Tom will share trends from the IBM i and AIX user communities while Dan and Dylan dive into the tech specs for key hardware, including:

  • Magic MarkTRY the one package that solves all your document design and printing challenges on all your platforms. Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product. Make sure your data survives when catastrophe hits. Request your trial now!  Request Now.

  • SB HelpSystems ROBOT GenericForms of ransomware has been around for over 30 years, and with more and more organizations suffering attacks each year, it continues to endure. What has made ransomware such a durable threat and what is the best way to combat it? In order to prevent ransomware, organizations must first understand how it works.

  • SB HelpSystems ROBOT GenericIT security is a top priority for businesses around the world, but most IBM i pros don’t know where to begin—and most cybersecurity experts don’t know IBM i. In this session, Robin Tatam explores the business impact of lax IBM i security, the top vulnerabilities putting IBM i at risk, and the steps you can take to protect your organization. If you’re looking to avoid unexpected downtime or corrupted data, you don’t want to miss this session.

  • SB HelpSystems ROBOT GenericCan you trust all of your users all of the time? A typical end user receives 16 malicious emails each month, but only 17 percent of these phishing campaigns are reported to IT. Once an attack is underway, most organizations won’t discover the breach until six months later. A staggering amount of damage can occur in that time. Despite these risks, 93 percent of organizations are leaving their IBM i systems vulnerable to cybercrime. In this on-demand webinar, IBM i security experts Robin Tatam and Sandi Moore will reveal:

  • FORTRA Disaster protection is vital to every business. Yet, it often consists of patched together procedures that are prone to error. From automatic backups to data encryption to media management, Robot automates the routine (yet often complex) tasks of iSeries backup and recovery, saving you time and money and making the process safer and more reliable. Automate your backups with the Robot Backup and Recovery Solution. Key features include:

  • FORTRAManaging messages on your IBM i can be more than a full-time job if you have to do it manually. Messages need a response and resources must be monitored—often over multiple systems and across platforms. How can you be sure you won’t miss important system events? Automate your message center with the Robot Message Management Solution. Key features include:

  • FORTRAThe thought of printing, distributing, and storing iSeries reports manually may reduce you to tears. Paper and labor costs associated with report generation can spiral out of control. Mountains of paper threaten to swamp your files. Robot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing. Manage your reports with the Robot Report Management Solution. Key features include:

  • FORTRAFor over 30 years, Robot has been a leader in systems management for IBM i. With batch job creation and scheduling at its core, the Robot Job Scheduling Solution reduces the opportunity for human error and helps you maintain service levels, automating even the biggest, most complex runbooks. Manage your job schedule with the Robot Job Scheduling Solution. Key features include:

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • LANSAWhen it comes to creating your business applications, there are hundreds of coding platforms and programming languages to choose from. These options range from very complex traditional programming languages to Low-Code platforms where sometimes no traditional coding experience is needed. Download our whitepaper, The Power of Writing Code in a Low-Code Solution, and:

  • LANSASupply Chain is becoming increasingly complex and unpredictable. From raw materials for manufacturing to food supply chains, the journey from source to production to delivery to consumers is marred with inefficiencies, manual processes, shortages, recalls, counterfeits, and scandals. In this webinar, we discuss how:

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • Profound Logic Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: