aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorS Page <spage@wikimedia.org>2015-02-26 17:31:09 -0800
committerRush <rush@wikimedia.org>2016-04-04 14:57:41 +0000
commita574c846169e0499994dc6de610ac5f69f53fb3a (patch)
tree2ffe4dac0f4a1b93ac2ed9d6cd78b6f4dcf6e515
parent1433a20886a4168d41b81b5ecf5e29687678f2e2 (diff)
More Trello->Phab username mappings; comments
I migrated the Gather backlog board for Jon Katz, and now Growth, so we have more username mappings. And tweaked my instructions. Change-Id: I5d7136c2d6b75471e941dd86ba734decf13c6458
-rw-r--r--data/trello_names_phab-01.yaml5
-rw-r--r--data/trello_names_phabricator.yaml59
-rw-r--r--trello_create.py7
3 files changed, 45 insertions, 26 deletions
diff --git a/data/trello_names_phab-01.yaml b/data/trello_names_phab-01.yaml
index e3be646..3bcb4f5 100644
--- a/data/trello_names_phab-01.yaml
+++ b/data/trello_names_phab-01.yaml
@@ -3,8 +3,13 @@
# python export_trello.py print-users --trello-file SOMEtrello_board_export.json
# To get Phabricator usernames you can e.g. go to a project and look for members and CCs.
trelloUserMap:
+ dartar: DarTar
gtisza: Tgr
+ kristenlans1: KLans
+ jonrobson1: jdlrobson
legoktm: legoktm
+ maryanapinchuk: Maryana
matthewflaschen: mattflaschen
pauginer:
+ robm17: rmoen
spage1: spage
diff --git a/data/trello_names_phabricator.yaml b/data/trello_names_phabricator.yaml
index c75ca22..de63ce2 100644
--- a/data/trello_names_phabricator.yaml
+++ b/data/trello_names_phabricator.yaml
@@ -1,23 +1,36 @@
- antoinemusso: hashar
- benmq: Bencmq
- dannyhorn1: DannyH
- erikbernhardson: EBernhardson
- fflorin: Fabrice_Florin
- gdubuc: Gilles
- gtisza: Tgr
- jaredmzimmerman: Jaredzimmerman-WMF
- jonrobson1: Jdlrobson
- kaityhammerstein: KHammerstein
- legoktm: Legoktm
- matthewflaschen: Mattflaschen
- matthiasmullie: matthiasmullie
- maygalloway: violetto
- mholmquist: MarkTraceur
- moizsyed_: MSyed
- oliverkeyes: Ironholds
- pauginer: Pginer-WMF
- pginer: Pginer-WMF
- quiddity1: Quiddity
- spage1: Spage
- wctaiwan: wctaiwan
- werdnum: werdna
+# Map usernames in Trello to usernames on phab-01.wmflabs.org
+# To get Trello usernames you can use, e.g.
+# python export_trello.py print-users --trello-file SOMEtrello_board_export.json
+# To get Phabricator usernames you can e.g. go to a project and look for members and CCs.
+trelloUserMap:
+ antoinemusso: hashar
+ benmq: Bencmq
+ dannyhorn1: DannyH
+ dartar: DarTar
+ erikbernhardson: EBernhardson
+ fflorin: Fabrice_Florin
+ gdubuc: Gilles
+ gtisza: Tgr
+ jaredmzimmerman: Jaredzimmerman-WMF
+ jkatzwmf: JKatzWMF
+ joaquin: Jhernandez
+ jonrobson1: Jdlrobson
+ kaityhammerstein: KHammerstein
+ halfak: Halfak
+ kristenlans1: KLans_WMF
+ legoktm: Legoktm
+ maryanapinchuk: Maryana
+ matthewflaschen: Mattflaschen
+ matthiasmullie: matthiasmullie
+ maygalloway: violetto
+ mholmquist: MarkTraceur
+ moizsyed_: MSyed
+ oliverkeyes: Ironholds
+ pauginer: Pginer-WMF
+ pginer: Pginer-WMF
+ phuedx: phuedx
+ quiddity1: Quiddity
+ robm17: rmoen
+ spage1: Spage
+ wctaiwan: wctaiwan
+ werdnum: werdna
diff --git a/trello_create.py b/trello_create.py
index c25663e..e4ba8fe 100644
--- a/trello_create.py
+++ b/trello_create.py
@@ -12,8 +12,9 @@
# test Phab host phab-01.wmflabs.org and then for reals on the production Phab
# host phabricator.wikimedia.org.)
#
-# 2. Modify /etc/phabtools.conf for either test host phab-01.wmflabs.org or
-# production host phabricator.wikimedia.org.
+# 2. Modify /etc/phabtools.conf for
+# * host= either phab-01.wmflabs.org (test) or phabricator.wikimedia.org (production)
+# * user= trellimport (spage created this user on both test and production)
# 3. Check that data/trello_names_<HOST>.yaml has up-to-date
# Trello_username: Phab_username, mapping the members of the Trello board
# you're importing to their Phab username on either the test phab-01 or
@@ -33,7 +34,7 @@
# --column 'Send to Phabricator - Collaboration-Team board'
# Check the command output.
# 6b. Do a test-run of trello_create.py to a test project on the test host (this
-# creates cards named 'TEST RUN: xxx'). Same command-line as above without "--test-run".
+# creates cards named 'TEST RUN: xxx'). Same command-line as above without "--dry-run".
# Check the created tasks in the test project.
#
# 7. If it looks good, repeat steps 2-5 to configure for the production Phab