Skip to content

pycocci: few updates and add to install target

Luis R. Rodriguez backports cocci 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 4 repliesIn review
  2. v24 patches 9 repliesSuperseded
  3. v12 patches 0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5pycocci: add requirements classtools/pycocci+203 -10 replies
2/5pycocci: add git classtools/pycocci+80 -00 replies
3/5pycocci: figure out if to enable --jobs, --use-gitgrep or --use-glimpsetools/pycocci+85 -120 replies
4/5pycocci: add Coccinelle SmPL patch proof supporttools/pycocci+94 -00 replies
5/5pycocci: add man page and promote pycocci to install targetMakefile docs/pycocci.1 tools/pycocci+225 -62 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/5] pycocci: few updates and add to install target

From: "Luis R. Rodriguez" <[email protected]>

This v3 addresses the changes noted by Julia. Since this is extending features to help with SmPL patch development, in particular --show-proof, and since we're using quite a bit of heuristics useful to users of Coccinelle depending on their version installed document all this on a proper man page for pycocci and also add pycocci into the install target.

In the future we should probably just let pycocci read ini type of file on say your ~/.pycocci which will let you specify and customize further defaults we'd inherit depending on your target. Then you can further customize your options per project. Each upstream project can then also have their own .pycocci perhaps which promotes a set of options to use. For instance right now Linux scripts/coccinelle/ lets scripts gather options to use per SmPL patch. We shoul standardize on a format format for that and to enable project specific tuned variables.

If there are no issues with this v3 I'll merge soon.

Luis R. Rodriguez (5):
pycocci: add requirements class
pycocci: add git class
pycocci: figure out if to enable --jobs, --use-gitgrep or
--use-glimpse
pycocci: add Coccinelle SmPL patch proof support
pycocci: add man page and promote pycocci to install target

 Makefile       |   3 +
 docs/pycocci.1 | 217 ++++++++++++++++++++++++++
 tools/pycocci  | 486 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 3 files changed, 687 insertions(+), 19 deletions(-)
 create mode 100644 docs/pycocci.1
Signature · 1 line
2.3.2.209.gd67f9d5.dirty