General Chat
PublicCome, chill, and stay a while

ah, yes, that is likely

Seems this is run in the git wrapper used on this system /opt/bitnami/scripts/

Error updating working copy: Failed to fetch changes!
git fetch origin '+refs/*:refs/*' --prune


ssh: /opt/bitnami/common/lib/ no version information available (required by ssh)
ssh: /opt/bitnami/common/lib/ no version information available (required by ssh)
OpenSSH_6.7p1 Debian-5+deb8u3, OpenSSL 1.0.2k 26 Jan 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: /etc/ssh/ssh_config line 56: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to [] port 2222.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id... (5,181 more bytes) ...

oops, I was editing that and pressing Enter sent it

Anyway, the funny part is at the end:

debug1: identity file /root/.ssh/id... (5,181 more bytes) ...

@aleb Just as an FYI, the upstream doesn't support Bitnami. In general, it

's better to ask them if you're having issues with their install.

Differential View is a great tool, how to make it a standalone tool? something like:

No interest.

Aug 13th, 2017
Twilight joined the room.

What's the best way to get the conduit API key or, even better, the external account's accountID, from within a DifferentialCommitMessageCustomField? i.e. to validate the value from a third party service?

Aug 14th, 2017

What's the recommended way to insert and view debug statements?

hum, I found phlog()+DarkConsole, but I'm not able to open DarkConsole

I'm creating a HeraldField extension (extends DifferentialRevisionHeraldField). it doesn't work. maybe I'm getting an exception, I don't know where to look. A debug exception (throw new Exception('bla')) isn't displayed in the UI when I place it in the getHeraldFieldValue() function

same thing when editing the builtin DifferentialRevisionAuthorProjectsHeraldField

I'm trying to debug why git fetch origin +refs/*:refs/* --prune fails when an observed repository is updated. I see at some point in the stderr of that command (run by the Phabricator daemon) "debug1: Next authentication method: publickey" but no key is found even though I did set one in Diffusion > REPO > Manage > Uris > URI, and its "public key" looks correct!

How exactly is the key passed to the git command?

Maybe try our Discourse? These are pretty detailed questions for one off answers. I slighly prefer Discource now since topics are contained and Google-indexable.

Aug 15th, 2017

Hey guys, I'm trying to get Maniphest to export Excel tasks, I have installed the libraries and I can click the export button, but I don't get any file download prompt.

Looking into the dev tools, I see a 200 response come back with content-disposition set to attachment etc. but no file download prompt.

Has anyone come across this and have a simple solution etc.? If not i can write it up in Discourse

Maybe you have to set something up in Apache?

I'm proxying with Nginx & PHP-fpm. I'll do a bit more digging and see what I can find out, thats probably where the issue lies though, thanks Chad

Yeah mime type was the word I was looking for.

Guys, what you think, maybe make this line less saturated?

Maybe change it to something like this:

Its a text-decoration-color: rgba(0,0,0,.15) CSS rule.

To better see the text behind the line

thanks) and i think what this small css rule can help you too)

(As a general rule, we don't take design feedback in any channel)

Aug 16th, 2017

Outside of creating a DoorkeeperRevisionFeedWorker subclass, what steps are required for pushing all stories into it and running it off of a daemon?

DoorkeeperFeedWorker, that is

I've tried using the Jira doorkeeper classes as a guide but I don't see obvious steps for making it run

I don't know the state of DoorKeeper, I'd guess maybe Asana was the most robust. T5462 is something along the lines of what you're trying to accomplish?

There is also a GitHub bridge (non-complete) that was to enable two way communication from Phabricator <-> GitHub issues.

@chad What I want to do is actually simple in idea; if a revision is reviewed or abandoned, shoot a HTTP request somewhere; I'm not doing any two-way syncing, just firing off a request

I'd use Herald but it's blocking and I don't want to slow the whole system down

@avivey might know more, I've never tried to subclass it.

@avivey Any advice on subclassing DoorkeeperFeedWorker to fire of a request after a revision is abandoned or reviewed? I have a subclass with publishFeedStory method that logs a message but using ./bin/phd log doesn't show the log message or anything else useful; I have no idea if this thing is running in the daemon

@avivey: Never mind, figured it out... sorry :/

I think Doorkeeper requires an actual remote object to be attached to the revision. If you don't have one, I think herald+harbormaster would be easier to just send something off.

Aug 17th, 2017
Twilight left the room.
Twilight joined the room.

Really digging the new icon style @chad, I might take a few notes from that color scheme :)

Actually I hired the chap from 99designs, if you're interested. We're paying about $20 / icon.

I like how the overlay text describes it as Phabricator is a "Software Platform"

Is there an easy way I can get the value of a DifferentialStoredCustomField tied to a specific DifferentialRevision object?

Is using a PhabricatorCustomFieldStorageQuery the best way?

Ugh, getCustomFields; /me slumps away. Sorry.

Hmm, nevermind, that isn't entirely useful. What's the best way to load a custom field value for a DifferentialRevision object?

Aug 18th, 2017

how do you assign a specific dashboard as the home page dashboard?

Where are you looking, offhand?

Go to the Dashboard and click "Install Dashboard".

@chad Any insight on getting a DifferentialStoredCustomField's value for a specific DifferentialRevision? getCustomFields doesn't work until the data's been attached and I'm not seeing how to attach that data. Is PhabricatorCustomFieldStorageQuery the only way?

@darkwing don't you want PhabricatorCustomField::getObjectFields ?

@asherkin So I use that, which gets me the field, but it's as though the revision's value isn't loaded:

@darkwing, this is what I'm using:

public function getFieldValue($field_key, $object) {
  $field = PhabricatorCustomField::getObjectField(

  id(new PhabricatorCustomFieldStorageQuery())

  $value = $field->getValueForStorage();

  return $value;

@avivey Incredible; I'd have never gotten to that; thank you so much!

So, I am not sure if this is a bug or not, and whether or not I should go through the discourse or still post here...

Getting a error when testing a Automated Repository with: 1) Nothing committed (Empty) 2) Only 1 commit. Anything after that works fine

I also know Drydock is fairly new, so not sure if it is something to even bring up

You know what. Scratch that. Looks like the issue may be with the version of GIT in the EPEL Repository for CentOS7

So, my issue

FWIW, with Git, if you do a "git reset --hard HEAD" it fails with "fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree."

Aug 21st, 2017

hi all, is there a way to export tasks to a csv from the commandline? So I can generate some graphs and put it in a cronjob

there's a conduit, which returns jsons of the data. You can then transform it on your end to whatever you need.

Is there a way to manually request a daemon task re-run? For example, I have a request that fails within my worker or an exception occurs. Can I tell the daemon to run said task again or is there a detection mechanism for this?

Aug 22nd, 2017

If the task is not executing because it's Leased, you can use ./bin/worker free to un-lease it, and let another daemon take it. There's also ./bin/worker retry if it permanently failed before, and execute to run it in your cli directly.

huangsj joined the room.

I want to translate Phabricator UI to Chinese, but I find that some text cannot be translated.

For example, 'Tag' in the above screenshot won't translate even if I put a 'Tag' => '标签' translation in corresponding translation php file.

I find out that this is because this "Tag" string is from the projects.icons settings and it won't be passed to pht function.

I cannot find a good solution to this problem.

A workaround is to add pht calls to PhabricatorProjectIconSet.php to translate icon names. But this breaks pht lint rule that only scala string value should be passed to pht function.

@chad, don't want to step on toes here, but I followed the huangsj from here -> discourse -> differential, and noticed a few errors in the code.

Should I comment on the differential or just let you guys catch it?

feel free, I haven't patched it locally yet.

I know I may have asked this question already but I can't figure out how if someone responded back to me.. How do you set a global default dashboard?

like a "default" you click the logo and it brings you to this specific dashboard, right now I just see "install" and it puts a shotcut for people in the main bar.

That's what install does.

Then disable the built-in home.

Generally, using Discourse would be better than here if you're not sure if someone (I did) responded to you.

I did that actually..

I 1st went to Discourse to see if anyone had mentioned doing that. I figured it was documented somewhere... I just couldn't find it.. is this documented?..

you can see the Menu Items, Home / Built-in Homepage is disabled, but the dashboard only installed as a menu item.

so when you click on the logo, it takes you to some "default" dashboard that I didn't ask it to go to.

I don't know how to reproduce what you're saying.

Oh I see, somehow you've moved "Home" above your Dashboard.

Drag your dashboard into the first position, we already have a bug report on a similar issue with restricted Dashboards.

T12969 is filed to track this. In the future, we're moving away from providing support here and expect Discourse to be the main place to ask questions, file bugs.

Aug 23rd, 2017

How do you backup your conf/local files in aws?