From c9a108509bf943ee43f47a4cb49f737337cfc33c Mon Sep 17 00:00:00 2001
From: Volker Theile <vtheile@suse.com>
Date: Mon, 18 Feb 2019 11:47:39 +0100
Subject: [PATCH] mgr: Ignore __pycache__ and wheelhouse dirs

Signed-off-by: Volker Theile <vtheile@suse.com>
---
 .gitignore                                 | 1 +
 qa/.gitignore                              | 1 -
 src/pybind/.gitignore                      | 1 -
 src/pybind/mgr/ansible/.gitignore          | 1 +
 src/pybind/mgr/dashboard/.gitignore        | 1 -
 src/pybind/mgr/orchestrator_cli/.gitignore | 1 +
 6 files changed, 3 insertions(+), 3 deletions(-)
 delete mode 100644 src/pybind/.gitignore
 create mode 100644 src/pybind/mgr/ansible/.gitignore
 create mode 100644 src/pybind/mgr/orchestrator_cli/.gitignore

diff --git a/.gitignore b/.gitignore
index 96968b4e71b..2c2afc282ed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,6 +24,7 @@ cscope.*
 gmon.out
 py-compile
 tags
+__pycache__
 
 # Files generated by crashed programs
 vgcore.*
diff --git a/qa/.gitignore b/qa/.gitignore
index c4a1a681160..e80d9d42aaf 100644
--- a/qa/.gitignore
+++ b/qa/.gitignore
@@ -2,4 +2,3 @@
 .*.sw[nmop]
 *.pyc
 .tox
-__pycache__
diff --git a/src/pybind/.gitignore b/src/pybind/.gitignore
deleted file mode 100644
index 225fc6f6650..00000000000
--- a/src/pybind/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/__pycache__
diff --git a/src/pybind/mgr/ansible/.gitignore b/src/pybind/mgr/ansible/.gitignore
new file mode 100644
index 00000000000..43a2d269d0a
--- /dev/null
+++ b/src/pybind/mgr/ansible/.gitignore
@@ -0,0 +1 @@
+wheelhouse*
diff --git a/src/pybind/mgr/dashboard/.gitignore b/src/pybind/mgr/dashboard/.gitignore
index 804183753df..0e6f614929d 100644
--- a/src/pybind/mgr/dashboard/.gitignore
+++ b/src/pybind/mgr/dashboard/.gitignore
@@ -3,7 +3,6 @@ htmlcov
 .tox
 coverage.xml
 junit*xml
-__pycache__
 .cache
 ceph.conf
 wheelhouse*
diff --git a/src/pybind/mgr/orchestrator_cli/.gitignore b/src/pybind/mgr/orchestrator_cli/.gitignore
new file mode 100644
index 00000000000..43a2d269d0a
--- /dev/null
+++ b/src/pybind/mgr/orchestrator_cli/.gitignore
@@ -0,0 +1 @@
+wheelhouse*