aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorS Page <spage@wikimedia.org>2014-12-02 22:55:10 -0800
committerMukunda Modell <mmodell@wikimedia.org>2016-06-06 16:33:48 -0500
commit8ba86b37675d9ef57f44f81326012b12abdfe8b8 (patch)
tree42ea7219306b1bb1e728d79645b95fad0b21ce07
parente5bd9268a7eb303efa6462028e9fec11e8f2683b (diff)
Improve README and phabtools.conf.example
Mention phabtools.conf.example in README; install hints for python-phabricator and python-mysqldb Add dummy config value for update_lookback value (bugzilla_create.py dies without it). Change-Id: I01aea0222c27ed0a91d94877e0627f394b9c7af0
-rwxr-xr-xREADME7
-rw-r--r--phabtools.conf.example2
2 files changed, 6 insertions, 3 deletions
diff --git a/README b/README
index 783dc09..3610d63 100755
--- a/README
+++ b/README
@@ -18,7 +18,7 @@ Preflight check for migrations:
ensure file size (mysql / php)
bot creation
set up hosts file entry for db on main (dns is slow)
- update /etc/phabtools
+ create and modify /etc/phabtools.conf (start from phabtools.conf.example)
IMPORTANT:
@@ -52,9 +52,10 @@ bugzilla_update_user_comments.py updates comments
This repo makes use of the following packages:
-python-phabricator
+python-phabricator (sudo apt-get install python-phabricator
+ or git clone https://github.com/disqus/python-phabricator)
python-rtkit
-python-mysqldb
+python-mysqldb (sudo apt-get install python-mysqldb)
Notes on DB Schema for migration:
diff --git a/phabtools.conf.example b/phabtools.conf.example
index fc143f5..5783b87 100644
--- a/phabtools.conf.example
+++ b/phabtools.conf.example
@@ -41,6 +41,8 @@ fetch_multi = 40
create_multi = 3
update_limit = 30
update_multi = 10
+# TODO pick better default
+update_lookback = 999
populate_multi = 6
security = false