@btrahan. My answers are below.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Mar 5 2015
In T7447#99793, @michaelf wrote:Or, do reviews frequently have several inlines about non-style issues? If so, what sort of issues? Is this mostly a problem with large diffs, or with lots of reviewers, or with new engineers? Are there common classes of feedback which crop up a lot?
At Pinterest, code reviews consisting of 100+ line of changes and having 3+ reviewers are fairly common, so not porting the inline comments forward can become confusing and make people easily ignore comments.
Do you have a way to reproduce this? I'm not totally sure that D11970 fixes this, it just fixes every case I was able to identify.
Just tested it again with a touchpad (laptop), and it still works.
Since we are in a situation where we have to maintain at least two different build systems added files are nearly as important as deleted files.
So i suggest treating added files similarly.
Are you on a laptop? Seems touch specific.
works for me on Windows/Chrome 41. Just to make it more annoying, I guess.
Well this now repros in plain Mac/Chrome v41. Help me 1-up diff view, you're my only hope!
Mar 4 2015
FWIW, been using the following script to do these previews for an svn repo
| 1 | #!/bin/bash |
|---|---|
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | usage () |
| 6 | { |
| 7 | echo "Usage: arc_preview [ -d Diff ID ]" |
| 8 | echo "" |
| 9 | echo "Will detect your local arc Diff ID and your local svn repo" |
| 10 | echo "to provide a diff of what has changed. This semantically" |
| 11 | echo "should tell you what has changed since your last 'arc diff'." |
| 12 | echo "If -d is provided, it will be used as the Diff ID rather than" |
| 13 | echo "detecting and using your most recent diff." |
| 14 | exit 1 |
| 15 | } |
| 16 | |
| 17 | diff="" |
| 18 | while getopts ":d:" opt; do |
| 19 | case "$opt" in |
| 20 | d) diff=$OPTARG |
| 21 | ;; |
| 22 | *) |
| 23 | usage |
| 24 | ;; |
| 25 | esac |
| 26 | done |
| 27 | |
| 28 | if [ -z "$diff" ]; |
| 29 | then |
| 30 | diff=`arc which | grep -o "D[1-9][0-9]*"` |
| 31 | fi |
| 32 | base_checkout=`svn info | grep ^URL | cut -d" " -f2` |
| 33 | |
| 34 | if [ -z "$diff" ]; |
| 35 | then |
| 36 | echo "Unable to find diff for working directory" |
| 37 | exit |
| 38 | fi |
| 39 | |
| 40 | if [ -z "$base_checkout" ]; |
| 41 | then |
| 42 | echo "Unable to find svninfo for working directory" |
| 43 | exit |
| 44 | fi |
| 45 | |
| 46 | echo "Diff is $diff" |
| 47 | echo "Base Revision is $base_checkout" |
| 48 | |
| 49 | curr_dir=`pwd` |
| 50 | |
| 51 | ## start with a fresh tmp dir |
| 52 | tmp_dir=`mktemp -d` |
| 53 | |
| 54 | function cleanup { |
| 55 | rm -rf $tmp_dir |
| 56 | } |
| 57 | |
| 58 | trap 'cleanup' EXIT |
| 59 | |
| 60 | ## checkout the base revision and apply the patch |
| 61 | svn co $base_checkout $tmp_dir --quiet |
| 62 | cd $tmp_dir |
| 63 | |
| 64 | ## patch it up and hide some noise |
| 65 | arc patch --force ${diff} | grep -v "^patching file" | |
| 66 | grep -v "^[A|U|D] " |
| 67 | |
| 68 | cd $curr_dir |
| 69 | |
| 70 | ## perform our diff |
| 71 | diff -ru $tmp_dir $curr_dir --exclude=".svn" |
We already have major parts of this map in getPygmentsLexerNameFromLanguageName().
Sorry, we don't build features which are only useful for application development right now because we don't support third-party application development.
For us the small reviews like you guys mostly have don't present a problem. Where we get into issues is when we start developing more comprehensive features and reviews start taking a form of a discussion. Our policy is to have 2 reviewers sign off on the review, so we commonly get 3 way conversations in reviews going and we get into issues where multiple iterations are needed AND a discussion continues. For example, if I submit a review and some minor issues come up that I can easily fix, but also a larger discussion starts on one of the changed areas, fixing those small issues and submitting a new diff essentially makes it impossible to follow the (usually more important) longer discussion because it is now broken up across multiple revisions. This is the single most common complaint I hear from my team - there's actually no way to see the entire flow of the conversation.
Personally, I think we're a bad example to judge code reviews on. Primarily, we have a very well defined code base / conventions, and deep discussion isn't likely to occur. Plus we have one lead developer who contributes probably 75% of the code.
Or, do reviews frequently have several inlines about non-style issues? If so, what sort of issues? Is this mostly a problem with large diffs, or with lots of reviewers, or with new engineers? Are there common classes of feedback which crop up a lot?
One general note here is that we (the upstream) are unsure how valuable this is as a feature. In particular, although we use Differential heavily, it isn't a feature which any of us have ever felt much of a desire for, which is part of the reason why it hasn't been built yet. (I also did not feel much need for this feature at Facebook.) Speaking broadly, we haven't experienced very much difficulty tracking inlines across updates.
Mar 3 2015
The other reason not to hide the revision as a whole is to avoid dead-ending the revision: it's desirable for us to be able to discuss the change and the need for the CLA with the author.
Doesn't reproduce at HEAD.
Mar 2 2015
Feb 28 2015
Feb 27 2015
Confirmed.
Feb 25 2015
Adding T7378 here, any resolution of this task should include "diffs" in other applications as well (like Phriction).
Is the Reviewers: a!, b! syntax still planned?
Feb 24 2015
Going to close this as it seems the bug is solely related to the RPM. We don't support installation from anywhere other than our documents, though people provide other means. With have no ability to provide quality control in those cases, please contact that author or install / update per our documentation.
The links you posted above are not of HEAD, I don't know what your process for updating your Phabricator instance is, but it's quite behind HEAD and like you noted, looks pretty buggy. We don't support bugs found in other distributions / guides.