ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] SVN version number in the documentation?

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Wed, 6 Apr 2011 23:14:21 -0700
On Apr 6, 2011, at 2:56 PM, Andrew Hood wrote:

> Guy Harris wrote:
> 
>> I suspect their problem was that they didn't have Subversion installed on the build machine, so there was no svnversion command available
> 
> If you are building from a SVN/CVS tree you should be expected to have
> the tools on the build machine.

OK, give that "they" are the Gentoo people:

	https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5798

"Our QA build system detected following wanning:
 * QA Notice: command not found:
 * 
 *      /bin/bash: line 27: svnversion: command not found


https://bugs.gentoo.org/show_bug.cgi?id=358097

"

I suspect their problem is that they're building a particular Wireshark release from its source release tarball, not building from an SVN tree, and, as such, there is no reason to expect or require them to have SVN on their build machine.

>> The User's Guide says "36497 for Wireshark 1.5"; should we do as we do for the programs, and not bother giving the SVN version number if you're not building from SVN?
> 
> I prefer to always have the SVN/CVS/etc revision or tag embedded as a
> reference to exactly what version I'm looking at.

Then:

	if you have SVN on your machine, build from SVN;

	if you don't have SVN on your machine, put SVN on your machine, and go to step 1.