Select the types of activity you want to include in your feed.
csv: rename from csvt
Drops the redundant "t" suffix. Library name, opam package, module (Csvt -> Csv), and directory all rename in lockstep. Every downstream reference in interop tests, libraries, and docs updated.
···2525 dirs
26262727let pp ppf { dir } =
2828- Fmt.pf ppf "Interop test %s/test.ml hand-rolls CSV parsing instead of csvt"
2929- dir
2828+ Fmt.pf ppf "Interop test %s/test.ml hand-rolls CSV parsing instead of csv" dir
30293130let rule =
3231 Rule.v ~code:"E820" ~title:"Hand-rolled CSV parsing" ~category:Interop_testing
3332 ~hint:
3434- "Use csvt (Csvt.decode_file with a Csvt.Row codec) for CSV trace \
3535- parsing. Never hand-roll CSV readers with \
3636- open_in/input_line/split_on_char."
3333+ "Use csv (Csv.decode_file with a Csv.Row codec) for CSV trace parsing. \
3434+ Never hand-roll CSV readers with open_in/input_line/split_on_char."
3735 ~examples:[] ~pp (Project check)
+7-7
lib/rules/e825.ml
···11-(** E825: Interop test uses CSV traces but dune lacks csvt dependency *)
11+(** E825: Interop test uses CSV traces but dune lacks csv dependency *)
2233type payload = { dir : string }
44···1616 in
1717 if has_csv then
1818 let dune = Interop.dune_content d.path in
1919- if not (Astring.String.is_infix ~affix:"csvt" dune) then
1919+ if not (Astring.String.is_infix ~affix:"csv" dune) then
2020 Some (Issue.v { dir = d.path })
2121 else None
2222 else None
···2424 dirs
25252626let pp ppf { dir } =
2727- Fmt.pf ppf "Interop test %s has CSV traces but dune lacks csvt dependency" dir
2727+ Fmt.pf ppf "Interop test %s has CSV traces but dune lacks csv dependency" dir
28282929let rule =
3030- Rule.v ~code:"E825" ~title:"Missing csvt dependency" ~category:Interop_testing
3030+ Rule.v ~code:"E825" ~title:"Missing csv dependency" ~category:Interop_testing
3131 ~hint:
3232- "Interop tests with CSV traces should use csvt for parsing. Add csvt to \
3333- the (libraries ...) in the dune file and use Csvt.decode_file with a \
3434- Row codec."
3232+ "Interop tests with CSV traces should use csv for parsing. Add csv to \
3333+ the (libraries ...) in the dune file and use Csv.decode_file with a Row \
3434+ codec."
3535 ~examples:[] ~pp (Project check)