Re: Packaging snapshots
On Wed, Oct 19, 2005 at 09:37:14AM +1000, Kai Hendry wrote:
> Just wondering about packaging snapshots of a package.
>
> Ok, snapshots could be known as "backups". Here I am talking about
> pulling from say a Subversion repository and building a package.
>
> For now I want to do this just to keep tabs on what upstream has
> planned. Not so much for unstable...
>
>
>
> I remember being a little bewildered by the version string in Debian. Is
> this OK?
>
> frodo$ apt-cache show irssi-snapshot | grep Version:
> Version: 0.8.6+cvs.20031114-1
>
> And how does that compare to:
>
> frodo$ apt-cache show gcc-snapshot | grep Version:
> Version: 20051008-1
>
>
> Is this documented somewhere?
You can use
dpkg --compare-versions 1 '>' 2; echo $?
Of course, 20051008 > 0.8.6... but I don't think thats what you mean
:)
--
Clear skies,
Justin
Reply to: