X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=make%2Fconfigure.py;h=1b140739b91213fde0ae343ffee73f7ba5fd193c;hb=44946a6f8be82a70e65ca534541183a26fdb804b;hp=790d29abb4f31dc1d6e75e7484670470e374a677;hpb=a151ce45b9f87b3137de7547d29874341a795c38;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/make/configure.py b/make/configure.py index 790d29ab..1b140739 100644 --- a/make/configure.py +++ b/make/configure.py @@ -662,25 +662,25 @@ class Project( Action ): if repo.type == 'release': self.version = '%d.%d.%d' % (self.vmajor,self.vminor,self.vpoint) - url_type = '' + url_ctype = '' + url_ntype = 'stable' self.build = time.strftime('%Y%m%d') + '00' self.title = '%s %s (%s)' % (self.name,self.version,self.build) elif repo.type == 'developer': self.version = 'svn%d' % (repo.rev) - url_type = '_unstable' + url_ctype = '_unstable' + url_ntype = 'unstable' self.build = time.strftime('%Y%m%d') + '01' self.title = '%s svn%d (%s)' % (self.name,repo.rev,self.build) else: - self.version = 'svn%d' % (repo.rev) - url_type = '_unofficial' - self.url_appcast = appcast_fmt % ('_unofficial',appcast_arch) + self.version = 'rev%d' % (repo.rev) + url_ctype = '_unofficial' + url_ntype = 'unofficial' self.build = time.strftime('%Y%m%d') + '99' - self.title = 'Unofficial svn%d (%s)' % (repo.rev,self.build) + self.title = '%s rev%d (%s)' % (self.name,repo.rev,self.build) - #self.url_appbase = 'http://handbrake.fr/appcast%s.xml' % (url_type) - #self.url_appcast = 'http://handbrake.fr/appcast%s%s.xml' % (url_type,url_arch) - self.url_appbase = 'http://localhost/appcast%s' % (url_type) - self.url_appcast = 'http://localhost/appcast%s%s.xml' % (url_type,url_arch) + self.url_appcast = 'http://handbrake.fr/appcast%s%s.xml' % (url_ctype,url_arch) + self.url_appnote = 'http://handbrake.fr/appcast/%s.html' % (url_ntype) self.msg_end = '%s (%s)' % (self.name,repo.type) self.fail = False @@ -1210,8 +1210,8 @@ try: doc.add( 'HB.url.website', project.url_website ) doc.add( 'HB.url.community', project.url_community ) doc.add( 'HB.url.irc', project.url_irc ) - doc.add( 'HB.url.appbase', project.url_appbase ) doc.add( 'HB.url.appcast', project.url_appcast ) + doc.add( 'HB.url.appnote', project.url_appnote ) doc.add( 'HB.version.major', project.vmajor ) doc.add( 'HB.version.minor', project.vminor )