Page MenuHomePhabricator
Feed All Stories

Aug 20 2015

avivey added a comment to T9223: Allow `arc diff` to run a build step like `gradle` first, then read lint and unit messages from the output.

AFAIK, the common tool in building Scala is sbt, which is more-or-less the same as Maven or Gradle, but it's in Scala.

Aug 20 2015, 4:13 PM · Unit, Arcanist
epriestley added a comment to T9223: Allow `arc diff` to run a build step like `gradle` first, then read lint and unit messages from the output.

We could fix the "maven-make can't detect a no-op quickly" issue in arc itself by letting your test engine say "run maven-make unless some other part of the current arc workflow already ran it and hasn't made changes to the working copy in the meantime", since we're fine with assuming that the rest of the world is frozen while you're running arc.

Aug 20 2015, 4:08 PM · Unit, Arcanist
cburroughs added a comment to T9223: Allow `arc diff` to run a build step like `gradle` first, then read lint and unit messages from the output.

/me is from a java shop and jumps in.

Aug 20 2015, 4:05 PM · Unit, Arcanist
sgrimm added a comment to T9223: Allow `arc diff` to run a build step like `gradle` first, then read lint and unit messages from the output.

By "One option that would work" I meant, "One option that would work in a world where a single command can be both a linter and a tester," in case that wasn't clear.

Aug 20 2015, 3:54 PM · Unit, Arcanist
sgrimm added a comment to T9223: Allow `arc diff` to run a build step like `gradle` first, then read lint and unit messages from the output.

That pattern is definitely possible, but the "make or whatever" step can take a noticeable amount of time on a complex project even when there's nothing to build, so you're kind of faced with choosing between "minimize time to lint errors" and "minimize total time for a successful diff submission."

Aug 20 2015, 3:52 PM · Unit, Arcanist
chad added a comment to T9232: Missing ability to edit attached commits in a task.

It's available on the commit under "Edit Maniphest Tasks".

Aug 20 2015, 3:46 PM · Maniphest
chad added a comment to Q93: This is a question (Answer 115).

derp2

Aug 20 2015, 3:37 PM
chad added a comment to Q93: This is a question.

derp

Aug 20 2015, 3:37 PM
chad added a comment to Q93: This is a question.

test reply to answer

Aug 20 2015, 3:37 PM
chad added a comment to Q93: This is a question (Answer 115).

test

Aug 20 2015, 3:36 PM
chad added Q93: This is a question (Answer 115).
Aug 20 2015, 3:35 PM
epriestley added a comment to T9223: Allow `arc diff` to run a build step like `gradle` first, then read lint and unit messages from the output.

Also, just to check that my thinking is right since I'm not in touch with the Java world, we're really talking about Maven here, not Java in general, right? Maven is just a build tool for Java, not part of the core language? Is it so ubiquitous that it's effectively universal, or is it just the most common/popular tool? How are Maven, Gradle, and Ant related? Is Maven also used for other languages (Scala, Groovy)?

Aug 20 2015, 3:32 PM · Unit, Arcanist
chad closed T9226: Answers show create date, not update date as Resolved by committing Restricted Diffusion Commit.
Aug 20 2015, 3:25 PM · Ponder
chad closed T8834: Remove Calendar/Files from Conpherence as Resolved by committing Restricted Diffusion Commit.
Aug 20 2015, 3:24 PM · Calendar, Conpherence
chad added a revision to T9226: Answers show create date, not update date: Unknown Object (Differential Revision).
Aug 20 2015, 3:24 PM · Ponder
epriestley added a comment to T9223: Allow `arc diff` to run a build step like `gradle` first, then read lint and unit messages from the output.

Can you compile the code explicitly, without running tests?

Aug 20 2015, 3:21 PM · Unit, Arcanist
epriestley added a comment to T9187: Phacility Cluster: Daemons outpaced log compaction.

This seems to have completed without incident.

Aug 20 2015, 3:12 PM · Ops, Phacility
epriestley added a comment to T9187: Phacility Cluster: Daemons outpaced log compaction.

I've added support for dedicated log volumes (see commit above). Only repo class hosts currently have much use for them, although I'd expect to deploy them more widely eventually.

Aug 20 2015, 3:00 PM · Ops, Phacility
sgrimm added a comment to T9223: Allow `arc diff` to run a build step like `gradle` first, then read lint and unit messages from the output.

I've attached

just so we have something concrete to talk about. Right now this is sitting in our source repository and we load and run it via .arcconfig entries as you'd expect. It is much closer to a "run everything" implementation than a highly selective one, though it is able to deal with repositories that have multiple Java projects (where a "project" is indicated by the presence of a pom.xml file) and will only run tests in projects that have changes. So for source bases that have code for multiple server components, it'll be at least somewhat selective. And if the pending change list has no changes in any Java projects, it won't run anything. (Obviously this has the potential to be wrong if, e.g., a change modifies data files that affect a test, but it's likely to be right in cases like a repository that has both front-end and back-end code.)

Aug 20 2015, 2:35 PM · Unit, Arcanist
epriestley edited the content of Adding Hardware.
Aug 20 2015, 2:34 PM
epriestley edited the content of Adding Hardware.
Aug 20 2015, 2:24 PM
epriestley edited the content of Adding Hardware.
Aug 20 2015, 2:24 PM
epriestley edited the content of Phacility Cluster Devices.
Aug 20 2015, 2:23 PM
herdz created T9232: Missing ability to edit attached commits in a task.
Aug 20 2015, 1:40 PM · Maniphest
devurandom added a comment to T9167: Simplify destroying wiki pages.

The issue is that moving a wiki page leaves around a redirect, which other users can still stumple upon, which is bad from a privacy perspective (since the old content can still be restored from the history). Sadly on our installation some very generic names were choosen, which also collide with new project names.

Aug 20 2015, 1:06 PM · Phriction
epriestley added Q98: Tasks with `null` data: Normal or a sign of breakage? (Answer 114).
Aug 20 2015, 1:03 PM
epriestley changed the image for Image Macro "ohkay".
Aug 20 2015, 12:53 PM
joshuaspence added a comment to T8258: Allow comments in JSON.

I want to work on this eventually but I haven't had the time.

Aug 20 2015, 12:42 PM · Restricted Project, libphutil, Arcanist
cburroughs added a comment to T8258: Allow comments in JSON.

@joshuaspence Did your stab draw blood?

Aug 20 2015, 12:31 PM · Restricted Project, libphutil, Arcanist
epriestley triaged T9222: Arc upgrade returns success message when it failed as Low priority.
Aug 20 2015, 11:45 AM · Restricted Project, Arcanist
epriestley created T9231: Detail link in badge email is very, very, wrong.
Aug 20 2015, 11:44 AM · Badges
epriestley added a comment to T9222: Arc upgrade returns success message when it failed.

This error handling block is incorrect:

Aug 20 2015, 11:42 AM · Restricted Project, Arcanist
epriestley added a comment to T9223: Allow `arc diff` to run a build step like `gradle` first, then read lint and unit messages from the output.

The general plan here is to switch unit test configuration to an .arcunit file by default (T5568). This technically works today but isn't quite ready for use yet.

Aug 20 2015, 11:37 AM · Unit, Arcanist
Feed Story Failed to Render (PhabricatorApplicationTransactionFeedStory)
Exception: Unknown edge constant "59"!
Aug 20 2015, 11:28 AM
epriestley edited this Badge.
Aug 20 2015, 11:28 AM
epriestley edited this Badge.
Aug 20 2015, 11:26 AM
jbeta added a comment to Contributor.

(also there's a typo in the badge name :p)

Aug 20 2015, 11:24 AM
Feed Story Failed to Render (PhabricatorApplicationTransactionFeedStory)
Exception: Unknown edge constant "59"!
Aug 20 2015, 11:19 AM
epriestley closed T9225: Wrong pluralization ("branchs") in an arc land message as Resolved by committing Restricted Diffusion Commit.
Aug 20 2015, 11:19 AM · Arcanist
epriestley added a comment to T9224: Probably add "Event Host" and "Event Invitees" Object Policies to Calendar Events.

Yeah, there's no separation of Join/View policies currently.

Aug 20 2015, 11:14 AM · Policy, Calendar
tycho.tatitscheff created T9230: Libphutil xhpast seems broken.
Aug 20 2015, 10:33 AM · XHPAST
epriestley closed T9229: Task as Invalid.
Aug 20 2015, 9:44 AM · Phacility High Command
epriestley closed T9228: Task as Invalid.
Aug 20 2015, 9:44 AM
epriestley closed T9227: Task as Invalid.
Aug 20 2015, 9:44 AM · Facebook
avivey added revisions to T4214: Allow installs to change or supplement the "Phabricator" icon: Unknown Object (Differential Revision), Unknown Object (Differential Revision), Unknown Object (Differential Revision), Unknown Object (Differential Revision).
Aug 20 2015, 9:43 AM · Design
• TestTest1234 created M1444: Cool, a Mock feature.
Aug 20 2015, 9:26 AM
• wasimsikder created T9229: Task.
Aug 20 2015, 9:06 AM · Phacility High Command
• wasimsikder created T9228: Task.
Aug 20 2015, 9:04 AM
• wasimsikder removed revisions from T4214: Allow installs to change or supplement the "Phabricator" icon: Unknown Object (Differential Revision), Unknown Object (Differential Revision), Unknown Object (Differential Revision), Unknown Object (Differential Revision).
Aug 20 2015, 9:00 AM · Design
• wasimsikder created T9227: Task.
Aug 20 2015, 8:52 AM · Facebook
arunkpatra edited the content of Organizations Using Phabricator.
Aug 20 2015, 6:30 AM
cspeckmim added a comment to Q8: How to properly upgrade Phabricator? (Answer 10).

The updated link to Upgrading Phabricator:
https://secure.phabricator.com/book/phabricator/article/upgrading/

Aug 20 2015, 5:06 AM
chad created T9226: Answers show create date, not update date.
Aug 20 2015, 4:59 AM · Ponder
chad updated the answer details for Q44: is there a option to skin phabricator? (Answer 55).
Aug 20 2015, 4:58 AM
cspeckmim added a comment to Q44: is there a option to skin phabricator? (Answer 55).

There is currently an option to set the color of the header bar. I use this to help differentiate between our production install and the test/dev install (and also to help me differentiate between the install here at secure.phabricator.com ;p).

Aug 20 2015, 4:57 AM
cspeckmim added Q66: Herald rule: only trigger on non-binary files (Answer 113).
Aug 20 2015, 4:49 AM
cspeckmim updated the answer details for Q72: Associate user id with a user on a repository (Answer 111).
Aug 20 2015, 4:24 AM
cspeckmim added Q65: How to manage Differential revisions spanning multiple repositories? (Answer 112).
Aug 20 2015, 4:18 AM
cspeckmim added Q72: Associate user id with a user on a repository (Answer 111).
Aug 20 2015, 4:04 AM
jbeta added a revision to T9225: Wrong pluralization ("branchs") in an arc land message: Unknown Object (Differential Revision).
Aug 20 2015, 2:47 AM · Arcanist
jbeta added a comment to T9225: Wrong pluralization ("branchs") in an arc land message.
In T9225#133080, @chad wrote:

We'll even give you badge

Aug 20 2015, 2:47 AM · Arcanist
chad added a comment to T9225: Wrong pluralization ("branchs") in an arc land message.

We'll even give you badge

Aug 20 2015, 2:42 AM · Arcanist
jbeta created T9225: Wrong pluralization ("branchs") in an arc land message.
Aug 20 2015, 2:19 AM · Arcanist
chad added a comment to T9224: Probably add "Event Host" and "Event Invitees" Object Policies to Calendar Events.

Calendar from what I can see doesn't have a joinable policy, so not sure what that editable by invitees policy would really prevent.

Aug 20 2015, 1:50 AM · Policy, Calendar
greggrossmeier created T9224: Probably add "Event Host" and "Event Invitees" Object Policies to Calendar Events.
Aug 20 2015, 12:02 AM · Policy, Calendar

Aug 19 2015

sgrimm created T9223: Allow `arc diff` to run a build step like `gradle` first, then read lint and unit messages from the output.
Aug 19 2015, 10:36 PM · Unit, Arcanist
joshuaspence added a revision to T8742: Write a bunch of PSR-2 lint rules: Unknown Object (Differential Revision).
Aug 19 2015, 9:39 PM · Lint
joshuaspence added a revision to T8742: Write a bunch of PSR-2 lint rules: Unknown Object (Differential Revision).
Aug 19 2015, 9:39 PM · Lint
leonpalm added a comment to T9222: Arc upgrade returns success message when it failed.

Yes, correct. Calling arc upgrade with sudo succeeded the second time around.

Aug 19 2015, 9:27 PM · Restricted Project, Arcanist
nornagon awarded T8659: Allow linking to an external build system from Harbormaster a Piece of Eight token.
Aug 19 2015, 9:20 PM · Prioritized, Harbormaster
nornagon added a comment to T8659: Allow linking to an external build system from Harbormaster.

Awesome! Thanks @epriestley :)

Aug 19 2015, 9:20 PM · Prioritized, Harbormaster
chad updated subscribers of T8996: Move Badge awards to be an actual object, not an edge.

@epriestley is there any edge->object conversions I can crib notes from. I presume I can read out each Badge, loop through recipients, then write out a new "Award" object.

Aug 19 2015, 8:51 PM · Badges (v0)
cspeckmim added a comment to T9222: Arc upgrade returns success message when it failed.

From the IRC @leonpalm had indicated that

The issue itself was quickly resolved. Was a file permissions problem.

Sounded like the location of the arcanist/libphutil may not have been writable by the user running arc upgrade

Aug 19 2015, 8:45 PM · Restricted Project, Arcanist
chad added a comment to T9222: Arc upgrade returns success message when it failed.

Curious if this is T9043.

Aug 19 2015, 8:05 PM · Restricted Project, Arcanist
chad added a comment to T9222: Arc upgrade returns success message when it failed.

What are the steps to reproduce the error?

Aug 19 2015, 8:01 PM · Restricted Project, Arcanist
leonpalm updated subscribers of T9222: Arc upgrade returns success message when it failed.
Aug 19 2015, 7:56 PM · Restricted Project, Arcanist
leonpalm created T9222: Arc upgrade returns success message when it failed.
Aug 19 2015, 7:56 PM · Restricted Project, Arcanist
robertkraig added a comment to T6532: Support "Login As" functionality for Administrators.

I think it would be useful if there is not a "login as" to atleast test objects based on specific usernames.

Aug 19 2015, 7:25 PM
thoughtpolice added a comment to T9219: 'Exception' with message 'Unable to resolve method 'loadDrydockLease'.'.

Yup, confirmed fixed. Thanks again y'all!

Aug 19 2015, 6:52 PM · Drydock, Harbormaster
chad added members for Ponder Moderators: cburroughs, cspeckmim.
Aug 19 2015, 6:28 PM
20after4 abandoned D13927: Handle application transactions with null data..

Superseded by D13939

Aug 19 2015, 4:50 PM
chad edited the content of 2015 Week 33 (Late August).
Aug 19 2015, 4:38 PM
• hoodrat deleted 2015 Week 33 (Late August).
Aug 19 2015, 4:37 PM
• e-m-albright added a comment to T9214: ArcanistPyLintLinter.php has superfluous quotations around the "msg-template" options..

Yep, thanks much for your assistance. I appreciate the product!

Aug 19 2015, 4:15 PM · Lint, Arcanist
rftfaria awarded T4947: SELinux / AppArmor ruin everything all the time a Like token.
Aug 19 2015, 4:04 PM · Setup
devurandom added a comment to T9212: Community Feedback: How should we handle free support?.

In Maniphest, maybe "Status: Need Info" and a few canned responses would help?

Aug 19 2015, 3:04 PM · Public & Media Relations, Support
chad closed mock M1443: bob.
Aug 19 2015, 2:54 PM
epriestley closed T9221: My example as Resolved.

It is done.

Aug 19 2015, 2:34 PM
rftfaria awarded T4548: Support "Mylyn" Eclipse plugin a Like token.
Aug 19 2015, 2:25 PM · Feature Request, Maniphest
carwyn created T9221: My example.
Aug 19 2015, 2:24 PM
• valezin awarded T4548: Support "Mylyn" Eclipse plugin a Like token.
Aug 19 2015, 2:23 PM · Feature Request, Maniphest
carwyn created M1443: bob.
Aug 19 2015, 2:19 PM
epriestley closed T9214: ArcanistPyLintLinter.php has superfluous quotations around the "msg-template" options. as Resolved.

Presuming resolved since D13931 is in HEAD. Thanks for the report!

Aug 19 2015, 1:54 PM · Lint, Arcanist
epriestley added a comment to T9187: Phacility Cluster: Daemons outpaced log compaction.

D13939 will fix T8672, the most immediate cause of high log volumes, but I'm going to hold it until after we cut the release since it also raises the urgency of potential existing errors.

Aug 19 2015, 1:44 PM · Ops, Phacility
epriestley moved T9187: Phacility Cluster: Daemons outpaced log compaction from Backlog to Do After Launch on the Phacility board.
Aug 19 2015, 1:40 PM · Ops, Phacility
epriestley added a comment to T4947: SELinux / AppArmor ruin everything all the time.

See T9213 for another case of htis.

Aug 19 2015, 1:39 PM · Setup
epriestley added a revision to T9218: Should Owners allow multiple packages to own the same file?: Unknown Object (Differential Revision).
Aug 19 2015, 1:37 PM · Owners
epriestley added a comment to D13927: Handle application transactions with null data..

I folded this into D13939, which also fixes the root problem (hopefully). It ended up with a LiskDAO change so I want to wait until after we cut the stable branch on Saturday morning.

Aug 19 2015, 1:15 PM
Feed Story Failed to Render (PhabricatorApplicationTransactionFeedStory)
Exception: Unknown edge constant "59"!
Aug 19 2015, 1:11 PM
Feed Story Failed to Render (PhabricatorApplicationTransactionFeedStory)
Exception: Unknown edge constant "59"!
Aug 19 2015, 1:11 PM