Nimblesite / Nimblesite/SharpLsp

NuGet: packages-root prefix strip lacks a separator boundary; parse.rs scrapes MSBuild XML line-wise

Open
#170 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug cluster:nuget-pipeline
Dominant language
TypeScript
Stars
132
Forks
5
Avg merge
6h 24m
Merged PRs (30d)
27

Description

From the multi-agent audit, two related NuGet hygiene defects:

  1. src/nuget/unused.rs ~74: the packages-root prefix strip does not require a path-separator boundary, so a sibling directory like packages-cache/ mis-attributes package ids.

  2. src/nuget/parse.rs ~62: MSBuild project XML is read via line-oriented string scanning — misses wrapped attributes and nested <Version> elements, and violates the repo's structured-file rule (CLAUDE.md: never hand-parse XML; use a real document model — the C# sidecar's ProjectRootElement path already exists for edits and could serve reads too).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/nuget/unused.rs around line 74 and src/nuget/parse.rs around line 62, then read CLAUDE.md. Compare the parser's read path with the C# sidecar's existing ProjectRootElement path. Done means the prefix strip respects a path-separator boundary and project XML handling supports wrapped attributes and nested Version elements without line-wise scanning.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, rust
Domain
build-system, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.