Page MenuHomePhabricator
Feed Advanced Search

Dec 22 2015

epriestley moved T9785: Add ESLint Linter from Backlog to Bindings on the Lint board.
Dec 22 2015, 12:45 PM · Lint
epriestley moved T9795: Enforce Minimum Required Lint Version from Backlog to Bindings on the Lint board.
Dec 22 2015, 12:45 PM · Lint
epriestley moved T9796: Add linting support for Elixir from Backlog to Bindings on the Lint board.
Dec 22 2015, 12:45 PM · Lint, Arcanist
epriestley moved T9870: Include clang-format-lint as a linter from Backlog to Bindings on the Lint board.
Dec 22 2015, 12:45 PM · Restricted Project, Lint, Arcanist
epriestley moved T9886: Add Java linters, checkstyle and PMD from Backlog to Bindings on the Lint board.
Dec 22 2015, 12:45 PM · Restricted Project, Arcanist, Lint
epriestley moved T10038: Plan the mid-term pathway for unit-test/linter bindings from Backlog to Bindings on the Lint board.
Dec 22 2015, 12:44 PM · Lint, Arcanist
epriestley created T10038: Plan the mid-term pathway for unit-test/linter bindings.
Dec 22 2015, 12:44 PM · Lint, Arcanist

Dec 14 2015

michaeloa added a comment to T8404: Running the cpplint linter through arcanist no longer works.

We've added a linter with this fix to our library of arcanist "extras" (https://github.com/metno/arcanist-support). Also updated the install information for cpplint, as discussed in T9957.

Dec 14 2015, 12:48 PM · Lint, Arcanist

Dec 11 2015

angie moved T8405: Making lint easier to use from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Dec 11 2015, 8:27 PM · Lint, Restricted Project
chad renamed T9957: Arcanist cpplint install information is out of date from Arcanist cpplint install information is out of date. to Arcanist cpplint install information is out of date.
Dec 11 2015, 3:49 PM · Restricted Project, Lint, Bug Report
michaeloa updated the task description for T9957: Arcanist cpplint install information is out of date.
Dec 11 2015, 12:42 PM · Restricted Project, Lint, Bug Report
michaeloa created T9957: Arcanist cpplint install information is out of date.
Dec 11 2015, 12:38 PM · Restricted Project, Lint, Bug Report
epriestley merged task T8405: Making lint easier to use into T7617: Make it easier to know why herald adds reviewers.
Dec 11 2015, 1:55 AM · Lint, Restricted Project

Dec 8 2015

cspeckmim renamed T9886: Add Java linters, checkstyle and PMD from Add checkstyle for Java linting to Add linters for Java.
Dec 8 2015, 7:23 AM · Restricted Project, Arcanist, Lint

Dec 6 2015

johnny-bit added a comment to T9876: Arcanist filename linter's regex should be configurable.

Custom linters for stuff like that are way to go, that's true: for example some projects may have very complicated naming scheme, where "files in views must be all lowercase with .template extension, placed into dirs corresponding to name of controller, every view should either correspond to action in said controller or be named "all" or stard with underscore [...]" 😉

Dec 6 2015, 2:27 PM · Lint, Arcanist
johnny-bit added a comment to T9876: Arcanist filename linter's regex should be configurable.
Dec 6 2015, 1:57 PM · Lint, Arcanist
epriestley added a comment to T9876: Arcanist filename linter's regex should be configurable.

I just think this isn't very good:

Dec 6 2015, 1:48 PM · Lint, Arcanist
johnny-bit added a comment to T9876: Arcanist filename linter's regex should be configurable.

For what it's worth, I think that this is a reasonable request. I think that the only way to implement this would be to use a custom message which would be specified in the .arclint file. For example:

.arclint
{
  "linters": {
    "file": {
      "type": "file",
      "file.regex": "(^[^\w]+$)",
      "file.message": "FIlename must consist only of punctuation characters, alphanumeric characters are forbidden."
    }
  }
}
Dec 6 2015, 1:45 PM · Lint, Arcanist
joshuaspence added a comment to T9876: Arcanist filename linter's regex should be configurable.

For what it's worth, I think that this is a reasonable request. I think that the only way to implement this would be to use a custom message which would be specified in the .arclint file. For example:

Dec 6 2015, 10:15 AM · Lint, Arcanist

Dec 5 2015

angie moved T9783: Multiple linters affecting same line, one of which applying autocorrect from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Dec 5 2015, 5:07 AM · Restricted Project, Lint

Dec 4 2015

michel-slm added a revision to T7293: Add support for ansible-lint: Restricted Differential Revision.
Dec 4 2015, 4:33 AM · Arcanist, Lint

Dec 3 2015

epriestley closed T9876: Arcanist filename linter's regex should be configurable as Wontfix.

I don't think telling users that their filenames must match a complicated regexp and expecting them to figure it out is a reasonable behavior for a linter to have. I think I'm fairly comfortable with regular expressions and not confident I could figure out what the message meant quickly, and I know at least some engineers just don't have regexp literacy as part of their toolset.

Dec 3 2015, 1:42 PM · Lint, Arcanist
tolbrino renamed T9796: Add linting support for Elixir from Add Elixir Linter to Add linting support for Elixir.
Dec 3 2015, 10:22 AM · Lint, Arcanist

Dec 2 2015

iangordon added a comment to T9876: Arcanist filename linter's regex should be configurable.

I wouldn't expect users to attach filetype specific filtering via the regex. The include portion of the linter config seems like a much better place to do such things.

Dec 2 2015, 11:06 PM · Lint, Arcanist
epriestley added a comment to T9876: Arcanist filename linter's regex should be configurable.

I'm concerned that it's difficult to give users a descriptive error message if the pattern is an arbitrary regular expression. What does your patch do when a filename fails a custom regular expression? Specifically, how does it help the user fix their filename?

Dec 2 2015, 4:23 PM · Lint, Arcanist
cspeckmim added a revision to T9886: Add Java linters, checkstyle and PMD: Restricted Differential Revision.
Dec 2 2015, 5:53 AM · Restricted Project, Arcanist, Lint
cspeckmim created T9886: Add Java linters, checkstyle and PMD.
Dec 2 2015, 5:36 AM · Restricted Project, Arcanist, Lint
dereckson added a comment to T9876: Arcanist filename linter's regex should be configurable.

To configure the regexp in an .arclint option for the linter seems valuable, with a clear use case.

Dec 2 2015, 12:15 AM · Lint, Arcanist

Dec 1 2015

iangordon updated the task description for T9876: Arcanist filename linter's regex should be configurable.
Dec 1 2015, 7:41 PM · Lint, Arcanist
avivey added a comment to T9870: Include clang-format-lint as a linter.
In T9870#146277, @vhbit wrote:

BTW, what are requirements for linter to be upstreamed so I can keep them in mind?

Dec 1 2015, 6:50 PM · Restricted Project, Lint, Arcanist
tolbrino added a comment to T9870: Include clang-format-lint as a linter.

Your Github repository is a nice reference. I will do the same for T9797

Dec 1 2015, 10:08 AM · Restricted Project, Lint, Arcanist
vhbit added a comment to T9870: Include clang-format-lint as a linter.

clang-format-linter author here. I somehow missed the Community Resources page and yep ATM it's definitely a better place for this linter (alongside with one for Swift code).

Dec 1 2015, 9:49 AM · Restricted Project, Lint, Arcanist
OCram added a comment to T9848: CustomLinter Fails.
In T9848#145894, @OCram wrote:

Hmm strange, I do not use any md5 function. I simply copied the ArcanistTextLinter and changed it to work with files containing \r\n line ends. Thats the reason why I do not know where the md5 function all or the variables come from ^^

Based on my understanding of what your linter does, it sounds like T5105 is what you want.

Dec 1 2015, 7:24 AM · Lint
joshuaspence renamed T9876: Arcanist filename linter's regex should be configurable from Arcanist filename linter's regex should be configurable. to Arcanist filename linter's regex should be configurable.
Dec 1 2015, 7:20 AM · Lint, Arcanist
joshuaspence added a project to T9876: Arcanist filename linter's regex should be configurable: Lint.
Dec 1 2015, 7:11 AM · Lint, Arcanist

Nov 30 2015

avivey added a comment to T9870: Include clang-format-lint as a linter.

I think adding it in the Community Resources is a good move:

  • It will let users use it right away
  • You can collect feedback and fix stuff while it's there
  • The wait time for upstreaming linters is very long (It's essentially a special integration, with all the costs of one). So getting it somewhere in the meanwhile makes sense.
Nov 30 2015, 7:36 PM · Restricted Project, Lint, Arcanist
dereckson updated subscribers of T9870: Include clang-format-lint as a linter.
Nov 30 2015, 6:20 PM · Restricted Project, Lint, Arcanist
tolbrino added a comment to T9870: Include clang-format-lint as a linter.

I think it would be nice to have out-of-the-box support for the clang linter.

Nov 30 2015, 2:25 PM · Restricted Project, Lint, Arcanist

Nov 29 2015

joshuaspence added a project to T9870: Include clang-format-lint as a linter: Lint.
Nov 29 2015, 8:17 PM · Restricted Project, Lint, Arcanist

Nov 28 2015

joshuaspence added a comment to T9848: CustomLinter Fails.
In T9848#145894, @OCram wrote:

Hmm strange, I do not use any md5 function. I simply copied the ArcanistTextLinter and changed it to work with files containing \r\n line ends. Thats the reason why I do not know where the md5 function all or the variables come from ^^

Nov 28 2015, 11:47 PM · Lint
chad closed T9848: CustomLinter Fails as Invalid.

Closing as this is outside what the upstream provides support for (custom development). Generally Maniphest is for feature requests and bug reporting. Ponder, IRC, Conpherence are open areas for general use discussion.

Nov 28 2015, 1:58 AM · Lint

Nov 27 2015

OCram added a comment to T9848: CustomLinter Fails.

Hmm strange, I do not use any md5 function. I simply copied the ArcanistTextLinter and changed it to work with files containing \r\n line ends. Thats the reason why I do not know where the md5 function all or the variables come from ^^

Nov 27 2015, 8:26 AM · Lint

Nov 26 2015

Mnkras added a comment to T9848: CustomLinter Fails.

You have the path to the library directory twice, print out the variables
that you use in the md5 function.

Nov 26 2015, 3:49 PM · Lint
OCram added a comment to T9848: CustomLinter Fails.

If you look at the error message and the path you can see what the issue is:

md5_file(/home/admwkiv924/phab/arcanist/src//home/admwkiv924/phab/arcanist/src/extensions/ArcanistPowerShellLinter.php): failed to open stream: No such file or directory at [/home/admwkiv924/phab/arcanist/src/lint/engine/ArcanistLintEngine.php:204]

Nov 26 2015, 12:22 PM · Lint

Nov 25 2015

Mnkras added a comment to T9848: CustomLinter Fails.

If you look at the error message and the path you can see what the issue is:

Nov 25 2015, 4:00 PM · Lint
andl added a comment to T8404: Running the cpplint linter through arcanist no longer works.

lastest cpplint + arcanist HEAD (9e78d15) still have this issue, using @tyhoff's regex fix the issue.

Nov 25 2015, 3:10 PM · Lint, Arcanist
OCram created T9848: CustomLinter Fails.
Nov 25 2015, 1:43 PM · Lint

Nov 24 2015

csilvers created T9846: Diff on `arc lint` misleading when the replacement has newlines.
Nov 24 2015, 10:30 PM · Restricted Project, Arcanist, Lint

Nov 23 2015

joshuaspence added a project to T9827: Provide a more structured way of interfacing with external linters: Lint.
Nov 23 2015, 7:33 PM · Lint, Arcanist

Nov 17 2015

epriestley closed T9804: ArcanistCSSLintLinter: Parameter passed to "setLine()" must be an integer as Resolved by committing Restricted Diffusion Commit.
Nov 17 2015, 3:14 PM · Lint
dereckson added a revision to T9804: ArcanistCSSLintLinter: Parameter passed to "setLine()" must be an integer: Restricted Differential Revision.
Nov 17 2015, 5:31 AM · Lint
dereckson claimed T9804: ArcanistCSSLintLinter: Parameter passed to "setLine()" must be an integer.
Nov 17 2015, 4:55 AM · Lint
dereckson created T9804: ArcanistCSSLintLinter: Parameter passed to "setLine()" must be an integer.
Nov 17 2015, 4:20 AM · Lint

Nov 16 2015

avivey placed T9795: Enforce Minimum Required Lint Version up for grabs.
Nov 16 2015, 7:22 PM · Lint
joshuaspence updated the task description for T9795: Enforce Minimum Required Lint Version.
Nov 16 2015, 7:14 PM · Lint
joshuaspence added a project to T9796: Add linting support for Elixir: Lint.
Nov 16 2015, 7:11 PM · Lint, Arcanist
michaeljs1990 created T9795: Enforce Minimum Required Lint Version.
Nov 16 2015, 12:30 AM · Lint

Nov 15 2015

michaeljs1990 updated the task description for T9785: Add ESLint Linter.
Nov 15 2015, 10:24 PM · Lint
avivey updated the question details for Q220: How to create and deploy custom linters?.
Nov 15 2015, 9:37 PM · Lint

Nov 14 2015

avivey added a revision to T9785: Add ESLint Linter: Restricted Differential Revision.
Nov 14 2015, 10:51 PM · Lint
michaeljs1990 created T9785: Add ESLint Linter.
Nov 14 2015, 9:09 PM · Lint
epriestley merged task T9783: Multiple linters affecting same line, one of which applying autocorrect into T8971: Auto-fix patch is wrong when multiple issue affect the same line.
Nov 14 2015, 12:56 AM · Restricted Project, Lint
nipunn added a comment to T9783: Multiple linters affecting same line, one of which applying autocorrect.

+1. I agree that conflicting rules are un-resolvable (and thus a configuration issue), but in this case, even consistent rules cause an issue.

Nov 14 2015, 12:09 AM · Restricted Project, Lint

Nov 13 2015

joshuaspence added a comment to T9783: Multiple linters affecting same line, one of which applying autocorrect.

In the general case, this is impossible to resolve. Suppose that you had conflicting linter rules, such as one whiche enforced that files end with a newline character and another which enforces that files do not end with a newline character.

Nov 13 2015, 11:36 PM · Restricted Project, Lint
nipunn created T9783: Multiple linters affecting same line, one of which applying autocorrect.
Nov 13 2015, 11:29 PM · Restricted Project, Lint
chad added a project to Q220: How to create and deploy custom linters?: Lint.
Nov 13 2015, 4:19 PM · Lint

Nov 9 2015

epriestley added a comment to T9749: `arc lint --only-new` doesn't work as expected.

I conceptually like the approach you outline for --only-new.

Nov 9 2015, 10:31 PM · Restricted Project, Lint, Arcanist
joshuaspence added a comment to T9749: `arc lint --only-new` doesn't work as expected.

I was thinking of changing arc lint --only-new to do the following:

Nov 9 2015, 9:35 PM · Restricted Project, Lint, Arcanist
joshuaspence created T9749: `arc lint --only-new` doesn't work as expected.
Nov 9 2015, 9:33 PM · Restricted Project, Lint, Arcanist
joshuaspence updated the title for P1885 ArcanistParentMemberReferenceXHPASTLinterRule.php from untitled to ArcanistParentMemberReferenceXHPASTLinterRule.php.
Nov 9 2015, 12:36 AM · Lint

Nov 8 2015

joshuaspence created T9738: Linter rule for attempting to reassign `$this`.
Nov 8 2015, 11:00 PM · Lint
joshuaspence created T9734: Cppcheck linter seems to show warnings from other files.
Nov 8 2015, 10:19 AM · Lint, Arcanist

Nov 5 2015

epriestley added a comment to T9717: `arc lint --everything` will not lint directories (as opposed to files) under git.

Determining the directories implied by the paths we find and injecting them into the list seems reasonable to me.

Nov 5 2015, 3:54 PM · Restricted Project, Lint, Arcanist
joshuaspence claimed T9717: `arc lint --everything` will not lint directories (as opposed to files) under git.
Nov 5 2015, 1:08 AM · Restricted Project, Lint, Arcanist
joshuaspence renamed T9717: `arc lint --everything` will not lint directories (as opposed to files) under git from arc lint --everything will not lint directories under git to `arc lint --everything` will not lint directories under git.
Nov 5 2015, 1:08 AM · Restricted Project, Lint, Arcanist

Oct 21 2015

jparise closed T4954: Allow version dependencies to be specified for external linters as Resolved by committing Restricted Diffusion Commit.
Oct 21 2015, 4:46 PM · Lint, Arcanist

Oct 18 2015

epriestley added a comment to T7045: Allow linters to be skipped.

Just collecting some more related stuff here: D14298 adds a .arclint-configurable version requirement check, which currently executes as a side effect of getCacheVersion().

Oct 18 2015, 1:16 PM · Differential, Lint
jparise added a revision to T4954: Allow version dependencies to be specified for external linters: Unknown Object (Differential Revision).
Oct 18 2015, 4:27 AM · Lint, Arcanist

Oct 14 2015

angie moved T9257: Error: Parameter passed to "setChar()" must be an integer. when using ArcanistPyLintLinter. from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Oct 14 2015, 7:17 PM · Lint, Restricted Project
deuresti added a comment to T9257: Error: Parameter passed to "setChar()" must be an integer. when using ArcanistPyLintLinter..

Yes it has. Thanks!

Oct 14 2015, 6:57 PM · Lint, Restricted Project
angie added a comment to T9257: Error: Parameter passed to "setChar()" must be an integer. when using ArcanistPyLintLinter..

@deuresti can you confirm this has been resolved?

Oct 14 2015, 6:38 PM · Lint, Restricted Project

Oct 6 2015

avivey added a project to T9518: In diff summary linting error code shown instead of message, when PHP_CodeSniffer linter was used: Lint.
Oct 6 2015, 4:45 PM · Lint

Oct 2 2015

epriestley closed T9498: ArcanistClosureLinter broken after D14165 as Resolved by committing Restricted Diffusion Commit.
Oct 2 2015, 12:45 PM · Lint
vm added a revision to T9498: ArcanistClosureLinter broken after D14165: Restricted Differential Revision.
Oct 2 2015, 3:30 AM · Lint
vm created T9498: ArcanistClosureLinter broken after D14165.
Oct 2 2015, 3:23 AM · Lint

Oct 1 2015

ow-pastuch added a comment to T4483: ArcanistCSharpLinter not reporting linter warnings.

I had the same problem and tracked it down to the following facts:

Oct 1 2015, 7:56 AM · Lint, Arcanist

Sep 28 2015

joshuaspence added a comment to T9073: The "PHPCS" linter gets out of memory error on large files.

Pretty sure this was only possible after the introduction of .arclint.

Sep 28 2015, 9:53 AM · Lint
aik099 added a comment to T9073: The "PHPCS" linter gets out of memory error on large files.

Yes, this did the trick:

Sep 28 2015, 7:33 AM · Lint

Sep 27 2015

joshuaspence added a comment to T9073: The "PHPCS" linter gets out of memory error on large files.

I can't remember off the top of my head, but I thought we had a way to pass flags to external linters. Something like this:

Sep 27 2015, 9:05 PM · Lint
aik099 added a comment to T9073: The "PHPCS" linter gets out of memory error on large files.

Since php.ini settings are shared across all PHP scripts on computer there is no way to increase per-script memory limit other than changing script invocation command line to something like php -d memory_limit=-1 actual_script.

Sep 27 2015, 1:34 PM · Lint
epriestley closed T9073: The "PHPCS" linter gets out of memory error on large files as Wontfix.

I think this isn't our responsibility.

Sep 27 2015, 1:08 PM · Lint

Sep 25 2015

epriestley closed T9316: Linters must include Name fields as Resolved by committing Restricted Diffusion Commit.
Sep 25 2015, 6:16 PM · Lint
epriestley added a comment to T9316: Linters must include Name fields.

Prior to, e.g., T8921, we were very lax about lint messages which led to a lot of linters passing nonsense (e.g., non-numeric line numbers, negative character offsets, human-readable durations with units like "3 seconds"). Formalization of lint in connection with T8089 implicitly increased strictness.

Sep 25 2015, 5:05 PM · Lint
epriestley added a revision to T9316: Linters must include Name fields: Restricted Differential Revision.
Sep 25 2015, 5:02 PM · Lint

Sep 23 2015

• bijoysingh updated Q148: Linting Tool For Android from to Linting Tool For Android.
Sep 23 2015, 4:41 PM · Lint, Android, Arcanist

Sep 14 2015

avivey closed T9353: make arc linters one-line output more informative as Resolved by committing Restricted Diffusion Commit.
Sep 14 2015, 6:53 PM · Lint
avivey added a revision to T9353: make arc linters one-line output more informative: Restricted Differential Revision.
Sep 14 2015, 6:48 PM · Lint

Sep 13 2015

jra3 added a comment to T8404: Running the cpplint linter through arcanist no longer works.

Actually, all I needed to do to fix this was to use @tyhoff's regex. The issue has nothing to do with the non-zero return code. It has to do with not being able to parse any messages from the output.

Sep 13 2015, 5:09 AM · Lint, Arcanist

Sep 8 2015

avivey added a revision to T9353: make arc linters one-line output more informative: Restricted Differential Revision.
Sep 8 2015, 7:55 PM · Lint
epriestley closed Q106: Will my linter be accepted to the upstream Arc? as resolved.
Sep 8 2015, 4:54 PM · Lint