aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorS Page <spage@wikimedia.org>2014-12-02 22:16:23 -0800
committerRush <rush@wikimedia.org>2015-03-05 18:01:39 +0000
commitedb46a766dfccba4a09468ab69897ad29def66ae (patch)
tree6629bbf0e0d6cfa4750aaf8119694b51da2c21f3
parentd652499cf2f64d88c711d75bb7010dd5280b53d4 (diff)
Explain operation in README
Point to bugrun.sh, say what scripts do. Change-Id: I1973224676c25f6d2c1f0a1e0808af0678b734ef
-rwxr-xr-xREADME24
1 files changed, 21 insertions, 3 deletions
diff --git a/README b/README
index 628456c..783dc09 100755
--- a/README
+++ b/README
@@ -32,6 +32,24 @@ OPTIONAL:
via test/loadrtppl.py
ppl = {"test": "test@wikimedia.org"}
+OPERATION
+
+See bugrun.sh
+
+bugzilla_fetch.py reads Bugzilla, populates a local database next to Phabricator.
+A lot of the data is stored as JSON in its fields.
+
+Then bugzilla_create.py creates tasks.
+bugzilla_update_tasks.py updates tasks
+
+bugzilla_populate_user_relations_comments_table.py and
+bugzilla_populate_user_relations_table.py
+get the comment transaction ID. If the user exists in Phabricator they can later
+associate the right user with it.
+
+bugzilla_update_user_comments.py updates comments
+
+
This repo makes use of the following packages:
python-phabricator
@@ -49,7 +67,7 @@ CREATE TABLE bugzilla_meta (
id INT,
priority INT,
header TEXT(10000),
- comments TEXT(100000),
+ comments TEXT(100000),
xcomments TEXT(100000),
created int(12) NOT NULL,
modified int(12) NOT NULL
@@ -60,7 +78,7 @@ CREATE TABLE rt_meta (
id INT,
priority INT,
header TEXT(10000),
- comments TEXT(100000),
+ comments TEXT(100000),
xcomments TEXT(100000),
created int(12) NOT NULL,
modified int(12) NOT NULL
@@ -71,7 +89,7 @@ CREATE TABLE fab_meta (
id INT,
priority INT,
header TEXT(10000),
- comments TEXT(100000),
+ comments TEXT(100000),
created int(12) NOT NULL,
modified int(12) NOT NULL
);