microsoft / microsoft/OSSGadget

oss-metadata for golang (native) errors out

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

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
371
Forks
58
PR merge metrics
No merged PRs in 30d

Description

Deps.dev and Libraries.io both work, but native does not.

Example:

# oss-metadata -s native pkg:golang/sigs.k8s.io/yaml

   ____   _____ _____    _____           _            _
  / __ \ / ____/ ____|  / ____|         | |          | |
 | |  | | (___| (___   | |  __  __ _  __| | __ _  ___| |_
 | |  | |\___ \\___ \  | | |_ |/ _` |/ _` |/ _` |/ _ \ __|
 | |__| |____) |___) | | |__| | (_| | (_| | (_| |  __/ |_
  \____/|_____/_____/   \_____|\__,_|\__,_|\__, |\___|\__|
                                            __/ |
                                           |___/
OSS Gadget - oss-metadata 0.1.357+c946c93324 - github.com/Microsoft/OSSGadget
INFO  - Collecting metadata for pkg:golang/sigs.k8s.io/yaml
WARN  - Error parsing metadata: 'm' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
{
  "content": "module sigs.k8s.io/yaml\n"
}

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

Reproduce the failure with oss-metadata -s native pkg:golang/sigs.k8s.io/yaml and compare it with the working Deps.dev and Libraries.io sources. Trace the native metadata path that handles the returned module sigs.k8s.io/yaml content; done means the command parses this package without the JSON error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, go
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.