SVN Repo Installer Plugin
#1
http://xbmc-addons.googlecode.com/svn/tr...0Installer

An enhanced version of the XBMC-Addons plugin.

uses repo.xml files to define basic structure of the svn. Currently just XBMC-Addons trunk and XBMC-Scripting trunk have xml files.

structure of the xml file
PHP Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<repo>
    <url>http://xbmc-scripting.googlecode.com/svn</url>
    <root>/trunk</root>
    <structure name="trunk" offset="-1" install="scripts\\" />
</repo> 

url is obvious
root is the main branch/trunk of the repo. remember the forward slash
structure:
name is the root of the scripts/plugins/skins
offset is the position it's at
install is needed if the repo's structure is not set correctly. remember the trailer double forward slashes

heres the addons, no install needed since tghe structure is correct.
PHP Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<repo>
    <url>http://xbmc-addons.googlecode.com/svn</url>
    <root>/trunk</root>
    <structure name="plugins" offset="-2" install="" />
    <structure name="scripts" offset="-1" install="" />
    <structure name="skin" offset="-1" install="" />
</repo> 

just add yours in resources\repositories\{your name}\repo.xml
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#2
Hey Nuka1195,

Thanks for explaining the XML format, I started my own source repository and I was going to write a repo.xml and give it to people.

Can you please explain the new attributes used in the latest version of your plugin.

Code:
<structure name="plugins" [b]noffset[/b]="-2" install="" [b]ioffset[/b]="2" [b]voffset[/b]="0" />

Thanks,
Dan
Reply
#3
probably not Smile i add them as i need them, then forget what they do. can you just structure your svn the same Tongue but i will try.

i think

take amtii
trunk/plugins/video/amtii

name: the folder to match, to know where the item starts
noffset: is what position in the url it is so -2 means two from the right
install: install in specific folder (needed for xbmc-scripting, since they are not under a scripts folder)
ioffset: not sure, they all appear to be 2

voffset: is for the tags repo where you have
tags/plugins/video/amtii/1.2

this is a temporary installer or was suppose to be. easiest thing to do is format your svn to match the addons svn and use that repo. or even easier is become a member of xbmc-addons. Smile

sorry i couldn't help more. at the time i know they where needed for the diff formatted svn's, but really don't recall exactly why i did it that way.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#4
No worries Nuka, thanks for replying :-)

I tried a few combinations, until I found the one that worked Big Grin

Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<repo>
    <url>http://dandar3-xbmc-addons.googlecode.com/svn</url>
    <root>/trunk</root>
    <structure name="plugins" noffset="-2" install="" ioffset="2" voffset="0" />
</repo>

I don't know about how temporary this is, but for now it helps, especially after xbmcscripts went down and people starting their own Google Code repositories. Hope XBMC.org will start hosting scripts/plugins soon...
Reply
#5
Excuse me guys, I'm trying the SVN Repo Installer under linux..
I've put it into plugins/programs, and I can see the list of available plugins, but when I try to install any of them, first I see an error message that closes itself too fast, and then an error saying "There was an error installing item!"

Could you please help me fix this?

Thanks in advance!!
Coda.
Reply
#6
pastebin a debug log
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#7
Thanks Nuka for your prompt response!
Is this what you mean? http://pastebin.com/m481a89b4

Thanks again in advance!!
Reply
#8
coda Wrote:Thanks Nuka for your prompt response!
Is this what you mean? http://pastebin.com/m481a89b4

Thanks again in advance!!

you've got an old XBMC build :
"Starting XBMC, Platform: GNU/Linux. Built on Nov 14 2008 (SVN:16164)"

you should update it and try again. November of 2008 is ancient in terms of XBMC builds.
Reply
#9
Sorry, I've posted a wrong logfile (it's the same version, but it's not showing the error)

I've uploaded it to http://www.coda.com.ar/mythtv-xbmc.log

Thanks again!
Coda.
Reply
#10
That doesn't make a november build any less ancient Tongue
Reply
#11
yeag that's an old build.

looks like your using version 1.4, try the 1.3.? version or update your xbmc. link in the sticky 1st post.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#12
LOL!! you're right Smile
I'm using a precompiled version from http://ppa.launchpad.net/team-xbmc-hardy/ppa/ubuntu for ubuntu hardy Sad

Should I just recompile from source?

Thanks again Smile
Reply
#13
I've updated xbmc to the latest version and SVN Repo Installer it's working GREAT now Smile
Thank you all guys!!

Coda.
Reply
#14
Hello, i am using latest SVN on ubuntu intrepid x64 and when i try to run svn repo installer xbmc crushes with segmentation fault is there something i can do to fix it??
Reply
#15
Hello, I'm trying to add a new repo.xml but it doesn't work.
I downloaded a zipped file to uncompress in repositories, it didn't work, I created a new folder inside repositories and copied the XBMC-addons repo.xml modifying the url. The website is working (googlecode) and the other repos are also working. What am I missing?
Thank you very much

@xalaros
in this video he says something about intrepid and nvidia drivers problems, if that still helps
http://www.youtube.com/watch?v=D2NNg2OCLVM
Reply

Logout Mark Read Team Forum Stats Members Help
SVN Repo Installer Plugin0