Looks like a step in the right direction. Still doesn't explain Herald behavior change.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Oct 18 2014
Also it's kind of strange to have orange badge (on commit list) for audit required status and blue exclamation mark (on commit detail page) at the same time.
blue is incorrect anyways. It doesn't make sense to have it mean both AUDIT_REQUIRED and AUDIT_NOTREQUIRED. I have a diff to correct all the colors into something more sensible.
At company I'm working at we have workflow, where people must prefix 1st commit message line with reference to fixed commit like so: [fixes: rABC434353] (space at the end).
In fact everything is connected. I've found, that blue exclamation mark next to auditor indicates, that audit is required (see https://github.com/phacility/phabricator/blob/master/src/applications/diffusion/controller/DiffusionCommitController.php#L1067-L1072) and dark exclamation mark next to auditor indicates that audit is requested (see https://github.com/phacility/phabricator/blob/master/src/applications/diffusion/controller/DiffusionCommitController.php#L1085-L1090).
D10712 added Mailtag support.
One thing I haven't noticed from
is that on old commits I have Audit Required, but on new commits I have Audit Requested. That's surely not right, because Herald rule, that is adding me as auditor to new commits is the same.I'm also curious about these exclamation mark icon colors next to auditor usernames in commit. I think badge color might be related to some in some way. Is there any documentation about Phabricator UI, e.g. what interface element means what?
Is there any way to determine which particular settings were responsible for that email? I have commit and auditor added mail tags on received email (header: X-Phabricator-Mail-Tags: <audit-commit>, <audit-add-auditors>).
Thanks, these offhand look incorrect to me too. cc @btrahan
Audit was modernized recently to use the same frameworks as all other applications in Phabricator. It is now correctly sending emails when it previously did not.
I guess T2497 task might be related. Before I wasn't getting much e-mails about audits, unless somebody added a comment/in-line comment.
Oct 16 2014
Closed by commit rPac83ff706023.
Oct 15 2014
I believe so, yes. We'll publish a normal feed story at discovery time and it should activate notifications properly, now. I'll push and we can verify on a live install. T2497 will let users ignore or adjust these notifications.
Is this naturally resolved then? =D
Closed by commit rP3dd92a78ac2a.
Oct 14 2014
Oct 12 2014
Oct 3 2014
Support Impact This is inconsistent.
Support Impact Technical debt and inconsistency.
Sep 23 2014
I agree whole-heartedly with your comments about pre-commit review. We do some of that but mostly not. I am picking my battles and already fighting on too many fronts. Even audits are optional at best.
Nice find @cburroughs
Peer-review is going to be the best way to reduce noise, either assigning Reviewers pre-commit or Auditors for post-commit.
Are you using a pre-commit workflow? We also highly recommend that. If you're only performing post-commit auditing, you're missing the main benefit of Differential (which is, catching issues and top level architecture discussions before they land). People are also more likely to resolve something pre-commit vs. post-commit.
Thanks for the pointer. We do generally do this but would still like the catch-all for when we don't. Mostly I want to be able to go get a list of all commits which have not been accepted (or derived from an accepted revision) within some set restricted to certain paths in certain repositories (and since some time). Don't bug the entire team up front or whenever anybody comments on anything, but make it easy to get a list of things that need to be looked at.
You can assign Auditors in your commit message instead of a blanket Herald Rule, this can be a team, person, many people, or cats.
Sep 19 2014
In most cases, commits which have been published to a remote are immutable and can not be changed. We think "Request Changes" is unclear in these cases, which are common.
Sep 18 2014
If you have View in Editor functionality, then I suppose it worked at some point. I wonder how it was used knowing all problems that I've experienced with it.
We don't plan to support that.
You recommend that I create symlinks on my machine and name them like path in SVN repository? Won't it be easier to have per user setting, like editor url, where I specify from=>to replacements pairs to be applied to repository file path before giving it to %f in editor url.
You can use a path like /path/to/editor_symlinks/%r, then symlink working copies using callsigns.
Closed by commit rPHU6c29d5c8d169.
See T5031.
Also the comment textarea in Manifest doesn't clear when I hit Submit button.
Usually host goes till the first ? or if that's missing till the end of the string.
Specifically, this is a combination of parse_url() getting these URLs wrong, and then filtering we apply. Here's what parse_url() gets wrong:
Sep 16 2014
I see.
We perform filtering after calling parse_url() to deal with cases it doesn't handle. This filtering gets these cases wrong.
Isn't parse_url function (http://php.net/manual/en/function.parse-url.php) used to parse url to determine protocol? I thought it handle that stuff without problems.
I think the underlying issue is with parsing URIs that don't have slashes in them. We assume the domain terminates with a slash, but idea://open?... does not. This causes us to incorrectly identify the URI protocol.
Probably somebody forgot to update language pack, when decision was made not to support more default editors :)
Haha, well that's news to me!
We're not interested in adding more protocols, which is why it's extendible.
We're not interested in adding more protocols, which is why it's extendible. But, we should obviously resolve this bugs!
Ok, I can reproduce that.
And original subject was to add the "idea" and "phpstorm" as allowed editor protocols as well.
Yes, I did restarted the server. As I said I have 2 problems in one:
Ah, nevermind. I can't reproduce this, I'm able to set new values (using your examples), restart the server, and they appear as options. Did you restart your server? We should now tell you to restart when config values change, but that is a more recent feature, so your instance might not have it yet.
This line phpstorm://open?file=%f&line=%l as seen on screenshot I've originally attached to a task.
What specifically are you setting in your Display Preferences under "Editor"?
Nope, @hach-que. Your command gives following error:
I think it should maybe be:
Changing configuration allowed to save my new editor in Display Preferences. However when click on "Open in Editor" link in "View Options" a file on a commit page I get error dialog (url http://.../help/editorprotocol/):
I've managed to set new value from command line using this command:
./bin/config set uri.allowed-editor-protocols '{"http":true, "https":true, "txmt":true, "mvim":true, "vim":true, "subl":true, "emacs":true, "editor":true, "phpstorm":true, "idea":true}'As advised I've tried to change configuration variable value, but got this error:
Sep 14 2014
One possible issue is that HeraldCommitAdapter may take a long time to build some of the fields, and the parent TransactionEditor may be holding a (database) transaction open during this time.
After T4896, this just requires:
You could also try doing Pholio first if you want to run through a less complicated Herald-In-Transactions implementation (T4484) before this one. That one should be by the book, I think.
Essentially all that remains here is fixing PhabricatorRepositoryCommitHeraldWorker. The problems are:
Sep 12 2014
This is a bit tricky since the data lives in other tables and what have you. I have no plans to work on this soon so upforgrabbsin'
You also do not have put the > or any text specifically, we'll parse and link any commit hash.
Is your instance at HEAD? This is a very new feature.
It sounds good. It can be also recognized in SVN commit message. but just title looks strange.
We also now crosslink object mentions, so it will get linked on the original commit in the timeline as well.
You can do this by referencing the commit it fixes in the commit message. Like:
And also, we may want reviewer to see the comment easily, not by open two audit requests at same time. I just want to make the process smoothly, how do you think?
I agree it should be re-reviewed.
You should be doing pre-commit reviews, if that is the workflow you desire. That way if errors are found in code, they are fixed before they land in the repository. We have no means if you're only doing code audits, of knowing if one commit is just a fix for another commit (which, even if it is, should be re-reviewed).
Sep 4 2014
We might already be doing this, but we could make the state viewer-dependent. Instead of "Audited" vs "Partially Audited" vs "Audit Required", we could show "Audited", "Audit Required by Others" and "Audit Required by You" (with shorter names, maybe). For your commits, this would need to be a bit different.
Sep 3 2014
I think *this* Phabricator install has the most junk in it of any install on the planet. Easily top 10 if not #1... :D
All comments, and then some actions (adding a CC, resigning) but not Accepted.
Does the user not want other comments, or do they want all comments?

