summaryrefslogtreecommitdiff
path: root/HACKING.rst
diff options
context:
space:
mode:
authorZhiQiang Fan <zhiqiang.fan@huawei.com>2015-01-12 20:04:55 +0800
committerZhiQiang Fan <zhiqiang.fan@huawei.com>2015-02-11 16:09:19 +0800
commit27fed841bf5e0db46ca857bae0343ff85924e511 (patch)
tree27211662882300eb7a15f72f153fb97c842fe1f4 /HACKING.rst
parent1ff93a221ea82c2173b45c748e27b16cddfd16f2 (diff)
downloadceilometer-27fed841bf5e0db46ca857bae0343ff85924e511.tar.gz
enable oslo namespace check for ceilometer project
Currently, oslo team starts to drop old oslo namespace, the old import style can work now, but not any more in next development cycle. We've already done and will continue do the migrate jobs, but we need a way to prevent accidently import such issue again. The hacking rules cannot satisfy the need, so let's do the local check. Code are basically stolen from Nova project. Note, this patch also fixes some new introduced oslo namespace issues. Change-Id: I98c81c47a727ed71fb75820f21276cb989d47714
Diffstat (limited to 'HACKING.rst')
-rw-r--r--HACKING.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/HACKING.rst b/HACKING.rst
new file mode 100644
index 00000000..72668ae7
--- /dev/null
+++ b/HACKING.rst
@@ -0,0 +1,11 @@
+Ceilometer Style Commandments
+=============================
+
+- Step 1: Read the OpenStack Style Commandments
+ http://docs.openstack.org/developer/hacking/
+- Step 2: Read on
+
+Ceilometer Specific Commandments
+--------------------------------
+
+- [C300] Check for oslo library imports use the non-namespaced packages