diff options
authorfuzzyray <fuzzyray@gentoo.org>2009-12-08 21:53:45 +0000
committerfuzzyray <fuzzyray@gentoo.org>2009-12-08 21:53:45 +0000
commitacdf616efa73b77936963eaa8b5c715db97646d2 (patch)
treed08ef2efee8b7edbf8c1df1a8de26439d6b42bd3 /README.dev
parentSpeedup portageq queries. Include FuzzyRay's patch to respect EMERGE_DEFAULT_... (diff)
Merge rev 113 from djanderson's genscripts repo
svn path=/trunk/gentoolkit/; revision=703
Diffstat (limited to 'README.dev')
1 files changed, 25 insertions, 0 deletions
diff --git a/README.dev b/README.dev
new file mode 100644
index 0000000..7a33d1c
--- /dev/null
+++ b/README.dev
@@ -0,0 +1,25 @@
+Adding or modifying code:
+- If you add new code, best practice is to write a test for it.
+- If you're modifying code that doesn't have a test and you can write a test
+ for it, please do.
+- Before committing your changes to a python file, please make sure it passes
+ pylint with:
+pylint --rcfile=pylintrc yourfile.py
+- If pylint raises a warning or error that you don't agree with, it's probably
+ better to just change your code. If you're sure you have a good reason for
+ doing what you're doing, you can add an exception to our pylintrc.
+Creating a release:
+- Run Gentoolkit's test suite, make sure it passes:
+./setup.py test
+- Create a tag for the release
+- Set the version of the release:
+VERSION="0.3.0" ./setup set_version
+- Create a source distribution (you need to add VERSION here, too):
+VERSION="0.3.0" ./setup.py sdist
+- Reset svn version to 'svn' (default):
+./setup.py set_version
+- Clean up temporary files:
+./setup clean -a