[tracker/wip/sam/resource] WIP: add script 4 testing



commit ebd5c3523287b7bda197355836eaa67d966d123d
Author: Sam Thursfield <sam afuera me uk>
Date:   Sat May 7 15:42:55 2016 +0100

    WIP: add script 4 testing

 utils/data-generators/create-tree-from-real-data |   23 ++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)
---
diff --git a/utils/data-generators/create-tree-from-real-data 
b/utils/data-generators/create-tree-from-real-data
new file mode 100644
index 0000000..ec012ca
--- /dev/null
+++ b/utils/data-generators/create-tree-from-real-data
@@ -0,0 +1,23 @@
+#!/usr/bin/env python
+
+'''Create tree from real data!
+
+This script is to generate a directory tree full of media files, which
+you can use for testing Tracker against. It works by using real media
+files from the computer you're running on. So it's more realistic than
+testing with completely faked data, but you can exert *some* control
+over the test environment by specifying how many files of each type
+that you want to have.
+
+The real media files are discovered using the Tracker instance of
+the current running user.
+
+'''
+
+import argparse
+
+def argument_parser():
+    pass
+
+# For music, videos, etc.
+# create 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]