Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Unified Diff: tools/telemetry/third_party/coverage/howto.txt

Issue 1366913004: Add coverage Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/telemetry/third_party/coverage/doc/trouble.rst ('k') | tools/telemetry/third_party/coverage/igor.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/third_party/coverage/howto.txt
diff --git a/tools/telemetry/third_party/coverage/howto.txt b/tools/telemetry/third_party/coverage/howto.txt
new file mode 100644
index 0000000000000000000000000000000000000000..efb74d40c0b2befc1043e19b137a2a47849b262c
--- /dev/null
+++ b/tools/telemetry/third_party/coverage/howto.txt
@@ -0,0 +1,99 @@
+* Release checklist
+
+- Test on:
+ - Windows
+ - Ubuntu
+ - Mac
+ - Pythons 2.6, 2.7, 3.3, 3.4, 3.5
+- Version number in coverage/version.py
+ - 3.1a1, 3.1b1, 3.1c1, 3.1
+- Python version number in classifiers in setup.py
+- Copyright date in NOTICE.txt
+- Update CHANGES.txt, including release date.
+- Update README.rst, including "New in x.y:"
+- Update docs
+ - Version, date, and changes in doc/changes.rst
+ - Version and date in doc/index.rst
+ - Version and copyright date in doc/conf.py
+ - Don't forget the man page: doc/python-coverage.1.txt
+ - done with changes to source files, check them in.
+ - Generate new sample_html to get the latest, incl footer version number:
+ pip install -e .
+ cd ~/cog/trunk
+ rm -rf htmlcov
+ coverage run --branch --source=cogapp -m nose cogapp/test_cogapp.py:CogTestsInMemory
+ coverage combine
+ coverage html
+ - IF BETA:
+ rm -f ~/coverage/trunk/doc/sample_html_beta/*.*
+ cp -r htmlcov/ ~/coverage/trunk/doc/sample_html_beta/
+ - ELSE:
+ rm -f ~/coverage/trunk/doc/sample_html/*.*
+ cp -r htmlcov/ ~/coverage/trunk/doc/sample_html/
+ - IF BETA:
+ - Build and publish docs:
+ $ make publishbeta
+ - ELSE:
+ - Build and publish docs:
+ $ make publish
+- Kits:
+ - Source kit:
+ - $ make kit
+ - Wheels
+ - $ make wheel
+ - Windows kits
+ - $ hg push
+ - wait about 35 minutes for Appveyor to build kits.
+ - $ make download_appveyor
+ - examine the dist directory, and remove anything that looks malformed.
+- Update PyPi:
+ - $ make pypi
+ - upload kits:
+ - $ make kit_upload
+ - Visit http://pypi.python.org/pypi?%3Aaction=pkg_edit&name=coverage :
+ - show/hide the proper versions.
+- Tag the tree
+ - hg tag -m "Coverage 3.0.1" coverage-3.0.1
+- Update nedbatchelder.com
+ - Blog post?
+- Update readthedocs
+ - Coverage / versions
+ - find the latest tag in the inactive list, edit it, make it active.
+ - IF NOT BETA:
+ - visit https://readthedocs.org/dashboard/coverage/advanced/
+ - change the default version
+- Update bitbucket:
+ - Issue tracker should get new version number in picker.
+ # Note: don't delete old version numbers: it marks changes on the tickets
+ # with that number.
+- Announce on coveragepy-announce@googlegroups.com .
+- Announce on TIP.
+
+
+* Building
+
+- Create PythonXX\Lib\distutils\distutils.cfg::
+ [build]
+ compiler = mingw32
+
+* Testing
+
+- Testing of Python code is handled by tox.
+ - Create and activate a virtualenv
+ - pip install -r requirements/dev.pip
+ - $ tox
+
+- For complete coverage testing:
+
+ $ make metacov
+
+ This will run coverage.py under its own measurement. You can do this in
+ different environments (Linux vs. Windows, for example), then copy the data
+ files (.metacov.*) to one machine for combination and reporting. To
+ combine and report:
+
+ $ make metahtml
+
+- To run the Javascript tests:
+
+ open tests/js/index.html in variety of browsers.
« no previous file with comments | « tools/telemetry/third_party/coverage/doc/trouble.rst ('k') | tools/telemetry/third_party/coverage/igor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698