View Full Version : SVN Repo Installer Plugin
Nuka1195
2008-07-03, 23:03
http://xbmc-addons.googlecode.com/svn/trunk/plugins/programs/SVN%20Repo%20Installer
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
<?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.
<?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
Dan Dare
2009-02-28, 19:32
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.
<structure name="plugins" noffset="-2" install="" ioffset="2" voffset="0" />
Thanks,
Dan
Nuka1195
2009-02-28, 21:49
probably not :) i add them as i need them, then forget what they do. can you just structure your svn the same :P 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. :)
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.
Dan Dare
2009-03-01, 15:14
No worries Nuka, thanks for replying :-)
I tried a few combinations, until I found the one that worked :grin:
<?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...
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.
Nuka1195
2009-03-04, 22:43
pastebin a debug log
Thanks Nuka for your prompt response!
Is this what you mean? http://pastebin.com/m481a89b4
Thanks again in advance!!
nicoli_k
2009-03-04, 23:05
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.
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.
althekiller
2009-03-04, 23:24
That doesn't make a november build any less ancient :P
Nuka1195
2009-03-04, 23:37
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.
LOL!! you're right :)
I'm using a precompiled version from http://ppa.launchpad.net/team-xbmc-hardy/ppa/ubuntu for ubuntu hardy :(
Should I just recompile from source?
Thanks again :)
I've updated xbmc to the latest version and SVN Repo Installer it's working GREAT now :)
Thank you all guys!!
Coda.
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??