Page MenuHomePhabricator

Remove commit linter
ClosedPublic

Authored by joshuaspence on May 4 2015, 2:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 4, 1:54 AM
Unknown Object (File)
Feb 3 2024, 3:39 AM
Unknown Object (File)
Jan 18 2024, 12:54 PM
Unknown Object (File)
Jan 17 2024, 7:07 PM
Unknown Object (File)
Jan 9 2024, 11:23 AM
Unknown Object (File)
Dec 24 2023, 8:48 AM
Unknown Object (File)
Dec 22 2023, 12:50 PM
Unknown Object (File)
Dec 18 2023, 8:47 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.