Topic: PunBB & Subversion & Trac == true

As of a few days ago, the PunBB source code can now be accessed via a Subversion repository at http://punbb.org/svn/punbb/. For those of you who don't know what Subversion is, here's a quote from the Subversion documentation:

Subversion is a free/open-source version control system. That is, Subversion manages files and directories over time. A tree of files is placed into a central repository. The repository is much like an ordinary file server, except that it remembers every change ever made to your files and directories. This allows you to recover older versions of your data, or examine the history of how your data changed. In this regard, many people think of a version control system as a sort of "time machine".

Subversion can access its repository across networks, which allows it to be used by people on different computers. At some level, the ability for various people to modify and manage the same set of data from their respective locations fosters collaboration. Progress can occur more quickly without a single conduit through which all modifications must occur. And because the work is versioned, you need not fear that quality is the trade-off for losing that conduit - if some incorrect change is made to the data, just undo that change.

Some version control systems are also software configuration management (SCM) systems. These systems are specifically tailored to manage trees of source code, and have many features that are specific to software development - such as natively understanding programming languages, or supplying tools for building software. Subversion, however, is not one of these systems. It is a general system that can be used to manage any collection of files. For you, those files might be source code - for others, anything from grocery shopping lists to digital video mixdowns and beyond.

Subversion is very similar to CVS, only better. What this means is that you can follow the development of PunBB very closely and download the source code at any time you want. In order to download the source code you need either the Subversion command-line tool or a GUI tool such as TortoiseSVN (recommended for Windows users). Downloading, or rather exporting, the source in TortoiseSVN is as easy as creating a new folder, right-clicking it, selecting "Export" and then entering the URL to the so called trunk of the repository (this is where the latest source resides). In PunBB's case, this URL is http://punbb.org/svn/punbb/trunk. Hit OK. TortoiseSVN will not contact the repository and download the very latest PunBB source to the directory you specified. If you prefer, you can instead choose to checkout the source. The difference between an export and a checkout is that a checkout creates what is called a working copy. This working copy contains a bunch of Subversion related files (in directories called .svn). These files, among other things, contain information that allows TortoiseSVN to keep track of how your local copy differs from the source in the repository. You can read more about this in the Subversion and TotroiseSVN docs.

The fun doesn't stop there. The nice folks at TextDrive.com have setup an installation of Trac at http://dev.punbb.org/. What's Trac then?

Trac is a minimalistic approach to web-based management of software projects. Its goal is to simplify effective tracking and handling of software issues, enhancements and overall progress.

The nice thing about Trac apart from the fact that it is essentially a WiKi is that it installs on top of a Subversion repository. This means that you can browse the source and review all changes that have been made to the source etc. It's great. It also comes with a ticket system. I haven't had time to customize it to any noticable extent (for instance replace the default front page), but I will shortly. At the same time, I will close the bug reports forum and direct you all to use the ticket system in Trac instead. For the time being, we'll stick to the forums for bug reporting.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: PunBB & Subversion & Trac == true

And just as I was about to ask about CVS... Major props Rickard.

Re: PunBB & Subversion & Trac == true

glad you're happy with the move.

i've been nothing but impressed, both with TxD and PunBB.

4

Re: PunBB & Subversion & Trac == true

Very nice.. smile

Re: PunBB & Subversion & Trac == true

Took a while to convince our little fellow to use Subversion. It's terrific! Especially with FSFS as data storage.

Re: PunBB & Subversion & Trac == true

Quizor: What are the advantages of FSFS over Berkley DB?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: PunBB & Subversion & Trac == true

Rickard: I beleive this is what you are looking for.

Re: PunBB & Subversion & Trac == true

Rickard wrote:

What are the advantages of FSFS over Berkley DB?

Described quite well here.

Re: PunBB & Subversion & Trac == true

Cool, thanks. Glad I picked it when I created the repository smile

"Programming is like sex: one mistake and you have to support it for the rest of your life."

10 (edited by Quizor 2005-01-14 21:06)

Re: PunBB & Subversion & Trac == true

Not that it's hard to switch between the two. smile

Re: PunBB & Subversion & Trac == true

Rickard,

I'm getting errors trying to check out your revision using either http://punbb.org/svn/punbb/trunk/ or svn://punbb.org/svn/punbb/trunk/ . The http:// is giving me a method not allowed error (405), and the svn:// is timing out. Please do let me know if you find anything.

Thanks,
Robert

Proud member of the TextDrive community

Re: PunBB & Subversion & Trac == true

Working fine for me...

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: PunBB & Subversion & Trac == true

Smartys,

Can you paste your command line for me please?

Proud member of the TextDrive community

Re: PunBB & Subversion & Trac == true

I'm just browsing the URL link you gave in my browser smile

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: PunBB & Subversion & Trac == true

yes, but I'm trying to check it out to my subversion client on TextDrive, so that I have the current trunk and can easily update when needed. I have no problem browsing to it using Trac. It's the actual checkout that's the problemo.

Thanks for having a go at it.

Robert

Proud member of the TextDrive community

Re: PunBB & Subversion & Trac == true

Hmm, that's odd. I can checkout just fine from the command line.

rickard@comox$ svn co http://punbb.org/svn/punbb/trunk/
A  trunk/upload
A  trunk/upload/admin_bans.php
A  trunk/upload/footer.php
...
Checked out revision 200.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: PunBB & Subversion & Trac == true

Hey it's working now...that's all that matters. Thanks for taking a look Rickard.
Cheers and thanks for developing a great, standards compliant BB. Can't wait to fire it up.

Proud member of the TextDrive community

18 (edited by scottywz 2005-06-17 23:26)

Re: PunBB & Subversion & Trac == true

This is an old topic, I know.... I just wanted to say how clever it was of Rickard to make the subject line "PunBB & Subversion & Trac == true".

Reminds me of something like

<?php

$PunBB = true;
$Subversion = true;
$Trac = true;

if ($PunBB && Subversion && Trac == true) {
    echo 'Good.';
}
else {
    echo "Bad. Either get PunBB, Subversion, or Trac, or a combination thereof until this says \"Good.\"";
}

echo '<br />Read the above line.';

?>

The subject should be more like "PunBB && Subversion && Trac == true" to be more like PHP, though. smile