EricZimmerman / EricZimmerman/SQLECmd

ID to Link SQLECmd Map and KAPE Target File

Open
#61 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
61
Forks
23
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
Currently, we have to rely on comments to link a SQLECmd map file to a KAPE target file. We do this because we dynamically generate our own language-specific targets from the target files and want to associate the query defined within the SQL map file to the target.

**Describe the solution you'd like**
It would be great to either share the map/target file's ID in each's definition, or generate a common ID to use for linking the two files.

**Describe alternatives you've considered**
Keying off of comments. However, this is a bit of a hack, and does not always work as expected.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names SQLECmd map files and KAPE target files but no repository files, tests, or entry points. Start by locating the definitions and the code that dynamically generates language-specific targets; done means the two file types share or expose a reliable ID without relying on comments.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.