Phabricator arc diff message to reviewers - phabricator

With Phabricator's Arcanist is there a way when you run arc diff and edit the commit message to include a message to reviewers that doesn't end up in the commit message. Something like:
Add some comments
Summary: Adds comments to libfoo and libbar explaining foo() and bar().
Test Plan: No.
Reviewers: dave, john
Subscribers:
Review Message: These are just some comments I had lying around - please check them for technical correctness thanks!
Obviously I don't want the Review Message: to show up in git.

Related

How show the run date on the Test Runs Summary widget on JIRA Dashboard

I have added the Test Runs Summary xray widget to my JIRA Dashboard.
The results are shown - but there is no timestamp at all, so you have no idea when the run was executed. Is there any way to show the run time?
The "Test Runs Summary gadget" aggregates test runs, showing thereforece the counts only; it's not a list of Test Runs. Currently, this gadget doesn't provide drill-down/expand capabilities. If this is something that may be useful to you, please reach out Xray support team asking for this improvement. I'm not sure exactly how that would be implemented, but that is a question that the PO has to analyze.
Meanwhile, uou should use the Test Run List gadget instead, and include the "Started on" and "Finished on" field on the gadget configuration.

How Do I Know What AOT Class I Need to Change to Modify the Behavior of Canceling PO Lines

Despite knowing AX enough to get around, it's still thoroughly confusing to me. I have a background in Visual Studio C#, and I could always figure out where a particular segment of code was performing the unexpected behavior, but after a year and a half of AX 2012, it's still a mystery.
There's a legacy system that is not getting POs sent from AX whenever a PO Line is cancelled; my objective is to change AX to guarantee that cancelled lines are sent back to this legacy system.
I need to modify the behavior after PO lines are canceled. I know that users cancel the line by going to Procurement and Sourcing => Common -> Purchase orders => All purchase orders. They Request Change on a PO, then under the Purchase Order Lines section, they navigate to Update Line => Deliver Remainder; doing a Personalize on this form shows that the form is called PurchUpdateRemain, a Foundation form. I hit the Cancel Line button, then confirm the change.
I know that a workflow is triggered on this, and I've completed the whole process of approving the change, but no AIF service is called according to the trace I ran on it, so I'm confused as to what AIF service should handle it.
My question is: How do I find where a file should be sent out in AX? AX does not seem to give any indication as to what logic should be called after a line is cancelled. If I could just see the whole flow of the code like I could in Visual Studio, I could determine where I need to make my change in AX, but I've not yet figured out how I can possibly do that. Any tips? I'm at my wits end here.
A lot of it is just knowledge gained from experience. Pretty much figuring out where to look. Putting a breakpoint in and tracing the code and stepping into methods is often the best way.
Here's a stack trace that shows where the status is changing so you can figure out where to put your code. I cut off line #'s because my code is customized and they wouldn't line up.
Hopefully this won't be too late.
Check the class PurchCancel, in the run method you can see the process of how a purchase order is being cancelled.

MS Cognitive Services - Face API - Person Group Training Status always returns "The operation was failed"

When I try to get the Person Group Training Status (https://dev.projectoxford.ai/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395247), the API always returns "The operation was failed" (but the train https://dev.projectoxford.ai/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395249 returns 202).
Do someone know what can cause this error?
Thanks for your help!
Here is my take.
After you create a person group, you need to create a person and place him/her in the person group.
Once a person is created, you can upload their photos and then, you can train a person group to process it.
/train returning a 202 indicates that training successfully started
/training returns various error codes and messages indicating what went wrong (the documentation link you included), and "operation failed" usually indicates something was wrong with the HTTP request.
It would be really helpful to see the code to debug further :-)

What is Responsible Users in Phabricator Differentials?

Go to Differential -> Advanced Search in Phabricator
The first field in the query form is "Responsible Users". What is it for?
I couldn't figure out for which diffs I'm responsible... even if I'm on the reviewers list or a project reviewer of a diff, some of my reviews are not listed when I execute the query.
I believe that it depends on the state of the diff:
If the change is waiting for review then the reviewer(s) are responsible.
If someone requested changes then the author is the responsible user.

Facebook Open Graph Story is rejected, need advice on a fix to get approved, please?

We have an issue with approving the open graph stories for our game, which is very similar to this question: Facebook Open Graph Story Custom Actions Keep Getting Rejected - Advice Please?
The actions I was sending to Facebook for approval were: "Beat a friend", "Gain an Achievement", "Help a Friend", "Send a Life", "Send Moves", "Send Time" - as you can see, all these actions are regular actions of the player in a king-like game, but we've got a rejection for all of them with the same reason "Your app should only publish actions taken within your app. Do not use verb actions that indicate content which the user looks at, browses, views, or discovers."
Can anyone, please, give us a tip on how we need to edit the stories to get approvals? I don't see why these could be rejected - all these are actions player takes in the game, and to me they do sound like actions...
ok, we resolved this by just adding comments on what are player's actions leading to publishing this or that story directly on the screenshots that we've submitted to Facebook.
I hope this little advice will help someone else as well

Resources