General Chat
PublicCome, chill, and stay a while

what is Nuance?

and I can't use github here?

Use GitHub where, for what?

I meant there*, i.e. discourse, for auth

If that's what you want, I can look into adding it. Cursory looks like Discourse supports it.

i know i'll have a hard time remeber a 10 char password. the twitter auth asks for way to many permissions and I avoid the other two services

I'm working on a Russian translation of the interface)

Honestly still I am surprised that no one has done this until now

GitHub is added

Can i ask you? Why do most of the phrases in the text at once all be written with a capital letter?

Create Next Milestone, Create Subproject, Create Milestone, etc..

That's how titles are capitalized in English.

Aug 5th, 2017

Guys, can i tell you here about unusable strings in you translation? For example: 'Apply remaining %d action(s)?'. This string exists only in translation and it is nothing use in you libraries.

So, after my work on russian translation, i found that the following lines are not used in the project:

'Apply remaining %d action(s)?'
'Apply %d Other Action(s)'
'%s edited member(s), added %d: %s; removed %d: %s.'
'%s added %s voting user(s): %s.'
'%s removed %s voting user(s): %s.'
'%s edited answer(s), added %s: %s; removed %d: %s.'
'%s added %s answer(s): %s.'
'%s removed %s answer(s): %s.'
'%s edited question(s), added %s: %s; removed %s: %s.'
'%s added %s question(s): %s.'
'%s removed %s question(s): %s.'
'%s edited watcher(s), added %s: %s; removed %d: %s.'
'%s added %d inline comment(s).'
'Stale (%s day(s))'
'Old (%s day(s))'
'%s attached %d file(s): %s.'
'%s detached %d file(s): %s.'
'%s changed file(s), attached %d: %s; detached %d: %s.'

Perhaps you decide that you can safely remove them from the class PhabricatorUSEnglishTranslation

Guys, i completed translation of most strings on Russian. Can you add my repo with it to you Commutiny Resourses?

Wow, i can do it by itself..) Did it

Aug 7th, 2017

Is it possible those strings are used by prototype applications which aren't enabled by default?

No, I was looking for all three folders of the three main projects that make up the Fabricator. There the code of all applications - both basic and prototypes. These lines are only present in the translation class.

Aug 8th, 2017
rfreebern joined the room.
Aug 9th, 2017

I'd like to have a config parameter set by administrator which would be readable by all extensions. Do I have to use environment variables or there is a Phabricator solution?

That's how all config stuff works...

I'd be surprised it wasn't extendable.

Aug 10th, 2017
dkl left the room.

Hey folks, are there any plans to add API endpoints to post into chat topics in Phabricator? I was wondering how difficult it would be to create a Matrix Bridge to Phabricator's Conpherence. I had a skim through conduit, but it looks like I can only modify rooms through the current API...

conpherence.edit has a comment transaction type for posting a new comment.

@rfreebern Thanks for that, I am apparently completely blind... :)

When I run sudo repository update --trace R it prints .. "Permission denied (publickey).
fatal: Could not read from remote repository."

I tried the ssh key separately and it works to ssh to the git server. How can I investigate why this fails?

I ran chown daemon.daemon phabricator/repo/* and now I get the same error with sudo -u daemon repository update --trace R

@aleb have you configured the key as the credential to use for the uri in phabricator?

and if I go to Passphrase > K2 > Show Public Key, it's the same as the one in /var/git/.ssh/authorized_keys ..

You could try using GIT_SSH_COMMAND="ssh -vvv" before the bin/repository command, which should give you verbose logging from SSH, which should print each key it tries, it is a lot of output to sift through

I ran export GIT_SSH_COMMAND="ssh -vvv" but it does not seem to reach the environment of the git executed by bin/repository

ah, yes, that is likely

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

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

STDOUT
(empty)

STDERR
ssh: /opt/bitnami/common/lib/libcrypto.so.1.0.0: no version information available (required by ssh)
ssh: /opt/bitnami/common/lib/libcrypto.so.1.0.0: 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 git.daedalean.ai [104.155.73.23] 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: https://www.diffchecker.com/?

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 :/

k.
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: https://gist.github.com/darkwing/dd4575fec84d468f6763616fccd6bc53

@darkwing, this is what I'm using:

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

  id(new PhabricatorCustomFieldStorageQuery())
    ->addField($field)
    ->execute();

  $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 1.8.3.1, if you do a "git reset --hard HEAD" it fails with "fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree."