XBMC Changelog
#1
hey folks. I have been generating my own changelog.txt for my builds for a while now, but since I was bored today I decided to write up a scheduled batch for it.
I will be hosting a changelog.txt HERE.
For those who are interested, here's the batch I have scheduled to run twice a day:
Code:
@echo off
FOR /F "TOKENS=1* DELIMS= " %%A IN ('DATE/T') DO SET CDATE=%%B
FOR /F "TOKENS=1,2 eol=/ DELIMS=/ " %%A IN ('DATE/T') DO SET mm=%%B
FOR /F "TOKENS=1,2 DELIMS=/ eol=/" %%A IN ('echo %CDATE%') DO SET dd=%%B
FOR /F "TOKENS=2,3 DELIMS=/ " %%A IN ('echo %CDATE%') DO SET yyyy=%%B
SET /A DD= %DD% + 1
cd svn
svn update
cd ..
svn log SVN --xml -r {%yyyy%-%mm%-%dd%}:{2006-06-01}>>Changelog.xml
changelog.exe changelog.xml changelog.txt
del "%CD%\changelog.xml" /Q
ftp -s:ftp.txt
del "%CD%\changelog.txt" /Q

everything before the "cd svn" part is to set the current year, month, and day as batch variables. The next step goes to my local copy of the XBMC source code (in a folder named SVN) and updates it. then I run an SVN log query which lists all the changes from between today's date and June 1st, 2006 (basically 6 months ago), then I run the changelog tool to convert it from XML into TXT and finally, upload it to my server and then delete the files.
Reply
#2
nice thnx
Reply
#3
So, whats the directory structure your using and svn program your using... for example I'm using the DBR and the directory structureis obviously different and SVN is included rather than installed.
Image
Reply
#4
OK, lets make the assumption changelog.exe and the XBMC folder are in root.

Can somebody post syntax I could throw into a batch file to create a changelog.txt?
Image
Reply
#5
If you're using XBMCDBR, get the latest sources from cvs. There should be a changelog.bat file in there which does the business.

This is what is in that file
Code:
tools\svn\svn log https://svn.sourceforge.net/svnroot/xbmc/trunk/XBMC/ --limit 100 --xml > Changelog.xml
XBMC\tools\changelog\changelog Changelog.xml

However, if you have the changelog.exe and svn in your path,
Code:
Changelog DOWNLOAD changelog.txt 100
This will download the latest 100 changes and process them into changelog.txt
Reply
#6
Danke
Image
Reply
#7
Working realtime changelog's can be found here:

http://forum.xbmc.org/showthread.php?tid=25616

The changelog's are updated when the SVN are updated.
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC Changelog0