Page MenuHomePhabricator

Remove commit linter
ClosedPublic

Authored by joshuaspence on May 4 2015, 2:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jan 29, 3:51 AM
Unknown Object (File)
Sat, Jan 25, 4:23 PM
Unknown Object (File)
Fri, Jan 24, 3:59 AM
Unknown Object (File)
Fri, Jan 24, 3:59 AM
Unknown Object (File)
Fri, Jan 24, 3:59 AM
Unknown Object (File)
Sun, Jan 19, 11:28 PM
Unknown Object (File)
Sun, Jan 19, 11:27 PM
Unknown Object (File)
Sun, Jan 19, 10:36 PM
Subscribers

Details

Summary

Ref T7674. This linter doesn't make sense without commit hooks.

Test Plan

N/A

Diff Detail

Repository
rARC Arcanist
Branch
master
Lint
Lint Passed
Unit
Test Failures
Build Status
Buildable 5734
Build 5753: [Placeholder Plan] Wait for 30 Seconds

Unit TestsFailed

TimeTest
1,818 msArcanistPuppetLintLinterTestCase::testLinter
1,538 msArcanistXMLLinterTestCase::testLinter
1,247 msArcanistCSSLintLinterTestCase::testLinter
154 msArcanistCSSLintLinterTestCase::testVersion
183 msArcanistChmodLinterTestCase::testLinter
View Full Test Results (2 Failed · 48 Passed · 5 Skipped)

Event Timeline

joshuaspence retitled this revision from to Remove commit linter.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.

This is still sort of useful, in that you can write something like this, right?

// @nocommit: Just for testing, revert before sending for review!!
// $value = real_value();
$value = 42;

I think it's still fine to get rid of since this is super marginal and you can write a similar rule using script+regex or something once it modernizes.

This revision is now accepted and ready to land.May 4 2015, 2:57 PM

You could do that, but it doesn't prevent the code from actually being pushed. This makes it significantly less valuable.

This revision was automatically updated to reflect the committed changes.