Hey - a few questions...
I've run this on a folder with 5 addons in it...made a bit of a mess as a result....
1. It seems to delete changelog.txt, not just create (say) changelog-0.2.2.txt - is that right? What about the next time is run, will it detect the -0.2.2 and auto update to the next addon version, 0.2.3 for example? I expected it to always look at the changelog.txt and change that to the current one..
2. It creates the .zip files inside the add on dirs themselves - traditionally I have them in a separate downloads folder, but I suppose this isn't a big deal. Will it delete older versions or will they just keep building up?
3. It seems to get the version numbers wrong on every second add on - first one is ok, but it uses this again for the next add on, the seems to get it right, then gets it wrong on the 4th or whatever. There's something not right going on there - have you tried this with a bunch of addons?
If you want to try what I am doing, clone my repo:
...cd into staging and run repo_prep.py from there.
I am sure it's me being a duffer but there's not a lot of documentation to work with
Any help appreciated!!
[RELEASE] Repository Preparer (update to addons_xml_generator.py)
Joined: Sep 2009
Location: Melbourne, Australia
2012-06-20 12:50 Post: #11
My XBMC stuff: ...inc:
Joined: Aug 2011
2013-02-22 21:12 Post: #12
Playing to day with this updated version and noticed when i set repo_root = True the script failes (or windows paths). (Windows machine, not yet tested on Linux)
It also generates errors when using a large sized skin addon (the zip seems to be fine though)
Using a absolute windows path generates a syntax error.
(This post was last modified: 2013-02-22 21:36 by schumi2004.)