Page MenuHomePhabricator

Add a `puppet-lint` linter.
ClosedPublic

Authored by joshuaspence on May 6 2014, 3:26 AM.
Tags
None
Referenced Files
F19528747: D8990.diff
Mon, Jan 19, 11:21 AM
F18919910: D8990.diff
Nov 9 2025, 12:24 PM
F18817772: D8990.id.diff
Oct 21 2025, 6:17 PM
F18806232: D8990.id21347.diff
Oct 18 2025, 6:32 PM
F18756801: D8990.id.diff
Oct 5 2025, 1:36 PM
F18734803: D8990.id.diff
Sep 30 2025, 11:03 PM
F18730797: D8990.diff
Sep 30 2025, 1:35 PM
F18726181: D8990.id21350.diff
Sep 30 2025, 6:18 AM
Subscribers

Details

Summary

This linter is a wrapper around puppet-lint.

Test Plan

Wrote an executed unit tests.

Diff Detail

Repository
rARC Arcanist
Branch
puppet-lint
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 263
Build 263: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

joshuaspence retitled this revision from to Add a `puppet-lint` linter..
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.

Minor technical nits, but the sprintf() seems like a leftover?

src/lint/linter/ArcanistPuppetLintLinter.php
45

sprintf('%s', ...) has no effect?

58

Maybe explode('|', $line, 5) to handle the case where %{message} contains | for some reason?

This revision now requires changes to proceed.May 6 2014, 3:30 AM
src/lint/linter/ArcanistPuppetLintLinter.php
45

Yep, let me do this a better way.

58

Good catch.

epriestley edited edge metadata.
This revision is now accepted and ready to land.May 6 2014, 3:42 AM
epriestley updated this revision to Diff 21351.

Closed by commit rARC8523b98f396d (authored by @joshuaspence, committed by @epriestley).