Delphi-RAG-Lint

drag-lint help

Import Build Log

Since: 0.8.0-alpha

Parses an external dcc or msbuild build log and folds its errors and warnings into drag-lint's stored findings.

Read this when a build ran outside drag-lint, for example on a CI server, and you want its dcc or msbuild errors and warnings to show up as findings in your index. Run drag-lint import-log with the log file and the project index, or use Import Build Log in the About window.

How to run it

Full flag list: import-log in the CLI reference.

Flags

FlagArgumentMeaningDefault
--db<file.sqlite>

Where to click

  • drag-lint About window, button Import Build Log...
    1. Open the About and Status window (drag-lint > About)
    2. Click Import Build Log...
    3. Pick the dcc or msbuild log; its errors and warnings become stored findings

Needs: index

Details

Parses an external dcc or msbuild build log and folds its errors and warnings into drag-lint's stored findings. Reach for it to bring diagnostics from a build that ran outside drag-lint (for example a CI build) into the index.

Running it from the CLI

drag-lint import-log <logfile> --db <file.sqlite>

<logfile> is the dcc/msbuild log to parse; --db is the index database to write the findings into.

What it needs

An index IS required. The project's DB lives at <project folder>\_D-RAG\<project file>.sqlite; run drag-lint resolve-dbs --project <X.dproj> if unsure.

Example

Illustrative only:

drag-lint import-log C:\Projects\MyApp\build.log --db C:\Projects\MyApp\_D-RAG\MyApp.sqlite

This would parse build.log and add its errors and warnings to MyApp.sqlite's stored findings.


All features | CLI reference | IDE menus