Skip to content

Add handler for packages.lock.json in nuget#3825

Merged
AyanSinhaMahapatra merged 12 commits intodevelopfrom
add_nuget_lockfile_handler
Jun 26, 2024
Merged

Add handler for packages.lock.json in nuget#3825
AyanSinhaMahapatra merged 12 commits intodevelopfrom
add_nuget_lockfile_handler

Conversation

@TG1999
Copy link
Contributor

@TG1999 TG1999 commented Jun 24, 2024

Reference: aboutcode-org/scancode.io#1263

Tasks

  • Reviewed contribution guidelines
  • PR is descriptively titled 📑 and links the original issue above 🔗
  • Tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR
    Run tests locally to check for errors.
  • Commits are in uniquely-named feature branch and has no merge conflicts 📁
  • Updated documentation pages (if applicable)
  • Updated CHANGELOG.rst (if applicable)

TG1999 added 7 commits June 24, 2024 19:57
Signed-off-by: Tushar Goel <[email protected]>
Signed-off-by: Tushar Goel <[email protected]>
Signed-off-by: Tushar Goel <[email protected]>
Copy link
Member

@AyanSinhaMahapatra AyanSinhaMahapatra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks++ @TG1999

See comments for a few questions and changes.

Also, typically we have lockfiles beside another package manifest right?
I was looking for examples of this and is this .csproj files for nuget? Are there other manifests which would be nice to parse and store?
Here is an example of a .csproj file and packages.lock.json together: https://github.com/ncblakely/GiantsTools/tree/main/Giants.Services to add as tests.
Should we not also do some lightweight package assembly here?

TG1999 added 3 commits June 25, 2024 22:37
Signed-off-by: Tushar Goel <[email protected]>
Signed-off-by: Tushar Goel <[email protected]>
Signed-off-by: Tushar Goel <[email protected]>
@TG1999
Copy link
Contributor Author

TG1999 commented Jun 25, 2024

Adressed all review comments, feel free to merge.

TG1999 and others added 2 commits June 26, 2024 13:34
Signed-off-by: Tushar Goel <[email protected]>
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
Copy link
Member

@AyanSinhaMahapatra AyanSinhaMahapatra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
Thanks++ @TG1999 merging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants