[Maniphest] [Commented On] T324: Have wikiphabot follow the same channel announce rules as wikibugs

2014-10-26 Thread valhallasw
valhallasw added a comment. The IRC bot code is 'work in progress' according to the Phab team, so I presume they would be happy to accept patches that improve the bot output (as long as it's configurable). TASK DETAIL https://phabricator.wikimedia.org/T324 REPLY HANDLER ACTIONS Reply

[Maniphest] [Changed CC] T763: Phabricator far too spammy to continue posting to wikibugs-l

2014-10-26 Thread valhallasw
valhallasw added a subscriber: valhallasw. valhallasw added a comment. ! In T763#15513, @jeremyb-phone wrote: I'm not sure either reject or discard at the mailman layer are appropriate. Reject will send a message back to phab. Discard will (i think) send an auto discard notif to the list

[Maniphest] [Changed CC] T815: Upstream Bugzilla XML-RPC API issue creates invalid XML our workaround hack damages attachments - hence apply our hack only on text comment output

2014-10-25 Thread valhallasw
valhallasw added a subscriber: valhallasw. valhallasw added a comment. Would it be an option to change ``` if (ref $initial eq '') { $initial =~ s/([\x01-\x08\x0b\x0c\x0f-\x1f])/sprintf \\x%02x,ord($1)/ge; } ``` to ``` if (ref $initial eq '') { $initial =~ s/([\x01-\x08\x0b\x0c\x0f-\x1f

[Maniphest] [Created] T898: irc: report most relevant change

2014-10-25 Thread valhallasw
valhallasw created this task. valhallasw added a subscriber: valhallasw. valhallasw added a project: phawikibugs. valhallasw changed Security from none to none. TASK DESCRIPTION e.g. ``` phawikibugs valhallasw updated subscribers of T815: Upstream Bugzilla XML-RPC API issue creates

[Maniphest] [Created] T778: irc: Ignore changes by @gerritbot

2014-10-21 Thread valhallasw
valhallasw created this task. valhallasw added a subscriber: valhallasw. valhallasw added a project: phawikibugs. valhallasw changed Security from none to none. TASK DESCRIPTION TASK DETAIL https://phabricator.wikimedia.org/T778 REPLY HANDLER ACTIONS Reply to comment or attach files

[Maniphest] [Commented On] T645: Document phawikibugs setup

2014-10-16 Thread valhallasw
valhallasw added a comment. Added some stuff to https://wikitech.wikimedia.org/wiki/Phawikibugs TASK DETAIL https://phabricator.wikimedia.org/T645 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign username. To: valhallasw Cc: wikibugs-l

[Maniphest] [Updated] T658: Add tags to task header

2014-10-15 Thread valhallasw
valhallasw added a comment. Situation: T647. Old title Ignore CC changes. This Task was in project 'phawikibugs', indicating the context is 'phawikibugs', so I did not put 'phawikibugs' in the title -- just like we don't do that on bugzilla typically. However, this is confusing, as the project

[Maniphest] [Created] T658: Add tags to task header

2014-10-14 Thread valhallasw
valhallasw created this task. valhallasw added a subscriber: valhallasw. valhallasw changed Security from none to none. TASK DESCRIPTION Suggestion: {F270} TASK DETAIL https://phabricator.wikimedia.org/T658 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim

[Maniphest] [Created] T651: Fix links for non-Task entries

2014-10-13 Thread valhallasw
valhallasw created this task. valhallasw added a subscriber: valhallasw. valhallasw added a project: phawikibugs. valhallasw changed Security from none to none. TASK DESCRIPTION Tasks are OK: 20:35 phawikibugs Aklapper edited the description of T618: Send two email notifications to active

[Maniphest] [Created] T645: Document phawikibugs setup

2014-10-12 Thread valhallasw
valhallasw created this task. valhallasw added a subscriber: valhallasw. valhallasw added a project: phawikibugs. valhallasw changed Security from none to none. TASK DESCRIPTION - SGE job - repositories (three for phabricator itself, plus one for our own IRC handler?) - etc TASK DETAIL

[Maniphest] [Created] T646: Set up project filters

2014-10-12 Thread valhallasw
valhallasw created this task. valhallasw added subscribers: wikibugs-l, valhallasw. valhallasw added a project: phawikibugs. valhallasw changed Security from none to none. TASK DESCRIPTION TASK DETAIL https://phabricator.wikimedia.org/T646 REPLY HANDLER ACTIONS Reply to comment or attach

[Maniphest] [Created] T647: Ignore CC changes

2014-10-12 Thread valhallasw
valhallasw created this task. valhallasw added subscribers: wikibugs-l, valhallasw. valhallasw added a project: phawikibugs. valhallasw changed Security from none to none. TASK DESCRIPTION TASK DETAIL https://phabricator.wikimedia.org/T647 REPLY HANDLER ACTIONS Reply to comment or attach

[Maniphest] [Created] T648: Set up PhabricatorBotObjectNameHandler for specific channels

2014-10-12 Thread valhallasw
valhallasw created this task. valhallasw added subscribers: wikibugs-l, valhallasw. valhallasw added a project: phawikibugs. valhallasw changed Security from none to none. TASK DESCRIPTION TASK DETAIL https://phabricator.wikimedia.org/T648 REPLY HANDLER ACTIONS Reply to comment or attach

[Maniphest] [Updated] T646: Set up project filters

2014-10-12 Thread valhallasw
valhallasw added a comment. Naming will be: (from T43#5660) | Bugzilla product | Bugzilla component | Phabricator project | | MediaWiki | Change tagging | MediaWiki-Change_tagging | | MediaWiki‑Vagrant | labs-vagrant | MediaWiki_Vagrant-labs_vagrant | | Wikimedia | Git/Gerrit | Wikimedia

[Maniphest] [Declined] T571: Make wikibugs parse phab emails send messages

2014-10-12 Thread valhallasw
valhallasw closed this task as Declined. valhallasw claimed this task. valhallasw added a comment. We are going the PHP-phawikibugs route. TASK DETAIL https://phabricator.wikimedia.org/T571 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign

[Maniphest] [Merged] T646: Set up project filters

2014-10-12 Thread valhallasw
valhallasw merged this task into T324: Have wikiphabot follow the same channel announce rules as wikibugs. TASK DETAIL https://phabricator.wikimedia.org/T646 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign username. To: valhallasw Cc

[Maniphest] [Changed CC] T324: Have wikiphabot follow the same channel announce rules as wikibugs

2014-10-12 Thread valhallasw
valhallasw added a subscriber: wikibugs-l. valhallasw merged a task: T646: Set up project filters. TASK DETAIL https://phabricator.wikimedia.org/T324 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign username. To: valhallasw Cc: Aklapper

[Maniphest] [Updated] T324: Have wikiphabot follow the same channel announce rules as wikibugs

2014-10-12 Thread valhallasw
valhallasw added a comment. Naming of tags will be: (from T43#5660) | Bugzilla product | Bugzilla component | Phabricator project | | MediaWiki | Change tagging | MediaWiki-Change_tagging | | MediaWiki‑Vagrant | labs-vagrant | MediaWiki_Vagrant-labs_vagrant | | Wikimedia | Git/Gerrit | Wikimedia

[Maniphest] [Edited] T573: Get phawikibugs to run on tools.wmflabs

2014-10-11 Thread valhallasw
valhallasw edited the task description. TASK DETAIL https://phabricator.wikimedia.org/T573 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign username. To: valhallasw Cc: wikibugs-l, Aklapper, chasemp, mmodell, Qgil, Dzahn, greg, Legoktm

[Maniphest] [Updated] T573: Get phawikibugs to run on tools.wmflabs

2014-10-11 Thread valhallasw
valhallasw added a project: Phabricator. valhallasw added a comment. Answer from #phabricator: 14:09 @epriestley valhallasw`cloud: foregrounding is not supported In the meanwhile, I'm going to see if strace-ing ./libphutil/scripts/daemon/exec/exec_daemon.php PhabricatorBot --load-phutil

[Maniphest] [Commented On] T573: Get phawikibugs to run on tools.wmflabs

2014-10-11 Thread valhallasw
valhallasw added a comment. This was the cause: https://github.com/phacility/libphutil/blob/master/src/daemon/PhutilDaemon.php#L47 ``` if (!posix_isatty(STDOUT)) { posix_kill(posix_getppid(), SIGUSR1); } ``` Apparently SIGUSR1 is used to tell the parent process the child is still

[Maniphest] [Changed CC] T573: Get phawikibugs to run on tools.wmflabs

2014-10-11 Thread valhallasw
valhallasw added a subscriber: coren. valhallasw added a comment. And thanks to @Coren I now have phawikibugs running under SGE in a sensible way. The SGE config was changed to send SIGINT instead of SIGKILL, which makes the wrapper script ```function on_EXIT() { echo Stopping all daemons

[Maniphest] [Closed] T573: Get phawikibugs to run on tools.wmflabs

2014-10-11 Thread valhallasw
valhallasw closed this task as Resolved. TASK DETAIL https://phabricator.wikimedia.org/T573 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign username. To: valhallasw Cc: wikibugs-l, Aklapper, chasemp, mmodell, Qgil, Dzahn, greg, Legoktm

[Maniphest] [Commented On] T573: Get phawikibugs to run on tools.wmflabs

2014-10-08 Thread valhallasw
valhallasw added a comment. Okay, scratch that. Phd *also* happily forks the bot and stops, even in debug mode. phawikibugs is still on irc, but qstat does not show any phd process. with a bit of bash magic: ```for i in {01..14}; do echo $i `ssh tools-exec-$i ps aux | grep phab | grep -v bash

[Maniphest] [Changed CC] T551: Define process for people to request a bot account

2014-10-07 Thread valhallasw
valhallasw added a subscriber: valhallasw. valhallasw added a comment. What's the problem with having a bot use a 'real user account'? This is what we do for bots in general (both on-wiki and for instance Gerrit/bugzilla bots) and makes starting a project significantly easier (you can just

[Maniphest] [Created] T571: Make wikibugs parse phab emails send messages

2014-10-07 Thread valhallasw
valhallasw created this task. valhallasw added subscribers: Aklapper, chasemp, mmodell, Qgil, Dzahn, greg, Legoktm, Elitre, valhallasw, Eloquence, Liuxinyu970226, Ladsgroup, Jdforrester-WMF, scfc. valhallasw added projects: Wikimedia Phabricator RfC, Bugzilla-Migration. valhallasw changed

[Maniphest] [Created] T573: Get phawikibugs to run on tools.wmflabs

2014-10-07 Thread valhallasw
valhallasw created this task. valhallasw added subscribers: Aklapper, chasemp, mmodell, Qgil, Dzahn, greg, Legoktm, Elitre, valhallasw, Eloquence, Liuxinyu970226, Ladsgroup, Jdforrester-WMF, scfc. valhallasw added projects: Wikimedia Phabricator RfC, Bugzilla-Migration. valhallasw changed