General Chat
Come, chill, and stay a while

@cspeckmim and your code isn't exactly a commandline CURL example ;)

Right, but it's in the right spirit~

Are you able to share your diff?

its really anything

paste any diff you think should work

I've tried so many, I don't have any particular one

take patch like this

--- README	(revision 315712)
+++ README	(working copy)
@@ -82,3 +82,4 @@
 the FreeBSD Project's development branches, please see:

so, anyone has any clue?

rkapur removed a participant: rkapur.

Are the first two lines part of your diff content? That seems weird. When I use hg diff -r master --git my output looks similar except it doesn't have anything like those first two lines

like I said, paste a patch that works for you

and I'll happily test it

this is how svn patch looks like, by the way, nothing wrong about it

wehall added a participant: wehall.

I'm having a svn+ssh problem. Checkout, commit, update, etc. work, but some diffs, some merges, and some propgets never complete on a relatively small and uncomplicated repo.
In the merge case, the first few files ("adds") work without issue, but a "Update" hangs. Client strace shows a "get-file" is sent that is never seen in server-side straces of svnserve processes, so both sides are waiting on a read(0). Verbose debug (everywhere!) shows no errors in logs. Almost like something ssh-exec/sudo/svnserve chain isn't flushing a buffer (similar to T11827.) Dry-run of merge operation completes when accessing repo locally via file://. Server is fully patched Ubuntu 14.04, phabricator, libphutil, and arcanist are up-to-date from master, subversion client and server are 1.9.5. Any help/insight appreciated.

Hey guys, I'm having an issue setting up

An issue setting up diffusion git hosting... I'm able to authenticate, then I get:

$ ssh -T
phabricator-ssh-exec: #1045: Access denied for user 'root'@'localhost' (using password: NO)

'root' is my mysql user, but I have a mysql password. That message indicates to me that it's not using the password, I guess?

On my server, this is what happens when I try to run a command as the vcs-user (git)... can someone advise on how to proceed with this?

# sudo -u git /usr/share/phabricator/bin/ssh-auth
[2017-03-24 22:26:26] EXCEPTION: (AphrontInvalidCredentialsQueryException) #1045: Access denied for user 'root'@'localhost' (using password: NO) at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:306]
arcanist(), phabricator(), phutil()
  #0 AphrontBaseMySQLDatabaseConnection::throwCommonException(integer, string) called at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:319]
  #1 AphrontBaseMySQLDatabaseConnection::throwConnectionException(integer, string, string, string) called at [<phutil>/src/aphront/storage/connection/mysql/AphrontMySQLiDatabaseConnection.php:72]
  #2 AphrontMySQLiDatabaseConnection::connect() called at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:97]
  #3 AphrontBaseMySQLDatabaseConnection::establishConnection() called at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:120]
  #4 AphrontBaseMySQLDatabaseConnection::requireConnection() called at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:156]
  #5 AphrontBaseMySQLDatabaseConnection::executeRawQuery(string) called at [<phutil>/src/xsprintf/queryfx.php:6]
  #6 queryfx(AphrontMySQLiDatabaseConnection, string, string, string, string, string, string, string, string, string, string) called at [<phutil>/src/xsprintf/queryfx.php:11]
  #7 queryfx_all(AphrontMySQLiDatabaseConnection, string, string, string, string, string, string, string, string, string, string) called at [<phabricator>/src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php:100]
  #8 PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows(PhabricatorAuthSSHKey) called at [<phabricator>/src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php:82]
  #9 PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage(PhabricatorAuthSSHKey) called at [<phabricator>/src/applications/auth/query/PhabricatorAuthSSHKeyQuery.php:37]
  #10 PhabricatorAuthSSHKeyQuery::loadPage() called at [<phabricator>/src/infrastructure/query/policy/PhabricatorPolicyAwareQuery.php:227]
  #11 PhabricatorPolicyAwareQuery::execute() called at [<phabricator>/scripts/ssh/ssh-auth.php:9]

thats a mysql error

If I remember the absurdity correctly, mysql has 2 authentication systems, one for "root" system users, and one for normal system users.

this different systems treat the mysql-user "root" differntly

so you can have two different "root" mysql users, one for each authentication

omg, I am loving the alttext on the badges.

@chad thanks so much; your comment led me to resolution! I gave my git system user the same (sub-1000) primary gid as my www user, and now it works.

rkcdg added a participant: rkcdg.

How do make a new dashboard "global" ?..

e it's the default dashboard?..

bleh.. too bad I can't delete those last 2 messages, crazy..

I'm trying to figure out how to "install" dashboards with the new menu workflows, I don't see any "install global" type dashboard button anymore.

is your install up to date?

pretty update to date, I have the new menu stuff.

I believe that landed a week or two ago

The "global" default dashboard is the top most dashboard in the global menu list. Once you install one there, you can disable the built-in home if you like.

time to update!

a72d18765f85 added the feature.

Mar 25th, 2017

how i can allow viewing some parts of phabricator without auth (ones with policy=public)?

what isn't working?

Specifically, if you can set the view policy to public, that's all there is.

@chad i'm still getting login prompt

@rlex That's not enough information for me to help you with.

Let us know what exactly you set where, and what isn't working with it.

For example Phriction works like directory level permissions, so document parents need the same permissions to be public.

But I don't know what application you're using, or how you're trying to access the resource.

andypuettmann added a participant: andypuettmann.

Ok then. I want to open a dashboard for public with projects i set to "public (without auth)", for projects, maniphest and diffusion and possibly for phriction (for specific pages)

kinda likes it works on, so people can see which issues are opened and closed

i set project, some tickets params "Visible To" to "Public (No login required)"

yet if i try to open them by direct links, or just phabricator URL, i still see login screen

The dashboard, and it's included panels, must all also be public. We have a (logged out) specific dashboard.

It also must be the top-most dashboard on the global items menu.

And make sure you're up to date, Dashboards have had a lot of work done in past month, so it helps (policies have been simplified).

Mar 26th, 2017

@chad yup, works now by direct link. I assume i need that dashboard in 1st priority to work from public URL?

Also, might be a bit weird question, but is it possible to run 2 instances of phabricator from one directory?

yes, I run multiple test installs from one codebase


you'll need to manage your own upgrade scripts to handle bin/storage for each database namespace

does anyone has a curl example of posting a diff to conduit api createrawdiff method?

I can't make it work, no matter what I try, it seems to fail at parsing the diff I provide, no matter wether I try with svn/git diff

anyone know if there's a way to limit how many repos phabricator will update at once? i cannot find a setting specific to it. is it related to the number of daemons in pool? (the updater daemon seemed to not be part of the pool)

(our phabricator instance seems to lock up while updating four particular repos at once; so i want to limit to like 3 or 2 at once)

I'm not aware of any "too many repos" issues.

People run hundreds or thousands.

@bartekrutkowski - still no luck? Here's an example diff I make from mercurial - P2033

Mar 27th, 2017

@epriestley would you accept a patch that made isAutomaticallySubscribed extendable somehow? my particular use case is that i'm adding a custom field to maniphest tasks called "Action Required By" so we can separate the concept of who owns a particular task with whoever's court the ball is in, and am hoping to get anyone listed in this field to be automatically subscribed to the task. can't seem to find a way to do this that already exists. a patch like that is really only reasonable for extension development so i figure it's unlikely you'd take it if it materialized, but thought i'd ask anyway (and also if you could think of any way to accomplish the same end result).

Is there any other way to prevent a particular word from being made into an object link than making it monospace with double-#s? We discuss for example PCB resistor placements quite a lot in Tasks, and having them always made into Diffusion Repo links is rather unintuitive for users :) I tried to use %%% to disable markup for the block, but it did not prevent the links.

Nevermind, fiddling more with %%% showed that I just misused it the first time.

aubort added a participant: aubort.

There's a black list of words somewhere in the config, that are never resolved to links.

It's a regex yoo

@chad - when I hover over @epriestley's mention above, the appointment info on the hovercard looks misaligned:

Firefox on OSX - want me to make/comment a task?

are there any other plans to make use of Calendar capabilities in other applications at some point in the future?

  • "Due Date" for individual Tasks or Milestones which are then shown in a Calendar
  • show Countdowns in a Calendar

…or should it remain a "standalone" application for now?

ah, just found - sorry for the noise ;)

is there a more Phabricator-ish way to mark a Task as "In Progress"? We have currently a "Doing" column on most workboards, but this makes it impossible to query for Task which are currently claimed as "In Progress" by all/any team members…

is there a conduit way to query a repo's autoclose branches? I've been poking around at likely candidates, but haven't found it if it exists.

Mar 28th, 2017

@eliaspro: you can create a Task Status for it, like "wontfix" or "spite" or "open".

@avivey makes sense… will give it a try

Vivekanand added a participant: Vivekanand.

From sometime I am facing an issue with Bitbucket authentication where I get a "Unhandled Exception ("HTTPFutureHTTPResponseStatus") [HTTP/401]" error while trying to login. I tried looking at the logs, but I couldn't find anything useful. I also tried creating new API keys without any success. Anyone has any idea whats going on ?

andrinuka removed a participant: andrinuka.
aleb added a participant: aleb.

Here for example: I see "Maniphest Tasks: T780". If I search D1423 with with constraints {"ids": [1423]} I can't find how to get the associated Maniphest task. Any idea how it can be retrieved through conduit, or otherwise programatically?