Nimblesite / Nimblesite/SharpLsp
NuGet: packages-root prefix strip lacks a separator boundary; parse.rs scrapes MSBuild XML line-wise
Nobody has claimed this yet.
- 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:
-
src/nuget/unused.rs~74: the packages-root prefix strip does not require a path-separator boundary, so a sibling directory likepackages-cache/mis-attributes package ids. -
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'sProjectRootElementpath already exists for edits and could serve reads too).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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