File: codemods.rst

package info (click to toggle)
silver-platter 0.7.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,564 kB
  • sloc: python: 348; makefile: 33; sh: 1
file content (19 lines) | stat: -rw-r--r-- 580 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Codemod Protocol
================

The codemod protocol documentation has been moved to the main documentation.

Please see: `../codemod-protocol.md <../codemod-protocol.md>`_

That document contains the authoritative specification for writing codemods
that work with Silver-Platter, including:

* Command execution model
* Environment variables
* Exit codes and error handling  
* Result JSON format
* Debian-specific features
* Complete examples

For implementation details specific to Silver-Platter's internals, see
the codemod module in the source code at ``src/codemod.rs``.