Page MenuHomePhabricator
Feed Advanced Search

Dec 8 2015

epriestley moved T7303: Provide OAuth access to Conduit from Backlog to Future on the Conduit board.
Dec 8 2015, 10:50 PM · Restricted Project, Conduit, Restricted Project

Dec 5 2015

angie moved T6226: Conduit-created task always results in [Reopened] tag in the email subject from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Dec 5 2015, 5:06 AM · Restricted Project, Maniphest, Conduit

Dec 4 2015

epriestley closed T6226: Conduit-created task always results in [Reopened] tag in the email subject as Resolved.

Task creation slightly ahead of HEAD through maniphest.edit now hit essentially the exact same code as the web UI, and no longer appear to do this "[Reopened]" stuff.

Dec 4 2015, 8:04 PM · Restricted Project, Maniphest, Conduit
epriestley renamed T7303: Provide OAuth access to Conduit from Provide a way to create/edit tasks through the OAuth API to Provide OAuth access to Conduit.
Dec 4 2015, 7:58 PM · Restricted Project, Conduit, Restricted Project
epriestley moved T6226: Conduit-created task always results in [Reopened] tag in the email subject from Backlog to vNext on the Maniphest board.
Dec 4 2015, 7:33 PM · Restricted Project, Maniphest, Conduit
epriestley closed T4623: Allow system agents to create tasks they can't edit afterwards as Wontfix.

We haven't seen other use cases for this. OAuth or Nuance are more likely approaches from an upstream viewpoint.

Dec 4 2015, 7:14 PM · Maniphest, Conduit

Dec 2 2015

epriestley merged task T9885: Support custom task status values in Conduit query method into T7715: Give `arc` query workflows (arc tasks, arc list) access to ApplicationSearch.
Dec 2 2015, 1:21 AM · Conduit, Maniphest
puls created T9885: Support custom task status values in Conduit query method.
Dec 2 2015, 1:09 AM · Conduit, Maniphest

Nov 24 2015

epriestley removed a project from T9319: Accessing image file in Diffusion must not generate error (unhandled exception): Files.
Nov 24 2015, 4:59 PM · Phacility, Diffusion, Phacility Support

Nov 16 2015

epriestley closed T9799: nonsensical conduit.query auth errors/busted on this install as Resolved by committing Restricted Diffusion Commit.
Nov 16 2015, 6:02 PM · Conduit
epriestley added a revision to T9799: nonsensical conduit.query auth errors/busted on this install: Restricted Differential Revision.
Nov 16 2015, 5:30 PM · Conduit
cburroughs added a comment to T9799: nonsensical conduit.query auth errors/busted on this install.

My stacktrace:

Nov 16 2015, 5:08 PM · Conduit
epriestley added a comment to T9799: nonsensical conduit.query auth errors/busted on this install.

Never mind, this was straightforward to reproduce:

Nov 16 2015, 5:07 PM · Conduit
epriestley added a comment to T9799: nonsensical conduit.query auth errors/busted on this install.

Do you have a stack trace in the error log offhand? I can't immediately reproduce this on this install after upgrading. I have a good idea what's going on, but if you have a stack handy that might be faster.

Nov 16 2015, 5:02 PM · Conduit
epriestley added a comment to T9799: nonsensical conduit.query auth errors/busted on this install.

This install is just a little out of date, second issue should be fixed at HEAD.

Nov 16 2015, 4:34 PM · Conduit
epriestley claimed T9799: nonsensical conduit.query auth errors/busted on this install.
Nov 16 2015, 4:33 PM · Conduit
cburroughs created T9799: nonsensical conduit.query auth errors/busted on this install.
Nov 16 2015, 4:29 PM · Conduit

Nov 12 2015

epriestley closed T9772: Fatal error when running conduit.query as Resolved by committing Restricted Diffusion Commit.
Nov 12 2015, 7:22 PM · ApplicationEditor, Conduit
epriestley added a revision to T9772: Fatal error when running conduit.query: Restricted Differential Revision.
Nov 12 2015, 7:15 PM · ApplicationEditor, Conduit
chad added a comment to T9772: Fatal error when running conduit.query.

(I'm pretty sure this is us, but want to be sure)

Nov 12 2015, 6:47 PM · ApplicationEditor, Conduit
epriestley claimed T9772: Fatal error when running conduit.query.
Nov 12 2015, 6:47 PM · ApplicationEditor, Conduit
mikn added a comment to T9772: Fatal error when running conduit.query.

Yes, of course. I apologise. We updated to head today.

Nov 12 2015, 6:47 PM · ApplicationEditor, Conduit
chad added a comment to T9772: Fatal error when running conduit.query.

@mikn The question remains, what version of Phabricator are you on. This install is not kept at HEAD.

Nov 12 2015, 6:45 PM · ApplicationEditor, Conduit
mikn added a comment to T9772: Fatal error when running conduit.query.

The repro case is against this install. :)

Nov 12 2015, 6:44 PM · ApplicationEditor, Conduit
avivey added a comment to T9772: Fatal error when running conduit.query.

Is your server up-to-date? What versions is it running? https://secure.phabricator.com/book/phabcontrib/article/bug_reports/#update-phabricator

Nov 12 2015, 6:38 PM · ApplicationEditor, Conduit
mikn updated the task description for T9772: Fatal error when running conduit.query.
Nov 12 2015, 2:20 PM · ApplicationEditor, Conduit
mikn updated the task description for T9772: Fatal error when running conduit.query.
Nov 12 2015, 2:20 PM · ApplicationEditor, Conduit
mikn updated the task description for T9772: Fatal error when running conduit.query.
Nov 12 2015, 2:18 PM · ApplicationEditor, Conduit
mikn updated the task description for T9772: Fatal error when running conduit.query.
Nov 12 2015, 2:15 PM · ApplicationEditor, Conduit
mikn created T9772: Fatal error when running conduit.query.
Nov 12 2015, 2:14 PM · ApplicationEditor, Conduit
joshuaspence added a comment to T9766: Expose conduit API to activate/disable Herald rules.

A somewhat generic way to do this is to create the notion of a variable such as is_in_deployment and allow Herald rules to check to see if this is set/true/a specific value. If the API to expose the variable is exposed to conduit then also allows for far more interesting workflows (especially when combined with relying on other Herald rules).

Nov 12 2015, 7:41 AM · Restricted Project, Restricted Project, Conduit, Herald
joshuaspence renamed T9766: Expose conduit API to activate/disable Herald rules from Expose conduit API to activate/disable herald rules? to Expose conduit API to activate/disable Herald rules.
Nov 12 2015, 7:40 AM · Restricted Project, Restricted Project, Conduit, Herald
eadler added a comment to T9766: Expose conduit API to activate/disable Herald rules.

A somewhat generic way to do this is to create the notion of a variable such as is_in_deployment and allow Herald rules to check to see if this is set/true/a specific value. If the API to expose the variable is exposed to conduit then also allows for far more interesting workflows (especially when combined with relying on other Herald rules).

Nov 12 2015, 5:50 AM · Restricted Project, Restricted Project, Conduit, Herald

Nov 11 2015

ramesh_dharan added a comment to T9766: Expose conduit API to activate/disable Herald rules.

@epriestley correct.. basically we have an external system (a Jenkins-like CI tool) that we're effectively using as a workflow engine. The timing isn't strictly defined, it's basically "when the user presses the button, do all these things".

Nov 11 2015, 7:50 PM · Restricted Project, Restricted Project, Conduit, Herald
epriestley added a comment to T9766: Expose conduit API to activate/disable Herald rules.

Just to clarify, you would rather rely on an external script to activate and deactivate this rule every day instead of having a Herald condition like "Current time is between 5PM and 9AM"?

Nov 11 2015, 6:57 PM · Restricted Project, Restricted Project, Conduit, Herald
chad added a project to T9766: Expose conduit API to activate/disable Herald rules: Restricted Project.
Nov 11 2015, 6:31 PM · Restricted Project, Restricted Project, Conduit, Herald
ramesh_dharan created T9766: Expose conduit API to activate/disable Herald rules.
Nov 11 2015, 5:42 PM · Restricted Project, Restricted Project, Conduit, Herald
angie updated subscribers of T6226: Conduit-created task always results in [Reopened] tag in the email subject.
Nov 11 2015, 7:45 AM · Restricted Project, Maniphest, Conduit

Nov 10 2015

joshuaspence added a project to T9755: Have conduit call logs actually log the caller: Conduit.
Nov 10 2015, 7:27 PM · Conduit

Nov 6 2015

chad updated subscribers of T5873: Update Conduit for ApplicationTransactions, CustomFields and Edges.
Nov 6 2015, 6:02 PM · Haskell.org, Restricted Project, Restricted Project, ApplicationEditor, FreeBSD, Restricted Project, User Delight, Phacility, Custom Fields, Transactions, Conduit

Nov 4 2015

joshuaspence added a project to T9703: take away certificate page: Conduit.
Nov 4 2015, 7:43 PM · Conduit
epriestley merged task T9706: Conduit API token is exposed through Build Plan into T5821: Implement "Run Arc Unit" build step and support showing unit test results inside Harbormaster.
Nov 4 2015, 11:53 AM · Conduit, Harbormaster
Funnnny added a project to T9706: Conduit API token is exposed through Build Plan: Conduit.
Nov 4 2015, 8:18 AM · Conduit, Harbormaster

Nov 3 2015

epriestley added a revision to T5873: Update Conduit for ApplicationTransactions, CustomFields and Edges: Restricted Differential Revision.
Nov 3 2015, 6:03 PM · Haskell.org, Restricted Project, Restricted Project, ApplicationEditor, FreeBSD, Restricted Project, User Delight, Phacility, Custom Fields, Transactions, Conduit
epriestley moved T5873: Update Conduit for ApplicationTransactions, CustomFields and Edges from Backlog to v1 on the ApplicationEditor board.
Nov 3 2015, 5:58 PM · Haskell.org, Restricted Project, Restricted Project, ApplicationEditor, FreeBSD, Restricted Project, User Delight, Phacility, Custom Fields, Transactions, Conduit
epriestley added a project to T5873: Update Conduit for ApplicationTransactions, CustomFields and Edges: ApplicationEditor.
Nov 3 2015, 5:58 PM · Haskell.org, Restricted Project, Restricted Project, ApplicationEditor, FreeBSD, Restricted Project, User Delight, Phacility, Custom Fields, Transactions, Conduit

Oct 23 2015

angie moved T9529: Upload coverage to a diff from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Oct 23 2015, 7:28 PM · Restricted Project, Restricted Project, Conduit, Differential, Harbormaster
angie added a project to T9529: Upload coverage to a diff: Restricted Project.
Oct 23 2015, 7:28 PM · Restricted Project, Restricted Project, Conduit, Differential, Harbormaster

Oct 21 2015

• ndhoule renamed T9604: Creating an imported repository via Conduit results in filesystem error from Creating a hosted repository via Conduit results in filesystem error to Creating an imported repository via Conduit results in filesystem error.
Oct 21 2015, 5:02 PM · Restricted Project, Phacility Support, Diffusion, Conduit
• ndhoule added a comment to T9604: Creating an imported repository via Conduit results in filesystem error.

As a minor technical point, you're trying to create imported repositories (i.e., import repositories from GitHub), not hosted repositories, right? This endpoint can't create hosted repositories at all, AFAIK.

Oct 21 2015, 5:02 PM · Restricted Project, Phacility Support, Diffusion, Conduit

Oct 20 2015

epriestley added a comment to T9604: Creating an imported repository via Conduit results in filesystem error.

This endpoint is very old and has a lot of problems, including not being cluster-aware. In the Phacility cluster, the web host and repository hosts are separated. repository.create can not create cluster-aware repositories.

Oct 20 2015, 8:24 PM · Restricted Project, Phacility Support, Diffusion, Conduit
chad added a project to T9604: Creating an imported repository via Conduit results in filesystem error: Phacility Support.
Oct 20 2015, 8:06 PM · Restricted Project, Phacility Support, Diffusion, Conduit
• ndhoule added a comment to T9604: Creating an imported repository via Conduit results in filesystem error.

FWIW, my intended use case is to consume GitHub's organizations feed and automatically mirror repositories in Phabricator.

Oct 20 2015, 7:58 PM · Restricted Project, Phacility Support, Diffusion, Conduit
• ndhoule renamed T9604: Creating an imported repository via Conduit results in filesystem error from Create a hosted repository via Conduit to Creating a hosted repository via Conduit results in filesystem error.
Oct 20 2015, 7:56 PM · Restricted Project, Phacility Support, Diffusion, Conduit
• ndhoule created T9604: Creating an imported repository via Conduit results in filesystem error.
Oct 20 2015, 7:55 PM · Restricted Project, Phacility Support, Diffusion, Conduit
epriestley moved T9319: Accessing image file in Diffusion must not generate error (unhandled exception) from Backlog to vNext on the Diffusion board.
Oct 20 2015, 1:25 PM · Phacility, Diffusion, Phacility Support

Oct 15 2015

gvanrossum closed T9529: Upload coverage to a diff as Resolved.
Oct 15 2015, 9:58 PM · Restricted Project, Restricted Project, Conduit, Differential, Harbormaster
gvanrossum added a comment to T9529: Upload coverage to a diff.

Yes, that works! It looks like it takes an object of one of these forms PHID-DREV-xxxx (a revision), PHID-DIFF-xxxx (a specific diff in that revision), or a PHID-HMBB-xxxx (a buildable).

Oct 15 2015, 2:18 AM · Restricted Project, Restricted Project, Conduit, Differential, Harbormaster
epriestley added a comment to T9529: Upload coverage to a diff.

Try the diff PHID -- $diff->getPHID()?

Oct 15 2015, 1:59 AM · Restricted Project, Restricted Project, Conduit, Differential, Harbormaster
gvanrossum added a comment to T9529: Upload coverage to a diff.

Thanks, in the last option, what kind of thing should I pass into harbormaster.queryautotargets for the objectPHID? If I leave it blank I get

{"result":null,"error_code":"ERR-CONDUIT-CORE","error_info":"No such object \"\" exists."}

My request was

{
  "targetKeys": [
    "arcanist.unit"
  ]
}
Oct 15 2015, 1:58 AM · Restricted Project, Restricted Project, Conduit, Differential, Harbormaster

Oct 14 2015

epriestley added a comment to T9529: Upload coverage to a diff.

It looks like that code isn't interacting with Harbormaster at all and is making an HTTP request to Changes directly from inside a Herald action. We (fairly strongly) discourage this as a way to communicate with external systems (see T5462 for discussion/rationale -- it's synchronous and blocks the UI, error handling can't happen properly, and there's no way to retry if it fails). There is no build target available during the execution of Herald actions and I can't really come up with a reasonable way to generate one.

Oct 14 2015, 11:49 PM · Restricted Project, Restricted Project, Conduit, Differential, Harbormaster
gvanrossum added a comment to T9529: Upload coverage to a diff.

Thanks -- it's hugely helpful to know that Phabricator already merges coverage!

Oct 14 2015, 11:19 PM · Restricted Project, Restricted Project, Conduit, Differential, Harbormaster
cinek added a revision to T8143: Allow creation of Conduit API Tokens for bots: Unknown Object (Differential Revision).
Oct 14 2015, 12:40 PM · Conduit
epriestley added a comment to T9529: Upload coverage to a diff.

It's supposed to be sent with the call to the external build system, but that doesn't seem to work either -- the build target phid received is always ''.

Oct 14 2015, 10:27 AM · Restricted Project, Restricted Project, Conduit, Differential, Harbormaster
joshuaspence updated the task description for T9529: Upload coverage to a diff.
Oct 14 2015, 8:34 AM · Restricted Project, Restricted Project, Conduit, Differential, Harbormaster
joshuaspence updated the task description for T9529: Upload coverage to a diff.
Oct 14 2015, 8:34 AM · Restricted Project, Restricted Project, Conduit, Differential, Harbormaster
joshuaspence added projects to T9529: Upload coverage to a diff: Harbormaster, Differential, Conduit.
Oct 14 2015, 8:33 AM · Restricted Project, Restricted Project, Conduit, Differential, Harbormaster

Oct 9 2015

epriestley closed T9536: Creating revision is failling with "*** APIError: ERR-CONDUIT-CORE: #1048: Column 'originalTitle' cannot be null" as Wontfix.

I'd recommend looking at exactly what arc does and following that, rather than trying to construct calls from scratch.

Oct 9 2015, 11:21 AM · Differential, Conduit
• thiblahute added a comment to T9536: Creating revision is failling with "*** APIError: ERR-CONDUIT-CORE: #1048: Column 'originalTitle' cannot be null".

I am writing a git module to create revisions from git, it is quite similar to arc but I want to avoid rewriting commit messages (Summary and things like that), have a better integration with git and allow sending branches without squashing the commits.

Oct 9 2015, 9:13 AM · Differential, Conduit
epriestley added a comment to T9536: Creating revision is failling with "*** APIError: ERR-CONDUIT-CORE: #1048: Column 'originalTitle' cannot be null".

Why are you trying to create revisions with a direct API call? Can you describe the broader problem you're facing? There may be a better solution. See:

Oct 9 2015, 4:05 AM · Differential, Conduit
avivey added a comment to T9536: Creating revision is failling with "*** APIError: ERR-CONDUIT-CORE: #1048: Column 'originalTitle' cannot be null".

Meaning I get the same error while being close to master.

Oct 9 2015, 12:51 AM · Differential, Conduit
avivey added a comment to T9536: Creating revision is failling with "*** APIError: ERR-CONDUIT-CORE: #1048: Column 'originalTitle' cannot be null".
Oct 9 2015, 12:48 AM · Differential, Conduit
• thiblahute added a comment to T9536: Creating revision is failling with "*** APIError: ERR-CONDUIT-CORE: #1048: Column 'originalTitle' cannot be null".

I can re-create this near HEAD.

Oct 9 2015, 12:47 AM · Differential, Conduit
avivey added a comment to T9536: Creating revision is failling with "*** APIError: ERR-CONDUIT-CORE: #1048: Column 'originalTitle' cannot be null".

I can re-create this near HEAD.

Oct 9 2015, 12:42 AM · Differential, Conduit
avivey updated the task description for T9536: Creating revision is failling with "*** APIError: ERR-CONDUIT-CORE: #1048: Column 'originalTitle' cannot be null".
Oct 9 2015, 12:42 AM · Differential, Conduit
avivey updated the task description for T9536: Creating revision is failling with "*** APIError: ERR-CONDUIT-CORE: #1048: Column 'originalTitle' cannot be null".
Oct 9 2015, 12:41 AM · Differential, Conduit
• thiblahute added a comment to T9536: Creating revision is failling with "*** APIError: ERR-CONDUIT-CORE: #1048: Column 'originalTitle' cannot be null".

why is there a '\'' before originalTitle in your json? And why are you manually setting originalTitle anyway?

Oct 9 2015, 12:38 AM · Differential, Conduit

Oct 8 2015

avivey added a comment to T9536: Creating revision is failling with "*** APIError: ERR-CONDUIT-CORE: #1048: Column 'originalTitle' cannot be null".

why is there a '\'' before originalTitle in your json? And why are you manually setting originalTitle anyway?

Oct 8 2015, 7:39 PM · Differential, Conduit
• thiblahute created T9536: Creating revision is failling with "*** APIError: ERR-CONDUIT-CORE: #1048: Column 'originalTitle' cannot be null".
Oct 8 2015, 3:55 PM · Differential, Conduit

Oct 7 2015

joshuaspence added a project to T9499: Revision repository is not updated when it is changed in the UI: Differential.
Oct 7 2015, 3:08 PM · Differential, Conduit

Oct 2 2015

• thiblahute added a comment to T9499: Revision repository is not updated when it is changed in the UI.

I see, how could I set the Diff repository (can't find a way to do that in the UI) or actually get the revision repository from conduit?

Oct 2 2015, 1:39 PM · Differential, Conduit
epriestley added a comment to T9499: Revision repository is not updated when it is changed in the UI.

For some reason that I don't know offhand (maybe historic reasons, maybe just an error), this method returns the repository PHID of the active diff instead of the repository PHID of the revision itself.

Oct 2 2015, 1:09 PM · Differential, Conduit
• thiblahute updated the task description for T9499: Revision repository is not updated when it is changed in the UI.
Oct 2 2015, 9:51 AM · Differential, Conduit
• thiblahute created T9499: Revision repository is not updated when it is changed in the UI.
Oct 2 2015, 9:51 AM · Differential, Conduit

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

Sep 25 2015

epriestley closed T9434: Conduit Error On audit.query - Attempting to access attached data on PhabricatorRepositoryCommit as Resolved by committing Restricted Diffusion Commit.
Sep 25 2015, 5:43 PM · Conduit
jpb0104 added a comment to T9434: Conduit Error On audit.query - Attempting to access attached data on PhabricatorRepositoryCommit.

Awesome. Thank you! ?

Sep 25 2015, 2:56 PM · Conduit
epriestley added a revision to T9434: Conduit Error On audit.query - Attempting to access attached data on PhabricatorRepositoryCommit: Restricted Differential Revision.
Sep 25 2015, 2:50 PM · Conduit
epriestley claimed T9434: Conduit Error On audit.query - Attempting to access attached data on PhabricatorRepositoryCommit.
Sep 25 2015, 2:50 PM · Conduit

Sep 19 2015

cinek added a comment to T8143: Allow creation of Conduit API Tokens for bots.

I think @epriestley misunderstood what the bug report tried to address. I ran into the same problem yesterday.

Sep 19 2015, 11:25 PM · Conduit

Sep 17 2015

jpb0104 renamed T9434: Conduit Error On audit.query - Attempting to access attached data on PhabricatorRepositoryCommit from Conduit to Conduit Error On audit.query - Attempting to access attached data on PhabricatorRepositoryCommit.
Sep 17 2015, 1:43 PM · Conduit