diff --git a/.gitignore b/.gitignore index 42b5ed4678d9b417b6a0dd56dd08022cac58f695..7401fb3d0cd92558925f3aa345467470e83a49e9 100644 --- a/.gitignore +++ b/.gitignore @@ -29,7 +29,6 @@ autoProcessTV/build/* SickBeard-win32-*.zip *.exe gc.ini -CHANGELOG.txt *.tmp *.wpr *.project diff --git a/CHANGELOG.txt b/CHANGELOG.txt new file mode 100644 index 0000000000000000000000000000000000000000..0e3a20076c453383402b108964c1608e5bfc974f --- /dev/null +++ b/CHANGELOG.txt @@ -0,0 +1 @@ +See https://github.com/midgetspy/Sick-Beard/wiki/ChangeLog \ No newline at end of file diff --git a/setup.py b/setup.py index f95edb65a205d7a100f8ba9ecd1ed4ea551dd893..5f703e813215ff2cbaf148d9a2ba47fbb64d0105 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,6 @@ import urllib, ConfigParser from distutils.core import setup import py2exe, sys, os, shutil, datetime, zipfile, subprocess, fnmatch import googlecode_upload -from lib.pygithub import github # mostly stolen from the SABnzbd package.py file name = 'SickBeard' @@ -164,45 +163,6 @@ setup( console = ['updater.py'], ) -if 'test' in oldArgs: - print "Ignoring changelog for test build" -else: - # start building the CHANGELOG.txt - print 'Creating changelog' - gh = github.GitHub() - - # read the old changelog and find the last commit from that build - lastCommit = "" - try: - cl = open("CHANGELOG.txt", "r") - lastCommit = cl.readlines()[0].strip() - cl.close() - except: - print "I guess there's no changelog" - - newestCommit = "" - changeString = "" - - # cycle through all the git commits and save their commit messages - for curCommit in gh.commits.forBranch('midgetspy', 'Sick-Beard'): - if curCommit.id == lastCommit: - break - - if newestCommit == "": - newestCommit = curCommit.id - - changeString += curCommit.message + "\n\n" - - # if we didn't find any changes don't make a changelog file - if newestCommit != "": - newChangelog = open("CHANGELOG.txt", "w") - newChangelog.write(newestCommit+"\n\n") - newChangelog.write("Changelog for build "+str(currentBuildNumber)+"\n\n") - newChangelog.write(changeString) - newChangelog.close() - else: - print "No changes found, keeping old changelog" - # put the changelog in the compile dir if os.path.exists("CHANGELOG.txt"): shutil.copy('CHANGELOG.txt', 'dist/') diff --git a/updates.txt b/updates.txt index b5b5b4a47c5268ff03c0eb90d647cfafcf754885..8a68158d7e39cf408337c97dbb19d2571da256d7 100644 --- a/updates.txt +++ b/updates.txt @@ -1,3 +1,4 @@ +http://sickbeard.googlecode.com/files/SickBeard-win32-alpha-build495.zip http://sickbeard.googlecode.com/files/SickBeard-win32-alpha-build494.zip http://sickbeard.googlecode.com/files/SickBeard-win32-alpha-build493.zip http://sickbeard.googlecode.com/files/SickBeard-win32-alpha-build492.zip