Skip to contentSkip to conversation

SVN Fetcher Makes Invalid Assumptions

DISCUSSION Geoffrey Wossum 2 participants 3 messages Jul 2, 2008

lore
Share & tools
lore
#0 lore raw

Hi all,

I just ran into a problem using the SVN fetcher with a project that breaks the fetchers assumptions about how an SVN repository is structured. The project in question is phonon-vlc-mplayer
(http://code.google.com/p/phonon-vlc-mplayer/), which has released no tarballs of the source (although it has released compiled binaries, go figure).

The SVN fetcher assumes that all SVN repositories can be checked out with "proto://url/module module", in other words that the module name is at then end of the URL. However, phonon-vlc-mplayer requires using "http://phonon-vlc-mplayer.googlecode.com/svn/trunk/ phonon-vlc-mplayer", in other words the module name is NOT part of the URL.

As a workaround, I'm checking out the SVN repository manually, tarring it up, and putting into files/ for this package. However, it seems like there should be an option added to the SVN fetcher that will disable this module appending behavior for projects like this.

Comments?

---
Geoffrey

#1 lore raw
Quoted 15 lines · Geoffrey Wossum

Hi all,

I just ran into a problem using the SVN fetcher with a project that breaks the fetchers assumptions about how an SVN repository is structured. The project in question is phonon-vlc-mplayer
(http://code.google.com/p/phonon-vlc-mplayer/), which has released no tarballs of the source (although it has released compiled binaries, go figure).

The SVN fetcher assumes that all SVN repositories can be checked out with "proto://url/module module", in other words that the module name is at then end of the URL. However, phonon-vlc-mplayer requires using "http://phonon-vlc-mplayer.googlecode.com/svn/trunk/ phonon-vlc-mplayer", in other words the module name is NOT part of the URL.

Quoted 7 lines

As a workaround, I'm checking out the SVN repository manually, tarring it up, and putting into files/ for this package. However, it seems like there should be an option added to the SVN fetcher that will disable this module appending behavior for projects like this.

Comments?

We already have loads of recipes with this.

just remove the trunk from the URL and say module=trunk.

Graeme

#2 lore raw
Quoted 11 lines · Graeme Gregory
Quoted 6 lines · Geoffrey Wossum

The SVN fetcher assumes that all SVN repositories can be checked out with "proto://url/module module", in other words that the module name is at then end of the URL. However, phonon-vlc-mplayer requires using "http://phonon-vlc-mplayer.googlecode.com/svn/trunk/ phonon-vlc-mplayer", in other words the module name is NOT part of the URL.

We already have loads of recipes with this.

just remove the trunk from the URL and say module=trunk.

I was dubious, but that works. Thanks!

---
Geoffrey