diff options
author | Steve Chaplin <> | 2011-04-18 18:09:07 +0800 |
---|---|---|
committer | Steve Chaplin <> | 2011-04-18 18:09:07 +0800 |
commit | 4323d440e99deb91ee2e98b6b845ab17cf9b6bd8 (patch) | |
tree | 95edc7c2b18ce09b7b7b2e78233ed2fb54a32d09 | |
parent | ce2e44067e489df0f49c21c21766de934f939367 (diff) | |
download | pycairo-4323d440e99deb91ee2e98b6b845ab17cf9b6bd8.tar.gz |
Increment version to 1.10.1
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | RELEASING | 70 | ||||
-rw-r--r-- | doc/conf.py | 2 | ||||
-rw-r--r-- | wscript | 4 |
4 files changed, 28 insertions, 50 deletions
@@ -3,7 +3,7 @@ http://www.cairographics.org/pycairo Dependencies ------------ - cairo >= 1.10.0 + cairo >= 1.10.1 Python >= 3.1 Compiling @@ -23,7 +23,8 @@ $ ./waf dist # to create pycairo-x.x.x.tar.bz2 # create sha1 sum $ sha1sum pycairo-x.x.x.tar.bz2 > pycairo-x.x.x.tar.bz2.sha1 -Copy to /tmp, install from the archive, run tests and examples. +cp pycairo* /tmp +# install from the archive, run tests and examples. 4) git commit # the changes to NEWS, etc. @@ -35,23 +36,11 @@ $ git tag X.Y.Z push the changes to the freedesktop server. $ git push origin master -5) Copy the archive to the cairo download server -chmod a+r /tmp/pycairo* -scp pycairo-x.x.x.tar.bz2 pycairo-x.x.x.tar.bz2.sha1 cairographics.org:/srv/cairo.freedesktop.org/www/releases - -old Makefile rules: -RELEASE_UPLOAD_HOST = cairographics.org -RELEASE_UPLOAD_BASE = /srv/cairo.freedesktop.org/www -RELEASE_UPLOAD_DIR = $(RELEASE_UPLOAD_BASE)/releases -RELEASE_ANNOUNCE_LIST = cairo-announce@cairographics.org (and CC python-announce-list@python.org) -RELEASE_URL_BASE = http://cairographics.org/releases -tar_file = $(PACKAGE)-$(VERSION).tar.gz -md5_file = $(tar_file).md5 +5) Copy the archive to the cairo download server +$ chmod a+r /tmp/pycairo* -scp $(tar_file) $(md5_file) $(RELEASE_UPLOAD_HOST):$(RELEASE_UPLOAD_DIR) -mv $(tar_file) $(md5_file) releases -ssh $(RELEASE_UPLOAD_HOST) "rm -f $(RELEASE_UPLOAD_DIR)/LATEST-$(PACKAGE)-[0-9]* && ln -s $(tar_file) $(RELEASE_UPLOAD_DIR)/LATEST-$(PACKAGE)-$(VERSION)" +$ scp pycairo-x.x.x.tar.bz2 pycairo-x.x.x.tar.bz2.sha1 cairographics.org:/srv/cairo.freedesktop.org/www/releases 6) Verify that the tar file arrived at the website. @@ -60,12 +49,7 @@ ssh $(RELEASE_UPLOAD_HOST) "rm -f $(RELEASE_UPLOAD_DIR)/LATEST-$(PACKAGE)-[0-9]* Update http://cheeseshop.python.org entry for pycairo. -7) Edit ./wscript to increment VERSION to the next larger (odd) number. -$ git commit -$ git push origin master - - -8) Send a message to cairo-announce@cairographics.org +7) Send a message to cairo-announce@cairographics.org and CC python-announce-list@python.org to announce the new release using the template below @@ -76,30 +60,26 @@ library cairo. http://cairographics.org http://cairographics.org/pycairo -A new pycairo release X.X.X is now available from: +A pycairo release X.X.X is available from: http://cairographics.org/releases/pycairo-X.X.X.tar.bz2 - http://cairographics.org/releases/pycairo-X.X.X.tar.bz2.sha1 - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx pycairo-X.X.X.tar.bz2.sha1 - - -9) Generating documentation archives ------------------------------------- -$ cd doc/ -$ vi conf.py # update the version and release numbers -$ make clean -$ make html -$ cd .build/ -$ mv html pycairo-x.x.x-docs-html -$ tar cjf /tmp/pycairo-x.x.x-docs-html.tar.bz2 pycairo-x.x.x-docs-html -$ zip -r /tmp/pycairo-x.x.x-docs-html.zip pycairo-x.x.x-docs-html -$ chmod a+r /tmp/pycairo* -untar docs in /tmp and check that they have correct version number and view -OK. -copy file to the 'releases' directory on cairo website: - scp pycairo-x.x.x-docs-html.tar.bz2 cairographics.org:/srv/cairo.freedesktop.org/www/releases +<insert NEWS here ...> + + +8) Generate documentation and copy to cairo web server +$ cd doc/_build/html +$ tar cjf /tmp/html.tar.bz2 * # adds files to top level of archive +$ scp /tmp/html.tar.bz2 cairographics.org:/srv/cairo.freedesktop.org/www/documentation/pycairo/3 +$ ssh cairographics.org + # login and untar the file + # test pycairo docs can be read from web + # check everyone has read permission (and 'x' for dirs) -cd doc - html_docs_create.sh - html_docs_upload.sh + +9) Increment pycairo version number, to next odd number in: + doc/conf.py + README + wscript +$ git commit +$ git push origin master diff --git a/doc/conf.py b/doc/conf.py index c433aca..6531cb2 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -50,7 +50,7 @@ copyright = u'2008, Steve Chaplin' # The short X.Y version. version = '1.10' # The full version, including alpha/beta/rc tags. -release = '1.10.0' +release = '1.10.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -7,7 +7,7 @@ out = 'build_directory' d = top APPNAME='pycairo' -VERSION='1.10.0' +VERSION='1.10.1' cairo_version_required = '1.10.0' @@ -69,8 +69,6 @@ def dist(ctx): # exclude these files from the distribution archive exclude = ( 'build_directory/', - 'doc/html_docs_create.sh', - 'doc/html_docs_upload.sh', 'doc/_static/', 'doc/_templates/', 'doc/_build/doctrees/', |