Page MenuHomePhabricator
Feed All Stories

Sep 28 2015

chad added a comment to T9478: Working with harbormaster.sendmessage.

Have you read T9456

Sep 28 2015, 11:12 PM · Arcanist, Herald, Harbormaster
• ybv updated subscribers of T9478: Working with harbormaster.sendmessage.
Sep 28 2015, 11:07 PM · Arcanist, Herald, Harbormaster
• ybv updated the task description for T9478: Working with harbormaster.sendmessage.
Sep 28 2015, 10:57 PM · Arcanist, Herald, Harbormaster
• ybv created T9478: Working with harbormaster.sendmessage.
Sep 28 2015, 10:57 PM · Arcanist, Herald, Harbormaster
joe.roback added a comment to T8420: Hidden inlines don't work properly with anchor-based navigation.

Hiding is completely essential. If you have 10 lines of code with 5 comments, where there are say 1 reply each, All the comments inline make it impossible to read the code anymore. Inline comments are not helpful for larger more complex code where the reviewer needs to reason about more than 1 line of code.

Sep 28 2015, 10:34 PM · Inline Comments, Restricted Project, Differential
ephemeris updated Q154: Is it possible to "move" an external svn repository into Phabricator's hosting? from to Is it possible to "move" an external svn repository into Phabricator's hosting?.
Sep 28 2015, 10:20 PM · Diffusion
theunreplicated added a comment to T9444: The function phutil_console_get_terminal_width needs to work with Windows.

As for the regex note that I am not the author of it,as stated in my comment above(maybe it has been overlooked because i didn't say that clearly),i have just taken it from stackoverflow(if that's ok) to provide a solution for this task as it seemed to be straightforward.As you said this regex looks really weird,I for myself would't even be able to form such an regex,but I am able to explain roughly in detail.
So mode contains in my case 2 blocks,one with sth others and the other with the headline containng CON,this regex looks for the first appearance of CON followed by an arbitary number of any characters following a : .As you have pointed it's better to use the con directly via mode con,i have added a patch that does it.The : is follwed by a sequence marked by ( ),this sequence is detected when a line break(\n occurs) followed by an arbitary number of characters without |,so every time a line break occurs it will trigger that sequence.THe 3 in the { specifies how many times this sequence should match in the text before the regex engine proceeds with the next statement(I bet you're aware of this),which is (?<cols>\d+).
I guess ?<cols> is to copy the matched contents of this sequence in to the key with cols in $matches,so it's redundant as basically every sequence marked with( is accessible by a number as key.The \d stands for digits,so as soon as the regex engine encounters a non-digit,it will abort.

Sep 28 2015, 10:17 PM · Windows, libphutil
jgelens added a comment to T9450: "abort: not a Mercurial bundle" with Mercurial 3.5>=.

Right, sometimes it works perfectly. I just don't get it, it seems kinda random. Maybe I should try once more on another new VM. Please note it only happens when there were commits to push. Pushing without changes always works.

Sep 28 2015, 9:49 PM · Mercurial
epriestley updated the task description for T7870: List of cases where ghost comments end up somewhere confusing or unexpected.
Sep 28 2015, 9:28 PM · Inline Comments, Restricted Project, Differential
20after4 awarded T7475: Reset umask explicitly in daemons a Like token.
Sep 28 2015, 8:07 PM · Wikimedia, Daemons
CodeMouse92 updated Q153: Clean up old Differential files? from to Clean up old Differential files?.
Sep 28 2015, 7:40 PM · Differential, Files
epriestley added a comment to T9352: Write some custom Herald glue for driving builds through Owners.

Quick progress update here: Owners packages now have configurable custom fields, so you can add one like this:

Sep 28 2015, 7:05 PM · Harbormaster, Herald, Owners, Prioritized
epriestley edited P1860 CustomDifferentialRunPackageBuildsHeraldAction.php.
Sep 28 2015, 7:03 PM
epriestley added a comment to T9252: Unprototype Drydock (v1).

Resources still do not have expiration behaviors.

Sep 28 2015, 6:37 PM · Prioritized, Drydock
epriestley closed T8728: Setting "Notify/Publish" to "Disable Notifications, Feed and Herald" in Diffusion doesn't actually work as Resolved by committing Restricted Diffusion Commit.
Sep 28 2015, 6:17 PM · Diffusion
RyanNerd added a comment to T9444: The function phutil_console_get_terminal_width needs to work with Windows.

"I see" said the blind man as he tripped over his code.

Sep 28 2015, 6:17 PM · Windows, libphutil
epriestley added a revision to T8728: Setting "Notify/Publish" to "Disable Notifications, Feed and Herald" in Diffusion doesn't actually work: Unknown Object (Differential Revision).
Sep 28 2015, 6:02 PM · Diffusion
epriestley added a comment to T7639: Figure out MFA in the cluster.

One idea is that we could let you designate peers (either explicitly, or implicitly by sharing administrative control with them? -- but probably explicitly) who are permitted to strip your MFA tokens.

Sep 28 2015, 5:48 PM · Phacility
clloos created T9476: No way to skip rule arc:prompt.
Sep 28 2015, 4:46 PM · Arcanist
epriestley closed T6569: Implement proper expiry mechanism for Drydock resources as Resolved by committing Restricted Diffusion Commit.
Sep 28 2015, 4:35 PM · Drydock
maxie added a comment to T9469: Redirect loop after fresh installation.

Thank you, I will look into it. Do you have any idea why this worked with the IP address on another machine (a "normal" computer, not a VM)?

Sep 28 2015, 3:57 PM · Installing & Upgrading
epriestley added a revision to T9252: Unprototype Drydock (v1): Unknown Object (Differential Revision).
Sep 28 2015, 3:41 PM · Prioritized, Drydock
chad added a comment to T9469: Redirect loop after fresh installation.

Do you think, this could be the problem?

Sep 28 2015, 3:34 PM · Installing & Upgrading
maxie added a comment to T9469: Redirect loop after fresh installation.

When I accessed the IP address of the VM at this point.

Have you not set up a domain name yet?

Sep 28 2015, 3:27 PM · Installing & Upgrading
chad added a comment to T9475: "Readme.md"-Display does not render inline HTML.

Not as an upstream solution.

Sep 28 2015, 3:20 PM · Diffusion
timor added a comment to T9475: "Readme.md"-Display does not render inline HTML.

Would stripping the tags from the md file during rendering be a solution? It would be sufficient here...

Sep 28 2015, 3:18 PM · Diffusion
cspeckmim added a comment to T9450: "abort: not a Mercurial bundle" with Mercurial 3.5>=.

You said it doesn't happen every time with SSH? I had setup SSH on my 3.5.1 <-> 3.5.1 setup and it seemed to push without issues, but I think I only tried once or twice.

Sep 28 2015, 3:00 PM · Mercurial
chad added a comment to T9469: Redirect loop after fresh installation.

When I accessed the IP address of the VM at this point.

Sep 28 2015, 2:59 PM · Installing & Upgrading
chad closed T9474: Public (No Login Required) does not work with Slowvote when logged out as Resolved by committing Restricted Diffusion Commit.
Sep 28 2015, 2:55 PM · Slowvote
jgelens added a comment to T9450: "abort: not a Mercurial bundle" with Mercurial 3.5>=.

This is my latest debugging result:

Sep 28 2015, 2:51 PM · Mercurial
chad added a revision to T9474: Public (No Login Required) does not work with Slowvote when logged out: Unknown Object (Differential Revision).
Sep 28 2015, 2:50 PM · Slowvote
epriestley added a revision to T9252: Unprototype Drydock (v1): Unknown Object (Differential Revision).
Sep 28 2015, 2:28 PM · Prioritized, Drydock
epriestley closed T9475: "Readme.md"-Display does not render inline HTML as Wontfix.

There's no way to do this. It would allow anyone with commit access to XSS other users and take over their accounts.

Sep 28 2015, 2:19 PM · Diffusion
timor updated the task description for T9475: "Readme.md"-Display does not render inline HTML.
Sep 28 2015, 1:57 PM · Diffusion
timor created T9475: "Readme.md"-Display does not render inline HTML.
Sep 28 2015, 1:56 PM · Diffusion
epriestley added a revision to T9252: Unprototype Drydock (v1): Unknown Object (Differential Revision).
Sep 28 2015, 1:34 PM · Prioritized, Drydock
cinek created T9474: Public (No Login Required) does not work with Slowvote when logged out.
Sep 28 2015, 1:12 PM · Slowvote
epriestley added a revision to T6569: Implement proper expiry mechanism for Drydock resources: Unknown Object (Differential Revision).
Sep 28 2015, 1:06 PM · Drydock
jgelens added a comment to T9450: "abort: not a Mercurial bundle" with Mercurial 3.5>=.

I've installed Phabricator on a freshly installed server and switched to Mercurial over SSH. Now I'm getting the same problem, but it's kinda random somehow. Sometimes I don't get the error, but most of the times I do:

Sep 28 2015, 10:54 AM · Mercurial
joshuaspence added a comment to T9073: The "PHPCS" linter gets out of memory error on large files.

Pretty sure this was only possible after the introduction of .arclint.

Sep 28 2015, 9:53 AM · Lint
aik099 added a comment to T9073: The "PHPCS" linter gets out of memory error on large files.

Yes, this did the trick:

Sep 28 2015, 7:33 AM · Lint
maxie added a comment to T9469: Redirect loop after fresh installation.

Thank you for your reply.

Sep 28 2015, 7:19 AM · Installing & Upgrading
cspeckmim added a comment to T9444: The function phutil_console_get_terminal_width needs to work with Windows.

My suggestion was regarding the

`mode`

changing to

`mode con`

Which will limit the output of the mode command to only include the keyboard/console device, rather than running a blanket mode that returns status for all devices, then relying on the regex to locate the CON. I suggested this as a way that might reduce the complexity of the regex.

Sep 28 2015, 3:08 AM · Windows, libphutil
RyanNerd added a comment to T9444: The function phutil_console_get_terminal_width needs to work with Windows.

+1 vote from me to comment the use of regular expressions (how can anything that looks like this "'/CON.*:(\n[^|]+?){3}(?<cols>\d+)/" be called regular?)

Sep 28 2015, 3:05 AM · Windows, libphutil

Sep 27 2015

hach-que added a comment to T6643: Conduit method for adding SSH keys to a user's account.

You can't add Conduit tokens without MFA though right?

Sep 27 2015, 9:51 PM · Restricted Project, Conduit
epriestley added a comment to T2383: Run PHP environment checks from CLI.

T7248 was a case of a user with neither the mysql nor mysqli extensions installed.

Sep 27 2015, 9:14 PM · Setup
epriestley updated subscribers of T2383: Run PHP environment checks from CLI.
Sep 27 2015, 9:14 PM · Setup
epriestley merged task T7248: Phabricator mysql.implementation into T2383: Run PHP environment checks from CLI.
Sep 27 2015, 9:14 PM · Database
epriestley closed T7264: In differential, it would be interesting to know which commit affected a given line as Wontfix.

We don't plan to accommodate this particular workflow in the upstream, per se. Beyond @chad's links, see also T1508.

Sep 27 2015, 9:13 PM · Differential
epriestley added a comment to T6643: Conduit method for adding SSH keys to a user's account.

If users have MFA configured, I think it's important that we not let an attacker avoid MFA checks on operations (including adding SSH keys) by using Conduit. So if we had a method for adding SSH keys we'd either have to deactivate it when we hit an MFA block, or implement CLI MFA somehow (seems tricky/complex?) or have it add a "request" and then require the user to confirm that they want to add the key via MFA from the web UI after passing MFA, maybe (this feels bad to me for a bunch of reasons, though).

Sep 27 2015, 9:10 PM · Restricted Project, Conduit
epriestley added a comment to T8975: Reference variable for the current user on Conduit Method Call page.

It would be easier to implement this if we say the second form is required (enter JSON -> parse JSON -> interpolate the variable in stirings), but I think it's not intuitive that you can't just type {$me.phid} into a field like authorPHID. Certainly, I'd expect that if the console supported variables they'd be proper-value-variables, not string-interpolation-variables, since string interpolation is completely useless except that it's easier to implement.

Sep 27 2015, 9:07 PM · Conduit
joshuaspence added a comment to T9073: The "PHPCS" linter gets out of memory error on large files.

I can't remember off the top of my head, but I thought we had a way to pass flags to external linters. Something like this:

Sep 27 2015, 9:05 PM · Lint
joshuaspence added a comment to T8975: Reference variable for the current user on Conduit Method Call page.

We haven't seen other requests for this and I don't think it's very straightforward. Consider these JSON values:

[{$me.phid}]
["{$me.phid}"]

The former value is not valid JSON though?

Sep 27 2015, 9:00 PM · Conduit
hach-que added a comment to T6643: Conduit method for adding SSH keys to a user's account.

There are two use-cases here:

Sep 27 2015, 8:54 PM · Restricted Project, Conduit
hach-que added a comment to T6643: Conduit method for adding SSH keys to a user's account.

We're already impersonating them; we do the standard arc install-certificate process to configure Arcanist, and then we want to automatically configure SSH access afterwards. This is to make configuration of a developer's machine only require one manual step (authenticating with Phabricator for Arcanist).

Sep 27 2015, 8:49 PM · Restricted Project, Conduit
epriestley added a comment to T6643: Conduit method for adding SSH keys to a user's account.

Aha, so the users are also different, and they're real users (not bots)?

Sep 27 2015, 8:46 PM · Restricted Project, Conduit
hach-que added a comment to T6643: Conduit method for adding SSH keys to a user's account.

Because they're developer machines VMs, we want pushes to be recognized as that developer, so they have the correct policies applied.

Sep 27 2015, 8:42 PM · Restricted Project, Conduit
epriestley added a comment to T6643: Conduit method for adding SSH keys to a user's account.

I don't understand this use case. Why do you have unique keys per-VM?

Sep 27 2015, 8:27 PM · Restricted Project, Conduit
epriestley closed T7166: Putting project to CCs as a condition of Herald Rule doesn't get triggered as Resolved.

Pretty sure this was fixed during T2769. I can't reproduce it at HEAD:

Sep 27 2015, 8:24 PM · Herald
epriestley added a project to T7026: Add "Run build plan" to commit hooks: Harbormaster.
Sep 27 2015, 8:17 PM · Harbormaster, Herald
epriestley closed T5991: `bin/search index` returns 0 on failure as Resolved by committing Restricted Diffusion Commit.
Sep 27 2015, 8:11 PM · Search
chad added a comment to T9230: Libphutil xhpast seems broken.

See T9175

Sep 27 2015, 7:23 PM · XHPAST
jgable added a comment to T9230: Libphutil xhpast seems broken.

Ran into this today and had to try again for it to work (and upgrade). The error is scary and probably should be addressed.

Sep 27 2015, 7:09 PM · XHPAST
epriestley added a comment to T5991: `bin/search index` returns 0 on failure.

D14173 explains upstream attitudes toward exit codes in greater detail.

Sep 27 2015, 5:54 PM · Search
epriestley added a revision to T5991: `bin/search index` returns 0 on failure: Unknown Object (Differential Revision).
Sep 27 2015, 5:50 PM · Search
epriestley added a revision to T5991: `bin/search index` returns 0 on failure: Unknown Object (Differential Revision).
Sep 27 2015, 5:32 PM · Search
epriestley closed T5133: Show "Hide Query" button in Maniphest even for custom queries as Resolved.

All result pages have a "Hide Query" button now, I think since the last redesign.

Sep 27 2015, 2:04 PM · Applications
epriestley closed T5098: Code review comment thread status: done vs pending` as Resolved.

I'm just going to close this, I think T1460 has similar discussion already.

Sep 27 2015, 2:00 PM · Differential
epriestley closed T3848: PhabricatorTaskmasterDaemon using fabulous amounts of RAM as Invalid.

We haven't seen reports about this from other installs or experienced it ourselves, and we've run an instanced production cluster with a mixture of workloads for more than 6 months now. All the daemon stuff has also changed a lot over the course of the last two years since this was originally reported.

Sep 27 2015, 1:59 PM · Daemons
epriestley changed the visibility for T2383: Run PHP environment checks from CLI.
Sep 27 2015, 1:51 PM · Setup
epriestley added a comment to T2383: Run PHP environment checks from CLI.

T8818 was a specific example of a user hitting open_basedir issues.

Sep 27 2015, 1:51 PM · Setup
epriestley updated subscribers of T2383: Run PHP environment checks from CLI.
Sep 27 2015, 1:51 PM · Setup
epriestley merged task T8818: Getting "ERROR 2: is_link(): open_basedir restriction in effect" using arc diff after an update into T2383: Run PHP environment checks from CLI.
Sep 27 2015, 1:51 PM · Setup, Arcanist
epriestley triaged T8818: Getting "ERROR 2: is_link(): open_basedir restriction in effect" using arc diff after an update as Wishlist priority.
Sep 27 2015, 1:51 PM · Setup, Arcanist
epriestley closed T8836: Unhandled Exception when dragging a card on workboards (not affecting all projects, may need help to investigate the cause) as Resolved.

I think this is a duplicate of T9260, and was likely resolved by D14169.

Sep 27 2015, 1:50 PM · Herald
epriestley added a comment to T8865: Automatically compact storage.

bin/files compact shouldn't normally do much of anything; the better fix might be to identify what's causing these files to be written despite being compactable and stop it from doing that. My expectation is that all file writing callsites should automatically reuse storage if possible in modern code.

Sep 27 2015, 1:41 PM · Files
epriestley closed T8894: `differential.generated-paths` doesn't actually prevent code from being shown in Differential as Invalid.

Never mind, there's already such a note.

Sep 27 2015, 1:38 PM · Differential
epriestley added a comment to T8894: `differential.generated-paths` doesn't actually prevent code from being shown in Differential.

I can't reproduce this. Here's what I did:

Sep 27 2015, 1:36 PM · Differential
aik099 added a comment to T9073: The "PHPCS" linter gets out of memory error on large files.

Since php.ini settings are shared across all PHP scripts on computer there is no way to increase per-script memory limit other than changing script invocation command line to something like php -d memory_limit=-1 actual_script.

Sep 27 2015, 1:34 PM · Lint
epriestley closed T8932: Failing Git commit / message parsers block the queue, even though they shouldn't as Invalid.

From discussion on IRC, I think this was a UI issue (these parsers do not block the queue, it just isn't clear that "Leased" includes tasks being actively worked on and tasks waiting on lease expiry), not a queue issue? We can improve this UI but I'm probably not going to touch it until I can collect some more stuff there (cf T7307).

Sep 27 2015, 1:27 PM · Daemons
epriestley closed T8975: Reference variable for the current user on Conduit Method Call page as Wontfix.

We haven't seen other requests for this and I don't think it's very straightforward. Consider these JSON values:

Sep 27 2015, 1:23 PM · Conduit
epriestley closed T9067: phabricator daemon fails when updating repository (possibly due to attempting to email a user without access) as Resolved.

Oh, I didn't look at the stack trace carefully when dealing with T9458. I think the fix for that (D14142) almost certainly resolved this, too.

Sep 27 2015, 1:15 PM · Herald, Differential, Daemons
epriestley closed T9073: The "PHPCS" linter gets out of memory error on large files as Wontfix.

I think this isn't our responsibility.

Sep 27 2015, 1:08 PM · Lint
epriestley added a comment to T8298: Fix Windows Escaping.

I think the way forward here is likely:

Sep 27 2015, 12:57 PM · Windows
epriestley closed T8720: files created from dot via remarkup in phriction should follow phriction view policy and not default view policy as Invalid.

We've removed the dot rules from the upstream for security reasons (see T9408) so this is no longer relevant, although it is a concern we might want to address in T4190.

Sep 27 2015, 12:04 PM · Policy, Phriction, Files
epriestley moved T9294: Phriction document-created email notifications do not include Edit Notes from Backlog to Next on the Phriction board.
Sep 27 2015, 12:03 PM · Phriction
cspeckmim added a comment to T8298: Fix Windows Escaping.

Possibly a bug with PHP's implementation of escapeshellarg for Windows?

Sep 27 2015, 8:28 AM · Windows

Sep 26 2015

cspeckmim added a comment to T9444: The function phutil_console_get_terminal_width needs to work with Windows.

If you submit this as a differential revision it will give a better interface for others to review and discuss the suggested change.

Sep 26 2015, 10:19 PM · Windows, libphutil
theunreplicated added a comment to T9444: The function phutil_console_get_terminal_width needs to work with Windows.

I think my suggested code from stackoverflow for Windows behaves like its unix counterpart,as it outputs the same numberm,namely 80, and does not rely on the actual size of the terminal window.However,note,that I have not tested the following code in conjunction with phutil,only tested the code stated in my comment above.

Sep 26 2015, 9:17 PM · Windows, libphutil
chad added a revision to T9271: ponder (sometimes?) does not send email when an answer is added: Unknown Object (Differential Revision).
Sep 26 2015, 8:08 PM · Ponder
chad closed Q144: Process Configuration For Code Reviews as resolved.
Sep 26 2015, 8:05 PM · Windows, Arcanist
chad closed Q150: arc diff automatic detection of last commit which was not part of any revision as resolved.
Sep 26 2015, 4:58 PM · Differential, Git, Arcanist
chad closed Q152: Author information not matching as resolved.
Sep 26 2015, 4:58 PM · Diffusion
epriestley added a comment to T9123: Build Phabricator in Harbormaster (v2).

There's some relevant information on the progress on the Drydock side of this here: T9252#138215

Sep 26 2015, 4:00 PM · Prioritized, Harbormaster
epriestley added a comment to T9252: Unprototype Drydock (v1).

These things are now complete:

Sep 26 2015, 3:59 PM · Prioritized, Drydock
epriestley added a comment to T7399: Fully separate live credentials from development repositories.

API keys are now all cycled (except ReCAPTCHA, which doesn't seem to be cyclable and is a ~zero-value target anyway) and everything seems to have swapped over cleanly.

Sep 26 2015, 3:03 PM · Phacility
chad updated subscribers of T5479: Unbeta Phragment.
Sep 26 2015, 2:47 PM · Phragment
chad merged task T9472: versioning of files: allow to upload over existing files into T5479: Unbeta Phragment.
Sep 26 2015, 2:47 PM · Files
epriestley added a comment to T7399: Fully separate live credentials from development repositories.

(Testing inbound mail...)

Sep 26 2015, 2:00 PM · Phacility
epriestley added a comment to T7399: Fully separate live credentials from development repositories.

(Testing S3 / SES keys on this host...)

Sep 26 2015, 1:58 PM · Phacility