Bug 14105 - [master bug] Implement a spell linting library for use in a git postcommit hook
: [master bug] Implement a spell linting library for use in a git postcommit hook
Status: NEW
Product: Codex
Classification: Unclassified
Component: Unknown
: stable grimoire
: Other other
: P2 normal
Assigned To: Grimoire Bug List
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-11-14 07:07 UTC by Jaka Kranjc
Modified: 2009-01-17 12:45 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaka Kranjc 2007-11-14 07:07:13 UTC
We need to implement a spell linting library for use in a git post-commit (and/
or update) hook, quill and perhaps elsewhere. It would improve our QA and 
possibly security.

I know Seth has some HISTORY format-nazy script, plus Andrew and I think 
cauldron have something too. All such stuff should be compiled together into a 
library and put into a central git repo.

Some ideas on what to check for:
http://wiki.sourcemage.org/Things_Spells_Should_Not_Do
http://lists.ibiblio.org/pipermail/sm-discuss/2005-May/010846.html
bug 9163
bug 14100
http://wiki.sourcemage.org/Common_mistakes
unquoted WEBSITE with funky chars like &
subdepends without depends
invalid DEPENDS flags (with spaces or colons)
invalid list_find use (spaces in search tokens)

Please add anything you can think of to this (growing) list. And any links or 
info on the exsisting linters.

I purposefully omitted running prometheus on updated spells, as I think that 
would create too much trouble.
Comment 1 Ladislav Hagara (lace) 2007-12-16 18:18:10 UTC
We should never remove SECURITY_PATCH, so some check would be fine.
Comment 2 Arwed v. Merkatz 2008-06-16 12:28:32 UTC
Changing version to test grimoire.
Comment 3 Arwed v. Merkatz 2009-01-17 12:45:33 UTC
Now in stable-0.29.