Home Blog Page 9704

The Subversion Project: A real contender to cvs

Author: JT Smith

By Wayne Earl
In the world of Open Source development, cvs has been the reigning champion for version control. Most every major Open Source project finds its way into a cvs tree sooner or later. But now, there is a new contender; a new kid called the Subversion Project looking to knock the champ down.This week, Greg Stein and Karl Fogel talked about the Subversion Project to the Silicon Valley Linux Users Group.

“The stated goal of this project is to take over the cvs user base,” Fogel said. Subversion developers intend to learn from cvs’ example, and put those lessons to work.

While cvs has served the Open Source community well, it has several shortcomings that have plagued its users, critics say. Commits to a cvs repository are not atomic, which can cause problems if a commit fails midway. Cvs doesn’t handle binary data well; instead of storing the diffs between two versions, it stores each version of the binary whole, wasting disk space. Network connections to cvs are expensive, in that cvs commits must transmit whole files back to the server. Subversion addresses these issues and more, say its backers.

Subversion handles binary data with particular skill. Using its own diffing algorithm, Subversion stores diffs of binary data, and provides hooks in the system so that the structure of the binary can be defined by the user.

The handling of binary files by Subversion is particularly attractive to Web developers, who must often keep track of dozens of image files as they build Web sites. This feature of Subversion was well met by the LUG members in attendance.

Subversion’s commits are atomic; that is, either the entire commit occurs, or none of it occurs. This prevents against source-tree corruption by developers who lose connection to the repository in mid-commit. Atomic commits are extremely important for Open Source projects that have developers across the globe, because a dropped network connection tends to be a common occurrence. The LUG audience applauded when the presenters explained this function.

Subversion is optimized for performance, particularly for network interactions. Subversion uses Apache 2.0 with mod_DAV for its network server, which allows for many orders of magnitude more concurrent interactions with the repository than cvs’ pserver does. All data sent to the server during a commit is in the form of a diff, so Subversion makes good use of network resources.

Subversion keeps track of everything in the repository; it version-controls directories, files, and user-defined meta data. Moving and deleting files and directories under Subversion is a snap, Stein and Fogal said. Their explanation that you can delete a directory under Subversion was met by applause and laughter from the crowd (under cvs, you have to manually delete the directory; cvs will not delete it for you). Subversion project leaders also plan for support for symlinks.

Stein and Fogel ended the presentation with a demo of Subversion, in which the LUG was shown exactly how easy it is to add and modify files under Subversion’s control.

Subversion is jointly developed by programmers employed by Collab.net and volunteer developers worldwide. While Subversion is “not ready for prime time” yet, development is going very quickly. Alpha quality code is scheduled to be completed in late May, Fogal said.

For more information on the Subversion Project, or to contribute to the development effort, see its home page at http://subversion.tigris.org. For information about the Silicon Valley Linux Users Group (SVLUG), see http://www.svlug.org.

NewsForge editors read and respond to comments
posted on our discussion
page
.

Hacked? Call a lawyer

Author: JT Smith

The Register suggests that a new tool in the growing arsenal of anti-cracking tools is… your lawyer.

Category:

  • Linux

Review of Pogo Linux Velocity

Author: JT Smith

The Duke of URL reviews Pogo Linux Velocity running Red Hat 7.

Category:

  • Linux

Open-source firm reverses strategy

Author: JT Smith

CNet reports that while many open source companies are moving their focus from products to services, ArsDigita is doing just the opposite, introducing products to its services-oriented model.

Category:

  • Open Source

Software Engineering for everyone

Author: JT Smith

O’Reilly discusses the field of software engineering, and the process of software engineering.

Democrats plan to boost broadband

Author: JT Smith

ZDNet reports that the Democratic party is working on plans to help improve broadband access for all Americans across the income spectrum.

On getting cracked and recovering with NMAP

Author: JT Smith

IT World discusses the issue of compromised systems and recovering with the help of the nmap port mapping tool.

Category:

  • Linux

Maddog sees computers everywhere

Author: JT Smith

IDG.net reports on a talk by Linux evangelist Jon “maddog” Hall, who says Bill Gates is wrong when he sees the PC as the future, and Larry Ellison is wrong when he says the future is thin clients. Maddog sees computers going everywhere, with users taking advantage of all kinds of computers, including mobile devices that scan your refridgerator for what’s needed as you’re on the way to the grocery store.

Category:

  • Migration

TiVo tightens its belt

Author: JT Smith

Wired.com reports the TiVo company, which makes the Linux-powered super VCR-like device is announcing several cost-cutting measures including layoffs of up to 25 percent of its staff to shore up financing. The company says subscriber growth remains on track, however.

Category:

  • Open Source

Nasdaq posts a near-record gain

Author: JT Smith

Hey, there’s some good tech stock news! Upside.com reports that Nasdaq had its third highest percentage gain ever Thursday, when it jumped 146.33, or 8.93 percent, to 1,785.13.

Category:

  • Open Source