Regarding mixed-language environments (like sql appearing in a python script), most editors would simply look at the file extension and highlight the entire file in that language (in our example, python.. and the inline sql might appear in the color of a string).
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Oct 2 2015
Oct 1 2015
@epriestley @avivey That worked just fine! :)
Only thing I'm not sure about how to make 'arc unit + arc lint' disappear and just have the harbormaster builds show up in the UI.
@epriestley @avivey awesome! thanks so much for the pointers! Giving that a shot now.
From what I understand, there is no way to update 'arc unit + arc lint' build plan.
From what I understand, there is no way to update 'arc unit + arc lint' build plan.
Sep 30 2015
Sep 29 2015
I had this same issue because it wasn't clear to me from the example regex's that #/vendor/# wouldn't match a vendor folder that's at the root. Would it make sense to change that 2nd example value (#/autobuilt/#) to something like the modified rule from your comment? #(^|/)autobuilt/#
Here's a similar failure case:
It's possible, but I'd guess they're probably not related if I had to.
Sep 28 2015
Hiding is completely essential. If you have 10 lines of code with 5 comments, where there are say 1 reply each, All the comments inline make it impossible to read the code anymore. Inline comments are not helpful for larger more complex code where the reviewer needs to reason about more than 1 line of code.
Sep 27 2015
I'm just going to close this, I think T1460 has similar discussion already.
Never mind, there's already such a note.
I can't reproduce this. Here's what I did:
Oh, I didn't look at the stack trace carefully when dealing with T9458. I think the fix for that (D14142) almost certainly resolved this, too.
Sep 26 2015
Sep 25 2015
Oh, I guess there isn't actually a "test plan" Herald field. We could add one easily enough. I was thinking:
In T9331#138095, @epriestley wrote:Workarounds like the one above (or just writing similar Herald rules) seem reasonable to me, if not ideal.
let say this is my git tree
origin/master -> c1 -> c2 -> c3
at this point, arc diff results into creation of revision of c1, c2, c3. That's exactly what expected.
Now my reviews are pending and I started working on more stuff, so git tree will look like
origin/master -> c1 -> c2 -> c3 -> c4 -> c5 -> c6
this time arc diff will result into creation of revision of (c1, c2,.. c6) due to default ruleset. I want that arc diff should include only (c4, c5, c6) only.
I can achieve the same by using arc diff c4. But this situations is too frequent and doing arc diff <commit> is cumbersome because one have to do git log before that etc. So is there any ruleset in arcanist to handle that directly?
Can you explain more about what you're trying to accomplish in your details?
I don't currently plan to try to let fields be configured per-repository. This would be a lot of work to accommodate a fairly rare need, require substantial workflow changes, and doesn't seem to be particularly valuable. Workarounds like the one above (or just writing similar Herald rules) seem reasonable to me, if not ideal.
Sep 24 2015
Sep 23 2015
Sep 22 2015
Sep 17 2015
You can also create revisions without attaching reviewers/subscribers -- this is what we do when we have commits which we also plan for more changes prior to review. Revisions also have a status of "Changes Planned" or something similar.
I just put [WIP] or [DRAFT} in my diff title to make this clear to colleagues that the diff is rough, but early feedback is wanted.
Your org has an... unusual workflow.
Revision is the the tool that is designed for pre-commit reviews; It supports all the things that you'd want from such a tool, and based on the assumption that creating a revision is not saying "this is ready to be committed", but "This is ready to be reviewed".
The workflow I was using was arc diff --preview, followed by sending a link to the diff to the colleague I wanted feedback from. In my org, creating a revision without preview is equivalent to saying "I feel confident that this code is ready to be committed to master," which isn't always the case.
Yeah, it's not clear what you're currently doing that does not have commenting. Differential has commenting, specifically for pre-commit review.
Are you using Differential to create revisions of changes prior to moving commits upstream? What you describe is essentially the workflow that using Differential is for, as far as I understand.
Sep 15 2015
Sep 14 2015
Yep, works great. Thanks. Herald is nice. Will play with that some more. 😄
I think you can write a Herald rule like this:
Sep 11 2015
We should probably improve this behavior at some point, but it isn't entirely trivial, I'll likely do concurrently with T9132 anyway, and the current behavior is a little rough but doesn't seem too bad (it's inconsistent and needlessly indirect, but not technically incorrect).
Sep 10 2015
I suspect they're the same, but I'm not confident. I'm happy with closing this as a duplicate, and then trying to repro after T5030 is fixed.
@jhurwitz can you confirm these tasks are the same?
Can confirm this now works for me.
In waiting for an official fix from Phabricator teams, if someone knows how to quickly fix this issue, it should be great to share it.
Thanks for the feedback guys.
@jhurwitz do you remember a diff that we saw this on?
Did D12730 resolve this?
At HEAD, I get this:
We've never seen other reports of this, but it's <1 hour to fix. We can weave it in somewhere if approved.
Some discussion in T9367.
This is likely the same as T5030, but I haven't observed it myself and haven't spent the time to try to reproduce it.
Sep 9 2015
Presuming this is just related to bucketing errors since we're aware of bucketing assignment occasionally being surprising, see T9372 for some discussion.
Sep 8 2015
I confirm having the same problem with phpcs linter. Each time phpcs raises warnings or errors, arcanist throws that exception and in my code review the Arcanist Lint Result remains into "Waiting for Message" status. You should fix it quickly as phpcs is not usable anymore :(