You are not logged in.

#1 2009-11-23 10:57:38

corsakh
Member
Registered: 2009-11-08
Posts: 104

GIT and SVN

Sometimes I see two different versions of the same software - one is git and another svn. Whats the basic difference and which one is advised to use?

Offline

#2 2009-11-23 11:05:49

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: GIT and SVN

The newer one.  Generally this is because the project switched from SVN to GIT.

Offline

#3 2009-11-23 11:08:01

corsakh
Member
Registered: 2009-11-08
Posts: 104

Re: GIT and SVN

I mean in AUR sections and unofficial repositories. Sometimes I see the same versions, but one is git and another is svn.

Offline

#4 2009-11-23 11:16:49

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: GIT and SVN

Allan is right.
There should usually only be one.  It's likely that the project used SVN, and then switched to Git (sometimes vice-versa).

Decide based on which package is most recently uploaded.
The situation should be reported to aur-general@archlinux.org, though, so they can remove the duplicate.

Offline

#5 2009-11-23 11:21:03

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: GIT and SVN

If the packages are built according to the recommended guidelines for SCM builds, they won't have the same version. SVN packages user the SVN revision number as the version number, GIT packages use the date in YYYMMDD format.

Apart from that, Allan's answer above stands.

Offline

#6 2009-11-23 19:42:49

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: GIT and SVN

If there is a svn version that isn't being used anymore, it's good to do as Ranguvar suggests and let the AUR maintainers know about it.  This can also be done in on the wiki.

Last edited by Gen2ly (2009-11-23 19:43:18)


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#7 2009-11-23 22:18:04

chpln
Member
From: Australia
Registered: 2009-09-17
Posts: 361

Re: GIT and SVN

It is possible the two are equally recent, and that one of them is using a git mirror of the official repo (or perhaps a tool such as git-svn).  I've noticed several packages in AUR which use git mirrors, although the project uses another VCS officially.  emacs-git is one example of this (with emacs-cvs now part of community/).

What is the general feeling towards this?  Is it acceptable to also provide a package for a different (read: superior) VCS, or does this create too much clutter?

Offline

Board footer

Powered by FluxBB