[Checkins] SVN: bluebream/branches/ccomb-remove-bbkit/ updated the tests and the doc. Added a HOWTO_RELEASE

Christophe Combelles ccomb at free.fr
Fri Jul 9 17:08:51 EDT 2010


Log message for revision 114453:
  updated the tests and the doc. Added a HOWTO_RELEASE
  

Changed:
  U   bluebream/branches/ccomb-remove-bbkit/CHANGES.txt
  A   bluebream/branches/ccomb-remove-bbkit/HOWTO_RELEASE.txt
  U   bluebream/branches/ccomb-remove-bbkit/README.txt
  U   bluebream/branches/ccomb-remove-bbkit/src/bluebream/bluebream_base/tests/bluebream.txt

-=-
Modified: bluebream/branches/ccomb-remove-bbkit/CHANGES.txt
===================================================================
--- bluebream/branches/ccomb-remove-bbkit/CHANGES.txt	2010-07-09 21:07:56 UTC (rev 114452)
+++ bluebream/branches/ccomb-remove-bbkit/CHANGES.txt	2010-07-09 21:08:51 UTC (rev 114453)
@@ -4,7 +4,9 @@
 1.0b3 (unreleased)
 ------------------
 
-- Nothing changed yet.
+- Directly depend on the ZTK!
+- Removed the bbkit package
+- Ask the version of BlueBream at project creation
 
 
 1.0b2 (2010-06-30)

Added: bluebream/branches/ccomb-remove-bbkit/HOWTO_RELEASE.txt
===================================================================
--- bluebream/branches/ccomb-remove-bbkit/HOWTO_RELEASE.txt	                        (rev 0)
+++ bluebream/branches/ccomb-remove-bbkit/HOWTO_RELEASE.txt	2010-07-09 21:08:51 UTC (rev 114453)
@@ -0,0 +1,32 @@
+Releasing a new version of BlueBream
+====================================
+
+First run the buildout in an isolated virtualenv::
+
+    $ virtualenv --distribute --no-site-packages sandbox
+    $ ./sandbox/bin/python bootstrap.py
+    $ ./bin/buildout
+
+
+Then update the version of packages in `versions.cfg`.
+You should probably extend the latest version of the ZTK
+You can discover new package versions by running::
+
+    $ ./bin/checkversions buildout.cfg # (use the -l option if needed))
+
+Run the compatibility tests for the additional BlueBream packages::
+
+    $ ./bin/buildout
+    $ ./bin/test
+
+If all tests pass, release a new version using the included `zest.releaser`,
+or manually with the following steps:
+
+- set the correct version number in `setup.py`
+- update the `CHANGELOG.txt`
+- commit and create a tag for this new version
+- change `setup.py` and the `CHANGELOG.txt` to point to the next dev version
+- upload `versions.cfg` with the correct name to http://download.zope.org/bluebream/
+
+
+

Modified: bluebream/branches/ccomb-remove-bbkit/README.txt
===================================================================
--- bluebream/branches/ccomb-remove-bbkit/README.txt	2010-07-09 21:07:56 UTC (rev 114452)
+++ bluebream/branches/ccomb-remove-bbkit/README.txt	2010-07-09 21:08:51 UTC (rev 114453)
@@ -119,8 +119,10 @@
 
 - ``interpreter`` -- Name of the custom Python interpreter
 
-- ``version`` -- Version (like 0.1)
+- ``bluebream`` -- The version of BlueBream
 
+- ``version`` -- The version of your project
+
 - ``description`` -- One-line description of the package
 
 - ``long_description`` -- Multi-line description (in reStructuredText)
@@ -135,9 +137,6 @@
 
 - ``license_name`` -- License name
 
-- ``zip_safe`` -- ``True``, if the package can be distributed as a .zip
-  file otherwise ``False``.
-
 If you are in a hurry, you can simply press *Enter/Return* key and
 change the values later.  But it would be a good idea, if you provide
 a good name for your project.

Modified: bluebream/branches/ccomb-remove-bbkit/src/bluebream/bluebream_base/tests/bluebream.txt
===================================================================
--- bluebream/branches/ccomb-remove-bbkit/src/bluebream/bluebream_base/tests/bluebream.txt	2010-07-09 21:07:56 UTC (rev 114452)
+++ bluebream/branches/ccomb-remove-bbkit/src/bluebream/bluebream_base/tests/bluebream.txt	2010-07-09 21:08:51 UTC (rev 114453)
@@ -24,6 +24,7 @@
 >>> extra_args = [
 ...            "python_package=sample",
 ...            "interpreter=testpy",
+...            "bluebream=1.0",
 ...            "version=0.1",
 ...            "description=test_description",
 ...            "long_description=test_long_description",
@@ -32,7 +33,6 @@
 ...            "author_email=test_author_email",
 ...            "url=http://example.com",
 ...            "license_name=Test Public License",
-...            "zip_safe=False",
 ...            ]
 >>> exit_code = runner.run(option_args + ['-t', 'bluebream', project] + extra_args)
 Selected and implied templates:
@@ -41,6 +41,7 @@
 Variables:
   author:            test_author
   author_email:      test_author_email
+  bluebream:         1.0
   description:       test_description
   egg:               sample
   interpreter:       testpy
@@ -52,7 +53,6 @@
   python_package:    sample
   url:               http://example.com
   version:           0.1
-  zip_safe:          False
 Creating template bluebream
 Creating directory ./sample
 <BLANKLINE>
@@ -66,7 +66,6 @@
 sample/debug.ini
 sample/deploy.ini
 sample/setup.py
-sample/versions.cfg
 sample/etc/site.zcml
 sample/etc/zope-debug.conf
 sample/etc/zope.conf
@@ -108,6 +107,7 @@
 Variables:
   author:            test_author
   author_email:      test_author_email
+  bluebream:         1.0
   description:       test_description
   egg:               sample.main
   interpreter:       testpy
@@ -119,7 +119,6 @@
   python_package:    sample.main
   url:               http://example.com
   version:           0.1
-  zip_safe:          False
 Creating template bluebream
 Creating directory ./sample.main
 <BLANKLINE>
@@ -132,7 +131,6 @@
 sample.main/debug.ini
 sample.main/deploy.ini
 sample.main/setup.py
-sample.main/versions.cfg
 sample.main/etc/site.zcml
 sample.main/etc/zope-debug.conf
 sample.main/etc/zope.conf
@@ -180,6 +178,7 @@
 Variables:
   author:            test_author
   author_email:      test_author_email
+  bluebream:         1.0
   description:       test_description
   egg:               sample.app.main
   interpreter:       testpy
@@ -191,7 +190,6 @@
   python_package:    sample.app.main
   url:               http://example.com
   version:           0.1
-  zip_safe:          False
 Creating template bluebream
 Creating directory ./sample.app.main
 <BLANKLINE>
@@ -204,7 +202,6 @@
 sample.app.main/debug.ini
 sample.app.main/deploy.ini
 sample.app.main/setup.py
-sample.app.main/versions.cfg
 sample.app.main/etc/site.zcml
 sample.app.main/etc/zope-debug.conf
 sample.app.main/etc/zope.conf
@@ -252,6 +249,7 @@
 Variables:
   author:            test_author
   author_email:      test_author_email
+  bluebream:         1.0
   description:       test_description
   egg:               foobar.foobar
   interpreter:       testpy
@@ -263,7 +261,6 @@
   python_package:    foobar.foobar
   url:               http://example.com
   version:           0.1
-  zip_safe:          False
 Creating template bluebream
 Creating directory ./foobar.foobar
 <BLANKLINE>
@@ -276,7 +273,6 @@
 foobar.foobar/debug.ini
 foobar.foobar/deploy.ini
 foobar.foobar/setup.py
-foobar.foobar/versions.cfg
 foobar.foobar/etc/site.zcml
 foobar.foobar/etc/zope-debug.conf
 foobar.foobar/etc/zope.conf
@@ -321,6 +317,7 @@
 Variables:
   author:            test_author
   author_email:      test_author_email
+  bluebream:         1.0
   description:       test_description
   egg:               sampleproject
   interpreter:       testpy
@@ -332,7 +329,6 @@
   python_package:    sample.main
   url:               http://example.com
   version:           0.1
-  zip_safe:          False
 Creating template bluebream
 Creating directory ./sampleproject
 <BLANKLINE>
@@ -345,7 +341,6 @@
 sampleproject/debug.ini
 sampleproject/deploy.ini
 sampleproject/setup.py
-sampleproject/versions.cfg
 sampleproject/etc/site.zcml
 sampleproject/etc/zope-debug.conf
 sampleproject/etc/zope.conf



More information about the checkins mailing list