Closed
Bug 1342764
Opened 8 years ago
Closed 8 years ago
Add a pre-commit hook to prevent new versioned scripts from sneaking in
Categories
(Developer Services :: Mercurial: hg.mozilla.org, defect)
Developer Services
Mercurial: hg.mozilla.org
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: emk, Unassigned)
References
Details
We should ban "/javascript;version=" from new commits once bug 1342144 has been fixed.
Reporter | ||
Comment 1•8 years ago
|
||
Some new versioned scripts are seaking in, as expected.
Reporter | ||
Updated•8 years ago
|
Reporter | ||
Updated•8 years ago
|
Comment 2•8 years ago
|
||
This should be a lint check in CI, not a VCS hook.
Probably the easiest way to add this check is to teach `mach lint` to do the check then add a TaskCluster task in https://hg.mozilla.org/mozilla-central/file/tip/taskcluster/ci/source-test/mozlint.yml. See also other .yml files in that directory for similar lint-like CI tasks.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Reporter | ||
Comment 3•8 years ago
|
||
OK, filed bug 1349901.
You need to log in
before you can comment on or make changes to this bug.
Description
•